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
timlinux
13b4586179
Add stubs for methods from class being tested automatically
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5234 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-09 00:24:40 +00:00
timlinux
461aa047d1
test builder now makes additions to makefile properly
...
Added testqgsfield which has no tests in it yet
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5222 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 01:30:31 +00:00
timlinux
6f089dc464
More clean ups to test builder - warnning it will damge the local makefile if used at teh moment.
...
Added a test class for qgssymbol - which fails when run
Add rules to makefile to build symbol test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5221 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 01:11:46 +00:00
timlinux
fc66e43430
First draft at a little perl script to generate a test class with method stubs automatically
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5220 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:56:03 +00:00
timlinux
28a34143ec
A template for creating new tests
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5219 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:27:53 +00:00
timlinux
556854f899
More simplicfications - implement test directly where it is declared
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5218 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:23:49 +00:00
timlinux
3b9540e11c
Consolidate test class into a single file to make writing tests easier and quicker
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5217 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:21:49 +00:00
timlinux
da39782e43
Dont bother with ctor and dtor in unit test to keep it simple
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:18:04 +00:00
timlinux
ed9f640463
Makefile cleanups in prepration for implementing more that one test unit
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-08 00:11:51 +00:00
gsherman
b11a4c3533
Removed -lQtTest from Makefile.am (configure adds it to QT_LDADD).
...
Changed include of QtTest in testqgsapplication.cpp to proper form.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5214 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 23:51:07 +00:00
timlinux
e99ae78395
Enable build of tests
...
If you have problems compiling touch all the files in core and try again
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5213 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-07 23:43:33 +00:00
gsherman
8bc2458501
Fixes to test harness application. Now compiles and runs but doesn't do anything useful yet.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5157 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-04 03:32:25 +00:00
timlinux
2e87442e27
Added missing makefile.am
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5143 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-03 16:10:44 +00:00
timlinux
766a446ae5
Remove this inadvertantly added file
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-03 14:17:57 +00:00
timlinux
36cddfdd4f
Further additions to unit test framework. Disabled in build system now pending resolution of compilation issues.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5141 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-04-03 13:31:35 +00:00
timlinux
8aa20316af
Move existing unit tests into algorithms directory
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5106 c8812cc2-4d05-0410-92ff-de0c093fc19c
2006-03-29 00:50:03 +00:00
mcoletti
ffb3bafc0e
- by golly, someone moved QgsScaleCalculator units to QGis
...
- using the various *config utils generates -I strings that apparently flummox
qmake; so now strip those out before appending the include strings generated
from config script invocations
The test suite now runs again successfully. Go me. Or something.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3959 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 02:24:56 +00:00
mcoletti
c188184b84
Synched with latest snapshot of dependent object files. Also now depend on
...
qgis library. Also use cppunit configure script for command line options.
Sadly, QgsProject seems to be broken, though that may have more to do with
local state of source than anything else.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3957 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-23 01:13:12 +00:00
mcoletti
bf23e14be9
- removed completed TODO items
...
- now catches expected exceptions for not finding map extents since there
aren't going to be any in the test simulation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3197 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-22 22:34:10 +00:00
mcoletti
daa40df02c
Compensated for new binaries to link against, including sqlite3
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-21 21:41:33 +00:00
gsherman
86c976272f
** Merged Projections_Branch into HEAD
...
Problems:
Polygon outlines are not drawn. This was checked twice and no cause
was found.
Projections do not work in all circumstances
Note that both the proj4 library and sqlite3 are now required. The
build system has not been modified to test for these yet.
Qt 3.3.x is required to build this source tree.
Make sure to increment the EXTRA_VERSION in configure.in when
committing changes.
Make sure to update the Changelog with each commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3112 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-10 07:04:07 +00:00
mcoletti
5ff0fb1b27
Added test for deep key name sequences.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2928 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-07 20:43:51 +00:00
mcoletti
cb1703a8c2
Synched with QgsProject changes.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2902 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-03-02 23:34:36 +00:00