diff options
Diffstat (limited to 'ktnef/tests')
-rw-r--r-- | ktnef/tests/Makefile.am | 2 | ||||
-rw-r--r-- | ktnef/tests/parsertest.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ktnef/tests/Makefile.am b/ktnef/tests/Makefile.am index 678497789..15ef50764 100644 --- a/ktnef/tests/Makefile.am +++ b/ktnef/tests/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = -I$(top_srcdir)/ktnef $(all_includes) -DKDESRCDIR=\"$(srcdir)\" +AM_CPPFLAGS = -I$(top_srcdir)/ktnef $(all_includes) -DTDESRCDIR=\"$(srcdir)\" LDADD = ../lib/libktnef.la $(LIB_TDECORE) check_PROGRAMS = parsertest diff --git a/ktnef/tests/parsertest.cpp b/ktnef/tests/parsertest.cpp index 9cbce6d52..6e3d3af3d 100644 --- a/ktnef/tests/parsertest.cpp +++ b/ktnef/tests/parsertest.cpp @@ -28,7 +28,7 @@ void ParserTest::testSingleAttachment() { KTNEFParser parser; - assert( parser.openFile( KDESRCDIR "/one-file.tnef" ) == true ); + assert( parser.openFile( TDESRCDIR "/one-file.tnef" ) == true ); KTNEFMessage *msg = parser.message(); assert( msg != 0 ); @@ -45,7 +45,7 @@ void ParserTest::testSingleAttachment() void ParserTest::testTwoAttachments() { KTNEFParser parser; - assert( parser.openFile( KDESRCDIR "/two-files.tnef" ) == true ); + assert( parser.openFile( TDESRCDIR "/two-files.tnef" ) == true ); KTNEFMessage *msg = parser.message(); assert( msg != 0 ); @@ -67,7 +67,7 @@ void ParserTest::testTwoAttachments() void ParserTest::testMAPIAttachments() { KTNEFParser parser; - assert( parser.openFile( KDESRCDIR "/mapi_attach_data_obj.tnef" ) == true ); + assert( parser.openFile( TDESRCDIR "/mapi_attach_data_obj.tnef" ) == true ); KTNEFMessage *msg = parser.message(); assert( msg != 0 ); |