summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/text/utf8/utf8_test.cpp
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2016-11-02 23:26:40 +0100
committerArnstein Ressem <aressem@gmail.com>2016-11-02 23:26:40 +0100
commit99480b4d72abf3688060d7643816680a30963f74 (patch)
tree966d8494bca9292e6be2877d91ed838953856f0f /vespalib/src/tests/text/utf8/utf8_test.cpp
parent3d18773cf5357250cb2d35d6e8c13477db6e20a3 (diff)
Removed TestApp::GetSourceDirectory
Diffstat (limited to 'vespalib/src/tests/text/utf8/utf8_test.cpp')
-rw-r--r--vespalib/src/tests/text/utf8/utf8_test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/vespalib/src/tests/text/utf8/utf8_test.cpp b/vespalib/src/tests/text/utf8/utf8_test.cpp
index e88fe756e40..fd58dbfa044 100644
--- a/vespalib/src/tests/text/utf8/utf8_test.cpp
+++ b/vespalib/src/tests/text/utf8/utf8_test.cpp
@@ -2,8 +2,10 @@
#include <vespa/fastos/fastos.h>
#include <vespa/log/log.h>
LOG_SETUP("utf8_test");
+#include <vespa/vespalib/testkit/test_kit.h>
#include <vespa/vespalib/testkit/testapp.h>
#include <vespa/vespalib/text/utf8.h>
+
#if 0
#include <vespa/fastlib/text/unicodeutil.h>
#endif
@@ -54,7 +56,7 @@ Test::Main()
{
// read data produced from Java program
- int fd = ::open((vespalib::TestApp::GetSourceDirectory() + "regular-utf8.dat").c_str(), O_RDONLY);
+ int fd = ::open(TEST_PATH("regular-utf8.dat").c_str(), O_RDONLY);
ASSERT_TRUE(fd > 0);
vespalib::string data;
data.clear();