timlinux
a5b947f1c2
Fixed bug in unit test that prevented some files being cleaned up
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7224 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-27 19:37:25 +00:00
timlinux
a2319f4669
Tidy up to qgis unit tests:
...
- install then in same dir as qgis
- prefix installed tests with qgis_
Added test to make sure theme exists
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-21 19:02:56 +00:00
timlinux
afec9cace0
For all platforms install tests when tests are enabled
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-21 04:32:37 +00:00
timlinux
3a72951d5d
Deleted stubbed in tests in favour of adding actual tests in one by one
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7209 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-20 00:11:00 +00:00
timlinux
cacdefc26c
Added line and polygon tests for filewriter and projected writing test. Fixed cmake so tests run properly on mac - still need ot test on other osses.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7207 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-17 12:54:41 +00:00
gsherman
35f21c988c
Updated/added copyright statements as part of provenance review for OSGeo incubation. No code changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7206 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-16 20:50:28 +00:00
gsherman
307a2d41cc
Updated/added copyright statements as part of provenance review for OSGeo incubation. No code changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7205 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-16 20:34:54 +00:00
timlinux
3d72f7eaa1
Removed some autogenerated files
...
Added some extra tests for db existance in srs class
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7194 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-13 03:40:36 +00:00
timlinux
c926fbf7c6
Added some more helpful stdout stuff
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7193 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 06:05:32 +00:00
timlinux
94722543b0
Fixed resource path error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7192 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 05:43:29 +00:00
timlinux
8bdca7e177
Use relative path to find resources
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 05:07:33 +00:00
timlinux
e71ec26207
Added unit test for qgsvectorfilewriter
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7190 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 04:37:14 +00:00
timlinux
f96840d873
Removed test stubs - will add them back as we have real tests in place
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7189 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-09-12 01:26:44 +00:00
timlinux
42944e662d
Added dllexports for win compilation support
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7154 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-08-27 22:14:45 +00:00
timlinux
6abfe38bb7
Removed all qmake build stuff from SVN - CMAKE will be the official build system from now on
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-25 20:58:28 +00:00
timlinux
533fcb5cc0
Removal of automake infrastructure - CMAKE will be the official build system from here forward
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7086 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-07-25 20:00:26 +00:00
timlinux
f8759964da
Neater implemtation for test builder ready for cloning...
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-23 04:05:15 +00:00
timlinux
a1b7d7f246
Simple test case working built by cmake
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-21 20:42:37 +00:00
timlinux
9e7c8c2ae7
Use QT4_GENERATE_MOC to build moc
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6950 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-21 18:38:43 +00:00
timlinux
50f8995546
Initial commits to build qtests from cmake / ctest. Non functional yet
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6949 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-05-21 17:28:53 +00:00
wonder
bbd36b107f
Merged refactoring branch back to trunk.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00
timlinux
e4ee9eda09
Make editing icons more consistent with other icons.
...
Disable tests in mac build script.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-06-15 23:26:50 +00:00
timlinux
f7ba8f76b5
Run tests after they are built
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5379 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-26 00:18:26 +00:00
mhugent
38ee81deac
added dynamic changing of icon size to the legend for displaying large point symbols
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5295 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-17 05:28:58 +00:00
timlinux
27f9ebd605
Use noinst instead of nodist to fix install issues
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5293 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-17 00:07:31 +00:00
timlinux
3d46b9fbf6
Add missing nodistdir directive
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5287 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-16 01:54:24 +00:00
timlinux
919773ebf9
Dont install testqgs* test units into <prefix>/bin - end users dont need these.
...
If you have built from svn prior to this commit and since unit test framework was introduced I suggest you do a
rm <prefix>/bin/testgqs*
Where <prefix> is the installation prefix where qgis lives.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-16 01:47:14 +00:00
mhugent
d43e582299
added libqgis_legend.la where it was needed for compilation
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-14 09:02:39 +00:00
timlinux
03f41c5dfd
Free dummy test data that I digitised in qgis for use in data driven unit tests.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-13 23:29:18 +00:00
timlinux
ba9bc92464
Put a red or green blobby thing next to each unit depending if it passed or failed
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5265 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 22:24:55 +00:00
timlinux
539c9abc13
More formatting improvements for test report
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5264 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 15:55:35 +00:00
timlinux
151baa5a59
Better formatting for unit test outputs
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 14:06:55 +00:00
timlinux
24942046ea
Tidy ups to unit test reporting, first pass at making html report (still under construction)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 11:50:20 +00:00
wonder
5fec38ae5b
Improved script a bit, now it works for me.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5260 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 10:54:43 +00:00
timlinux
6b5c60f874
Add raster to make file
...
Make dir detection more wonder_sk friendly
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5259 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 10:12:42 +00:00
timlinux
6cfa65a68a
Test stubs for raster layer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5255 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 09:31:32 +00:00
timlinux
50455f48c9
Initial framwork for raster tests
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5254 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 09:10:35 +00:00
timlinux
e7fc6025a0
Added a runtests bash shell script in src that will iteratively run tests in all dirs below this point. Sample output:
...
-------------------------------
MODULE : core
-------------------------------
MODULE TESTS : 33
MODULE TEST CASES PASSED : 293
MODULE TEST CASES FAILED : 0
MODULE TEST CASES SKIPPED : 0
-------------------------------
MODULE : gui
-------------------------------
MODULE TESTS : 70
MODULE TEST CASES PASSED : 924
MODULE TEST CASES FAILED : 0
MODULE TEST CASES SKIPPED : 0
-------------------------------
TOTALS :
-------------------------------
TOTAL TESTS : 103
TOTAL TEST CASES PASSED : 1217
TOTAL TEST CASES FAILED : 0
TOTAL TEST CASES SKIPPED : 0
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5253 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 08:41:42 +00:00
timlinux
22548129c1
Comment oout references to disabled targets
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5252 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 08:18:28 +00:00
timlinux
9fe4b8deb8
Remove trailing slash from commented out line
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5251 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 08:11:14 +00:00
timlinux
927f5d5c90
Added stubbed tests for all classes in gui lib. Made some improvemtns to runtests script so that it now produces a grand summary for the module that lookes like:
...
-------------------------------
TOTAL TESTS : 33
-------------------------------
TOTAL TEST CASES PASSED : 293
TOTAL TEST CASES FAILED : 0
TOTAL TEST CASES SKIPPED : 0
-------------------------------
Note that there are only test stubs - the actual test bodies still need to be implemented.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5248 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-11 00:57:48 +00:00
timlinux
dc29cd3f07
Added directory and beginnings of test framework for gui lib
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5247 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 22:43:36 +00:00
timlinux
58a71bbb41
Added stubs for all classes in core
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5246 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-10 22:09:55 +00:00
timlinux
51eed09c0b
A script to build a test suite for a director of qgs source files
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5242 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 13:48:59 +00:00
timlinux
7f32d1787c
Improvements to unit builder script - you can pass it the class nema to build the test for from the cli and it will not prompts you and just create everything - to be used in source dir parsing script that Ill add soon...
...
dded new test unit for qgsgeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5241 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 13:33:37 +00:00
timlinux
052cc9a653
Remove backticks when running test
...
Grep results to show only test totals
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5240 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 11:43:29 +00:00
timlinux
c4bfab0db3
A bash scrip to run all tests in the dir
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5239 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 11:38:25 +00:00
timlinux
2df3139a1e
Added unit test for testqgsfeature.cpp (stubs only thus far)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 01:13:15 +00:00
timlinux
5412764447
Eliminate duplicate test cases when overloaded methods are encountered
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5236 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 01:09:05 +00:00
timlinux
cafc235355
Clean up stub listing shown to user before unit test is generated
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5235 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 00:27:35 +00:00