summaryrefslogtreecommitdiffstats
path: root/tdeabc/tests/testdb.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-05-29 02:24:21 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-05-29 02:24:39 +0200
commit0e05fd42f27ce265719d6e805786ce618263a270 (patch)
tree0724277299670088075043531ee7cfd98c2e705a /tdeabc/tests/testdb.cpp
parentd94fb5dd63c384a7a2d74728db9fb118183c35e2 (diff)
downloadtdelibs-0e05fd42f27ce265719d6e805786ce618263a270.tar.gz
tdelibs-0e05fd42f27ce265719d6e805786ce618263a270.zip
cmake: Add tdeabc tests
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 51efac909d7b116c8b0ca58fcd4e74ff58f31091)
Diffstat (limited to 'tdeabc/tests/testdb.cpp')
-rw-r--r--tdeabc/tests/testdb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeabc/tests/testdb.cpp b/tdeabc/tests/testdb.cpp
index c6b02c14a..edc4570ac 100644
--- a/tdeabc/tests/testdb.cpp
+++ b/tdeabc/tests/testdb.cpp
@@ -20,12 +20,12 @@ int main(int argc,char **argv)
AddressBook ab;
- ResourceSql r( &ab, "root", "kde4ever", "localhost" );
+ ResourceSql r( &ab, "root", "kde4ever", "tdeabc", "localhost" );
if ( ! r.open() ) {
kdDebug() << "Failed to open resource." << endl;
}
- r.load( &ab );
+ r.load();
r.close();