summaryrefslogtreecommitdiffstats
path: root/tdeunittest/example
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-09-03 20:03:01 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-09-03 21:02:21 +0200
commit5cc26ceed345bb95cb1defab204b631cb79319de (patch)
tree9c80b1750fe99cb93f51a1724a6f32daa53f30fe /tdeunittest/example
parent412ffbefddef8bfe1c454bd9c275e13fd8319ca1 (diff)
downloadtdesdk-5cc26ceed345bb95cb1defab204b631cb79319de.tar.gz
tdesdk-5cc26ceed345bb95cb1defab204b631cb79319de.zip
Additional k => tde renaming and fixes
Diffstat (limited to 'tdeunittest/example')
-rw-r--r--tdeunittest/example/module/samplemodule.cpp8
-rw-r--r--tdeunittest/example/module/samplemodule2.cpp6
-rw-r--r--tdeunittest/example/simple/Makefile.am4
-rw-r--r--tdeunittest/example/simple/sampletest.cpp6
4 files changed, 12 insertions, 12 deletions
diff --git a/tdeunittest/example/module/samplemodule.cpp b/tdeunittest/example/module/samplemodule.cpp
index 4ffadb6c..b100df08 100644
--- a/tdeunittest/example/module/samplemodule.cpp
+++ b/tdeunittest/example/module/samplemodule.cpp
@@ -31,7 +31,7 @@
using namespace KUnitTest;
-KUNITTEST_MODULE( tdeunittest_samplemodule, "Suite1" )
-KUNITTEST_MODULE_REGISTER_TESTER( SlotSampleTester )
-KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
-KUNITTEST_MODULE_REGISTER_TESTER( SomeExtraTester )
+TDEUNITTEST_MODULE( tdeunittest_samplemodule, "Suite1" )
+TDEUNITTEST_MODULE_REGISTER_TESTER( SlotSampleTester )
+TDEUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
+TDEUNITTEST_MODULE_REGISTER_TESTER( SomeExtraTester )
diff --git a/tdeunittest/example/module/samplemodule2.cpp b/tdeunittest/example/module/samplemodule2.cpp
index 1e08f102..fcb00fc6 100644
--- a/tdeunittest/example/module/samplemodule2.cpp
+++ b/tdeunittest/example/module/samplemodule2.cpp
@@ -33,9 +33,9 @@
using namespace KUnitTest;
-KUNITTEST_MODULE( tdeunittest_samplemodule2, "Suite2::Sub" )
-KUNITTEST_MODULE_REGISTER_TESTER( SimpleSampleTester )
-KUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
+TDEUNITTEST_MODULE( tdeunittest_samplemodule2, "Suite2::Sub" )
+TDEUNITTEST_MODULE_REGISTER_TESTER( SimpleSampleTester )
+TDEUNITTEST_MODULE_REGISTER_TESTER( SomeSampleTester )
void SimpleSampleTester::allTests()
{
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()
{