Commit Graph

34 Commits

Author SHA1 Message Date
Kevin Ottens
4843ce4633 Set the threshold of copyPerformance to 200ms...
Note that this test is kind of odd, clearly YMMV but if you run this
test under load it will randomly fail. Kind of flacky for an automated
test.
2013-01-03 17:51:19 +01:00
David Faure
9d7aedfcd4 Fix test for the case where the plasma src dir contains a symlink 2012-12-23 21:23:44 +01:00
David Faure
643df96f63 Port away from qtest_kde.h (and from ~/.kde-unit-test)
Fix missing mkpath before creating sqlite db.
2012-12-18 12:18:08 +01:00
Aaron Seigo
de086065a1 add a test for multiple files with the same key 2012-11-08 11:21:07 +01:00
Aaron Seigo
9d61df3894 default config was completely unused
this was probably not helped by lack of documentation, but it is most
likely because we never found a real world use case for it. all use
cases we can currently imagine are able to be handled using other methods
2012-10-05 18:08:33 +02:00
David Faure
72c4428b03 Fix compilation after kservice framework extraction 2012-09-18 18:23:40 +02:00
David Faure
9d6bf88aba My computer isn't that fast apparently... 2012-07-06 09:08:17 +02:00
Stephen Kelly
8d37df4b8f Remove moc includes that can be omitted.
Mostly these are "<name>.moc" style includes which are incorrect
compared to qmake and cmake automoc behaviour.
2012-01-31 22:44:36 +01:00
Aaron Seigo
c0a60951a5 add a test for copy-n-fetch performance; make list based checks list order independant 2011-07-22 17:24:10 +02:00
Aaron Seigo
9701a7a2ad build 2011-07-21 14:48:12 +02:00
Aaron Seigo
d89eebe1be fixes for tests.. not quite 100% yet, but getting there. 2011-07-19 21:37:08 +02:00
Aaron Seigo
cebb2ea6d6 port the tests 2011-07-15 12:58:56 +02:00
Aaron Seigo
ad58b7e23e fix tests 2011-05-06 12:26:39 +02:00
Aaron Seigo
520b45630d cleanup .. er .. cleanup 2011-05-05 14:51:58 +02:00
Aaron J. Seigo
03a4645d5a add a test for "contentsPrefixPaths() == QStringList() is ultimately the same as contentsPrefixPaths() == QStringList() << QString()"; proved that this worked as expected (which i knew) but exposed a bug in PackageStructure. huzzah for unit tests.
svn path=/trunk/KDE/kdelibs/; revision=1206643
2010-12-15 07:14:43 +00:00
Aaron J. Seigo
a7701c9612 pass
svn path=/trunk/KDE/kdelibs/; revision=1185868
2010-10-14 12:37:53 +00:00
Aaron J. Seigo
f23c57a178 +1 tests pass
svn path=/trunk/KDE/kdelibs/; revision=1185538
2010-10-13 17:15:09 +00:00
Aaron J. Seigo
5f3b18fbc5 fix one test; 2 more to go
svn path=/trunk/KDE/kdelibs/; revision=1185528
2010-10-13 16:02:19 +00:00
Anne-Marie Mahfouf
7c2f7968d0 fixe the test to reflect the addition of a "data" directory in Revision 1097196
svn path=/trunk/KDE/kdelibs/; revision=1097492
2010-03-01 13:55:11 +00:00
David Faure
c533ee9e32 Another unit test breakage
CCMAIL: r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdelibs/; revision=1023883
2009-09-15 13:08:07 +00:00
David Faure
c06a55821e Fix unit test - "defaultconfig" was added in r1018655 by scheepmaker.
CCMAIL: r.scheepmaker@student.utwente.nl

svn path=/trunk/KDE/kdelibs/; revision=1023105
2009-09-13 22:25:03 +00:00
Aaron J. Seigo
054364a6e0 fix test
svn path=/trunk/KDE/kdelibs/; revision=969456
2009-05-18 12:16:39 +00:00
David Faure
93bb8616b7 r950409 broke the unit tests. Fixed.
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdelibs/; revision=951802
2009-04-10 09:39:24 +00:00
David Faure
2592544047 Aaron, you're not using -DKDE4_BUILD_TESTS=TRUE? Bad boy!
CCMAIL: aseigo@kde.org

svn path=/trunk/KDE/kdelibs/; revision=879886
2008-11-04 09:36:00 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Aaron J. Seigo
dc8e58fe1b SVN_SILENT: while looking at the test, just rm'd some ws
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879363
2008-11-03 04:45:16 +00:00
André Wöbbeking
78e744ca5d it's mainconfigui not mainconfiggui
I don't know, why mainconfiggui is right in read()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=867723
2008-10-04 11:00:13 +00:00
Aaron J. Seigo
67a38e23e8 not much point in having tests if they aren't build
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=821607
2008-06-17 23:21:39 +00:00
Joseph Burns
ff02a321c1 Get read() and write() tests to pass by adding a KConfig::SimpleConfig
flag to the KConfig ctor.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=813459
2008-05-27 19:36:25 +00:00
Aaron J. Seigo
aad4f7e305 build and pass
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=779707
2008-02-26 20:48:02 +00:00
Paolo Capriotti
49f0a32580 Add PackageStructure::read, write and related tests.
CCMAIL:panel-devel@kde.org

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=743970
2007-12-02 13:16:39 +00:00
Aaron J. Seigo
09f337b3fa fix the test
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=741740
2007-11-26 09:28:48 +00:00
Aaron J. Seigo
b1104ebe9d unit test for PackageStructure (and, as a side effect, much of the Plasmoid package definition as well)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=727890
2007-10-22 01:30:29 +00:00