lbartoletti
79fb064c99
resolve conflicts
2017-09-26 21:23:53 +02:00
lbartoletti
e57c3b3974
Merge branch 'master' into regularShape_gui
2017-09-06 21:55:33 +02:00
Blottiere Paul
3b839ceb43
Merge pull request #5084 from pblottiere/server_bugfix_ogc_mode
...
[server][bugfix] Fixes OGC test on getmap:each-format mode for 1bit/8bit/16bit
2017-09-06 08:14:34 +01:00
Blottiere Paul
eb9e2ace75
Add some tests
2017-09-06 07:28:39 +01:00
Nyall Dawson
f1313af914
Add some more unit tests
2017-09-06 11:25:17 +10:00
Nyall Dawson
1e1ed8a462
Add unit tests for referenced geometries
2017-09-06 11:25:16 +10:00
Alessandro Pasotti
5f5be25357
Merge pull request #5124 from boundlessgeo/providers_gui_config
...
Providers gui config
2017-09-05 19:27:47 +02:00
Alessandro Pasotti
08588a54da
Add tooltips and tests for the provider class
2017-09-05 17:03:20 +02:00
Matthias Kuhn
8efa9fa815
[FEATURE] Add "starts with" and "ends with" to multi attribute search
2017-09-05 14:15:38 +02:00
Sandro Mani
c43cd995a2
Merge pull request #5122 from manisandro/ogr_subset_fid
...
[OGR] Attempt to use actual ogr_fid also if subset string is set
2017-09-04 17:01:28 +02:00
Sandro Mani
217e70067f
[OGR] Attempt to use actual ogr_fid also if subset string is set
...
If a subset string is set on an OGR layer, the feature iterator returns features with ids taken from a sequence starting from 0, regardless of the original feature id.
This causes a mismatch in the data shown by the identify results table and the attribute widget.
2017-09-04 16:28:47 +02:00
Alessandro Pasotti
fd7bcb368d
Updates tests for source select registry
2017-09-04 15:16:20 +02:00
Nyall Dawson
b629fbca49
Skip another test which is fragile on Travis
2017-09-04 16:55:35 +10:00
Alessandro Pasotti
90f873086c
Attach QgsSourceSelectProviderRegistry to QgsGui
...
And make it a singleton
2017-09-04 08:00:14 +02:00
Nyall Dawson
700f9b2ef8
Condense qgstestutils.h and qgstest.h into a single file
2017-09-04 10:38:18 +10:00
Nyall Dawson
2286710606
Skip some task manager tests on Travis only
...
Instead of #ifdefing them out, only prevent them running
on Travis so that they still run locally.
Also skip another task manager test which randomly
fails only on Travis
2017-09-04 10:32:08 +10:00
lbartoletti
e30f7044c9
[FEATURE][Processing] Minimal enclosing circle
2017-09-03 07:37:53 +10:00
Alessandro Pasotti
4c46f64647
Add QgsSourceSelectProviderRegistry with tests
2017-09-01 17:47:55 +02:00
Alessandro Pasotti
cd1c9b1e28
Add class QgsSourceSelectProvider and tests
...
This is the first step for QEP 101
2017-09-01 14:30:34 +02:00
Nyall Dawson
e68835f12e
Fix some possible leaks in tests
2017-09-01 08:00:59 +10:00
Nyall Dawson
0a9e9944b4
[FEATURE] Expression function for hausdorff distance
...
Allows calculation of the Hausdorff distance between two
geometries
2017-08-31 08:02:44 +10:00
Nyall Dawson
d8607222e0
Expose GEOS Hausdorff distance calculations to QgsGeometry
2017-08-31 08:02:44 +10:00
Nyall Dawson
184899ec30
Port remaining plotly based algs to new API
2017-08-30 07:28:25 +10:00
Nyall Dawson
e4c1e1b905
Ignore Q_ENUM in doxygen test
2017-08-29 20:09:54 +10:00
Nyall Dawson
78b834c5b0
Fix missing Q_OBJECT macros
...
Thanks to Clazy
2017-08-29 18:03:41 +10:00
Nyall Dawson
1fddfcf622
Flip Q_ENUMS to Q_ENUM
...
See https://woboq.com/blog/q_enum.html for rationale
2017-08-29 18:03:41 +10:00
Nyall Dawson
9b2e60ee1b
Remove use of old CMP0005 CMake policy
...
Since it's deprecated on newer CMake versions
2017-08-29 13:37:06 +10:00
Nyall Dawson
21a3b8a4f3
Use QGSCOMPARENEAR instead of QVERIFY( qgsDoubleNear(... ) )
...
QGSCOMPARENEAR gives better debugging output when the
test fails
2017-08-29 12:39:59 +10:00
Nyall Dawson
2af10cb2ca
Fix C4566 warning on Windows build
2017-08-29 12:11:07 +10:00
Nyall Dawson
029f741cfa
Add qgsAsConst(...)
...
This is the equivalent of std::as_const (which requires c++17) or
qAsConst (which requires Qt 5.7), neither of which we have
as minimum dependancies.
By wrapping implicitly shared Qt containers in qgsAsConst we can
safely use c++ for ranged loops instead of Q_FOREACH. (Since
Q_FOREACH's future is shaky)
See https://www.kdab.com/goodbye-q_foreach/ for further details
on why for causes a detach for Qt containers and why Q_FOREACH
is being removed from Qt.
2017-08-29 03:18:37 +10:00
Blottiere Paul
64aa40510d
Update tests
2017-08-28 14:09:57 +01:00
Blottiere Paul
927dea3c18
Add tests
2017-08-28 14:09:57 +01:00
Blottiere Paul
d4789db19a
Fix tests
2017-08-28 14:09:56 +01:00
Blottiere Paul
4be1cc0067
Add tests for deleteCascade option
2017-08-28 14:09:56 +01:00
Blottiere Paul
cf5ab4b0f1
Add tests for upsertOnEdit option
2017-08-28 14:09:55 +01:00
Blottiere Paul
b8a90ca458
Add tests
2017-08-28 14:09:55 +01:00
Sandro Santilli
650cf6a3fd
Remove line segmentation test checking for control point containement
...
There are more tests in dedicated file (testqgscurve.cpp)
2017-08-25 23:06:52 +02:00
Sandro Santilli
5186c385c4
Expect centroid obtained by not forcing inclusion of control point
2017-08-25 23:06:52 +02:00
Sandro Santilli
c51db212ee
Do not expect forced control point in output
2017-08-25 23:06:52 +02:00
Sandro Santilli
8363d2f3d0
Update expected centroid, interpolated angle and located point for reference curves
...
These values change because they are computed on the *linearization*
of those curves, and refactoring linearization codes results in
slighly different values.
NOTE: adding or not adding the control point would also affect these
results
2017-08-25 23:06:52 +02:00
Sandro Santilli
cf5a439feb
Update expected results now that we're forcing control point in output
2017-08-25 23:06:52 +02:00
Sandro Santilli
320c305d92
Fix build and multi-arc duplicated points
2017-08-25 23:06:52 +02:00
Sandro Santilli
48c953991e
Refactor curveToLine to emit equidistant segments and fix some issues
...
Fixes #16717
Fixes #16722
Include tests
2017-08-25 23:06:52 +02:00
Nyall Dawson
07a570fd05
Merge pull request #5069 from nyalldawson/std
...
Swap use of some q* macros to std calls
2017-08-26 03:58:40 +10:00
Nyall Dawson
d3854e9e5a
Remove use of some other q* functions which are implemented in std
2017-08-25 03:33:50 +10:00
Nyall Dawson
b5ca4b4ea8
(q)sqrt -> std::sqrt
2017-08-25 03:22:15 +10:00
Nyall Dawson
fec03ca423
(q)sin -> std::sin
2017-08-25 03:18:05 +10:00
Nyall Dawson
2e5d1abbb1
(q)cos -> std::cos
2017-08-25 03:05:22 +10:00
Nyall Dawson
7c5aa050d1
(q)ceil -> std::ceil
2017-08-25 03:01:48 +10:00
Nyall Dawson
031bf41d1b
Swap q(pow) -> std::pow
2017-08-25 02:53:39 +10:00