fixed path of test text file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2311 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -222,7 +222,7 @@ TranslationUtilsTest::GetPutStyledTextTest()
|
|||||||
CPPUNIT_ASSERT(ptextview);
|
CPPUNIT_ASSERT(ptextview);
|
||||||
ptextview->SetStylable(false);
|
ptextview->SetStylable(false);
|
||||||
BFile stylfile(
|
BFile stylfile(
|
||||||
"../src/tests/kits/translation/data/styled_text.stxt",
|
"../src/tests/kits/translation/data/text/sentence.stxt",
|
||||||
B_READ_ONLY);
|
B_READ_ONLY);
|
||||||
CPPUNIT_ASSERT(stylfile.InitCheck() == B_OK);
|
CPPUNIT_ASSERT(stylfile.InitCheck() == B_OK);
|
||||||
CPPUNIT_ASSERT(BTranslationUtils::GetStyledText(&stylfile, ptextview) == B_OK);
|
CPPUNIT_ASSERT(BTranslationUtils::GetStyledText(&stylfile, ptextview) == B_OK);
|
||||||
|
|||||||
Reference in New Issue
Block a user