summaryrefslogtreecommitdiffstats
path: root/tdeunittest/example/simple
diff options
context:
space:
mode:
Diffstat (limited to 'tdeunittest/example/simple')
-rw-r--r--tdeunittest/example/simple/Makefile.am4
-rw-r--r--tdeunittest/example/simple/sampletest.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/tdeunittest/example/simple/Makefile.am b/tdeunittest/example/simple/Makefile.am
index 0ee63452..162741eb 100644
--- a/tdeunittest/example/simple/Makefile.am
+++ b/tdeunittest/example/simple/Makefile.am
@@ -4,11 +4,11 @@ METASOURCES = AUTO
check_PROGRAMS = sampletests sampletestsgui
sampletests_SOURCES = main.cpp sampletest.cpp
-sampletests_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+sampletests_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
sampletests_LDADD = -ltdeunittest
sampletestsgui_SOURCES = maingui.cpp sampletest.cpp
-sampletestsgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
+sampletestsgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
# Normally you would write -ltdeunittestgui here, but since the examples
# are bundled with the library source code itself we don't want to
# have you install the libraries before you can compile the examples.
diff --git a/tdeunittest/example/simple/sampletest.cpp b/tdeunittest/example/simple/sampletest.cpp
index 04be74de..30bdbfd9 100644
--- a/tdeunittest/example/simple/sampletest.cpp
+++ b/tdeunittest/example/simple/sampletest.cpp
@@ -32,9 +32,9 @@
using namespace KUnitTest;
-KUNITTEST_SUITE("SampleSuite");
-KUNITTEST_REGISTER_TESTER(SimpleSampleTester);
-KUNITTEST_REGISTER_TESTER(SomeSampleTester);
+TDEUNITTEST_SUITE("SampleSuite");
+TDEUNITTEST_REGISTER_TESTER(SimpleSampleTester);
+TDEUNITTEST_REGISTER_TESTER(SomeSampleTester);
void SimpleSampleTester::allTests()
{