13 Commits

Author SHA1 Message Date
David Williams
fdf21f7846 It seems that for the tests to build (at least on Windows) they need to link against QtCore as well as QtTests. 2010-08-21 09:43:42 +00:00
Matt Williams
dbce411553 Make the tests only link against QtTest (i.e. not QtGui) so that they can be run outside of X11. 2010-07-21 15:14:36 +00:00
Matt Williams
765739f450 Move the find_package(Qt4...) bit into the root CMakeLists.txt file since it is used by both the tests and library subdirectories. 2010-07-02 10:49:47 +00:00
Matt Williams
2da20ff2ef Add warning message if QtTest could not be found. 2010-07-01 12:58:19 +00:00
David Williams
5e687fbd58 Added unit test for Array class. 2010-03-28 00:11:41 +00:00
Matt Williams
6f70396c9a Cleaner way of requesting Qt modules 2010-03-05 15:15:42 +00:00
Matt Williams
9d03360436 Tell CTest the correct location of the test binaries on Windows. 2010-03-05 12:24:46 +00:00
Matt Williams
0db01213a7 Set Qt to be a required package 2010-03-02 16:08:33 +00:00
Matt Williams
e7522e23a8 Add some simple vector tests 2010-02-26 16:12:16 +00:00
Matt Williams
7597b56620 Improve test macro.
Add include guards to the test header.
2010-02-26 16:11:13 +00:00
Matt Williams
6a828ec244 Reorganise the test CMakeLists.txt file.
Add a CMake macro for easily adding new tests.
2010-02-26 15:13:10 +00:00
Matt Williams
fe3961c041 Use QTestLib to harness the tests. 2010-02-25 12:20:44 +00:00
Matt Williams
b3e6e54c1b Add an extremely simple test which checks the size of the volume doesn't
change. This will hopefully also be tracked by the dashboard.
2010-02-24 16:32:36 +00:00