885 Commits

Author SHA1 Message Date
Martin Dobias
da1ebc2693 Comments and API improvements of simplification (no functional changes)
- moved QgsVectorLayer::SimplifyHint enum to QgsVectorSimplifyMethod
- use QFlags instead of int for hints
- added few notes about simplification being added in 2.2
2014-02-21 12:08:50 +07:00
Larry Shaffer
10f2ac92ac Fix partial labels unit tests and generate new control images 2014-02-20 21:22:56 -07:00
Larry Shaffer
1d91641769 Add deleting server cache function to local test server 2014-02-20 21:22:56 -07:00
Larry Shaffer
7afede9bc9 Add timeout to GetMap for local test server 2014-02-20 21:22:55 -07:00
Martin Dobias
55cb04c52c Added unit test to check correct outcome of axisInverted() 2014-02-20 20:24:02 +07:00
Larry Shaffer
7d263be7aa Add missing .qml to local server test 2014-02-19 18:29:02 -07:00
Juergen E. Fischer
46abadef5a indentation update 2014-02-20 02:06:45 +01:00
Larry Shaffer
eac28773c8 Clean up local test server module and add more usage info 2014-02-19 17:59:06 -07:00
Larry Shaffer
916706f63e Update tests to work with new test font functions in QgsFontUtils
- Cleanup code style
2014-02-19 13:48:41 -07:00
Larry Shaffer
2d4ecbac00 Move loading of test fonts to QgsFontUtils
- Always add testdata.qrc to desktop and server, but only auto-load Roman and Bold if built in debug mode
- Test fonts can now be loaded directly, after startup
- Add sip binding and unit tests
2014-02-19 13:27:59 -07:00
Larry Shaffer
be83e7c8e3 Add test-labeling master project and italic, bold-italic test fonts 2014-02-19 13:27:59 -07:00
Larry Shaffer
34be93b849 Update test font to Vera San and start workaround for Mac 10.9 font-loading bugs
- Test font loading should be moved to QgsFontUtils
2014-02-19 13:27:59 -07:00
Larry Shaffer
570e24b07a Update existing tests to work with new test server 2014-02-19 13:27:58 -07:00
Larry Shaffer
bf5f60817a Add getLocalServer and unit test for refactored local test server class 2014-02-19 13:27:58 -07:00
Larry Shaffer
2f1a5c92e0 Convert local test server over to controller of web and fcgi servers
- Initially using lighttpd/spawn-fcgi
2014-02-19 13:27:58 -07:00
Radim Blazek
1c294a9cb1 fixed composerrotationtest 2014-02-19 17:35:17 +01:00
Radim Blazek
a72cada6c2 fixed blendmodes test and added to report 2014-02-19 16:21:17 +01:00
Radim Blazek
2b3e19d134 disabled composermaptest grid anotations 2014-02-19 16:09:32 +01:00
Radim Blazek
9aeb4ba863 updated single symbol rendererstest 2014-02-19 15:47:23 +01:00
Radim Blazek
56ff646e8e wcs test made to pass 2014-02-18 21:34:48 +01:00
Nyall Dawson
f9f5c6d2a9 Fix failing atlas test 2014-02-14 20:28:06 +11:00
Juergen E. Fischer
f3b2649493 expressions: only quote when necessary (fixes tests; followup 915f5c1a) 2014-02-09 11:19:37 +01:00
vmora
eb769f7ff3 demonstrate bug in qgsexpression 2014-02-08 21:10:50 +01:00
Martin Dobias
10c15089d1 Fix #8584 (WFS requests with FILTER fails against Geoserver) 2014-02-08 01:09:31 +07:00
Martin Dobias
caf33b657f Fix #8174 (overlaps when using 'avoid intersections' functionality) + test
I am not entirely confident if it will work perfectly with older versions of GEOS (< 3.3)
because of the lack of unary union (that is emulated by series of unions of two geometries)
2014-02-07 12:03:18 +07:00
Nyall Dawson
ffcbdabe4e [composer] Refresh control images following frame join stle change 2014-02-06 22:46:43 +11:00
Juergen E. Fischer
70c594984f fix QgsGeometry::moveVertex on polygon (fixes #9442) 2014-01-30 19:17:38 +01:00
Nyall Dawson
415b467dd6 Fix failing PyQgsBlendModes test 2014-01-30 22:24:19 +11:00
Nyall Dawson
058cba2037 [composer] Add some anomoly images for scale bar tests 2014-01-30 22:24:19 +11:00
Juergen E. Fischer
bc757ffe50 * fix QgsGeometry::moveVertex for multipolygons()
* add test for QgsGeometry::addPart()
* remove expectedFailure decoration from PyQgsGeometry.testSimplifyIssue4189
* modify move and translate tests by 1,1 to 1,2
2014-01-29 21:36:50 +01:00
Juergen E. Fischer
105ecfa83d make sure the symbology-ng db can be copied in qgis_stylev2test 2014-01-25 23:32:41 +01:00
Juergen E. Fischer
781e34a5bc fix QgsGeometry::asMultiPoint() (followup 6bbd17c2; fixes #9423) 2014-01-25 10:28:17 +01:00
Juergen E. Fischer
6f15e59ff9 fix deleteVertex for POLYGON and MULTILINESTRING 2014-01-24 09:53:18 +01:00
Juergen E. Fischer
6bbd17c217 QgsGeometry refactoring:
* rework wkb parsing using Qgs(Const)WkbPtr
 * replaces pointer dereferencing with memcpy
 * should work on platform that don't allow unaligned accesses
* "fix" adjacentVertices() for invalid inputs
* improved support for MULTIPOINT
* fixes insertion of first vertex into linestrings
* fixes inserting into multipolygons
2014-01-23 21:48:36 +01:00
Juergen E. Fischer
cb5c4e9982 add QgsDistanceArea tests and enhance QgsGeometry tests a bit
(in preparation for a QgsGeometry wkb update)
2014-01-23 21:37:03 +01:00
Alvaro Huarte
1e781ff838 #8725-R: fix old API in other test cpp files 2014-01-15 11:00:01 +01:00
Alvaro Huarte
062c1e411a #8725-R: fix old API in testqgsblendmodes.cpp 2014-01-15 11:00:01 +01:00
Nyall Dawson
6bb9dfec00 [FEATURE][composer] Allow for more than one atlas controlled map in compositions (or none), by moving some atlas properties to map items (fix #9248) (fix #6484) 2014-01-14 22:52:01 +11:00
Nyall Dawson
860e23afc7 [FEATURE][composer] Add styling support for composer shapes 2013-01-12 16:21:00 +11:00
Matthias Kuhn
b9c087ef41 Fix vectorlayercache test 2014-01-10 18:14:40 +01:00
Stéphane Brunner
a0911d6b55 [diagram] Add expression for diagram attributes and size 2014-01-10 16:43:23 +01:00
Juergen E. Fischer
ccde424dc1 reduce debugging noise in attribute table (fixes #9315) 2014-01-10 00:51:02 +01:00
Juergen E. Fischer
129bd987d5 indentation update 2014-01-09 13:40:12 +01:00
Nyall Dawson
22514b6dc1 [composer] Tweak interface for atlas previews, fix occasional wrong extent in atlas previews. 2014-01-07 21:24:15 +11:00
Nyall Dawson
31e37af4f3 [tests] Add test for composer paper styles 2014-01-04 20:52:43 +11:00
Nyall Dawson
aae492fa43 [tests] Update composition based tests now that 1px bad row bug is fixed 2014-01-04 15:13:06 +11:00
Nyall Dawson
84c33919b4 [FEATURE] Add atlas preview toggle. Allows for navigating through atlas features and previewing the composition for each feature. Atlas maps can have their extent temporarily tweaked for each atlas feature. 2014-01-01 13:31:01 +11:00
Nyall Dawson
a596b2243a [tests] Update all expected images based on composer tests. Prior to c3ec3b2d75 composer exports had a 1 pixel slightly-gray row at the bottom of images. After c3ec3b2d75 this bottom row is now a slightly transparent white row. The underlying issue causing this row still needs to be fixed, but in the meantime this gets composer tests passing again. 2014-01-01 09:26:27 +11:00
Tim Sutton
a152312769 Code foramtting cleanups only 2013-12-30 15:42:40 +02:00
nyalldawson
f1aead4ca9 [composer] Fix failing rotation tests 2013-12-30 20:00:56 +11:00