Alessandro Pasotti
a4187a7a6e
Tests for case sensistive pg schema
2019-05-22 18:16:43 +02:00
Alessandro Pasotti
da49f79045
Suggestions from JEF
2019-04-26 12:32:42 +02:00
Alessandro Pasotti
a3368d416c
Layout and SQL
2019-04-26 10:26:04 +02:00
Alessandro Pasotti
163082a061
More tests for checkPrimaryKeyUnicity
2019-04-26 09:19:51 +02:00
Alessandro Pasotti
38c91e4e97
[postgres] Fix checkPrimaryKeyUnicity option
...
This provider option was linked to the project level option
"Trust layer metadata..." which was implemented
to speed up loading of large dataset by trusting extent
read from metadata to avoid costly operations to determine
the layer extent.
Check PK unicity on the other hand has only effect on views
and query layers and it is useful as an independent
option to prevent loading of layers that have no PK (or the
wrong one).
But the operation of determine unicity of a values in a column
can also be costly, so better to get control back to the user.
Legacy default is preserved (the project-level "Trust..." option).
Fixes #21839
Funded by RAAB.nl
2019-04-24 17:14:42 +02:00
Juergen E. Fischer
f8e32f7b9e
unit test for 2826ba34f
2019-04-07 15:35:43 +02:00
Alessandro Pasotti
61d361d674
GPKG: Rename styles when layers are renamed
...
Partially fixes #21227
TODO:
- DB manager
- Other providers
2019-02-12 19:37:01 +01:00
signedav
6e91349baa
json gpkg tests
2019-01-08 11:50:35 +01:00
signedav
e9e7c397e9
add author and reader tables to test valuerelations with json
2019-01-07 11:39:48 +01:00
Matthias Kuhn
0c71e720a3
JSON Support for GeoPackage [FEATURE]
...
Merge pull request #8707 from signedav/json-for-gpkg
Integration of JSON type of GeoPackage
2019-01-07 10:35:30 +01:00
Alessandro Pasotti
07d9d1dbb8
Fix views query tables in spatialite
...
There is still an old issue: views are only available
through DB manager.
Fixes #20674 - again
- Life is really simple, but we insist on making it complicated.
Confucius
2018-12-18 18:32:14 +01:00
Alessandro Pasotti
e83e794016
spatialite: Add more test cases for table names with spaces
2018-12-15 11:08:05 +01:00
signedav
607dffd1aa
basic tests for json type in gpkg
2018-12-11 13:12:35 +01:00
Nyall Dawson
06520be7b0
Spelling
2018-10-08 19:16:29 +10:00
Nyall Dawson
745495fe73
[mssql] Prevent overwriting existing tables via drag and drop in browser
...
Fixes #16805
2018-10-08 19:16:29 +10:00
Nyall Dawson
da21193894
[mssql] Fix handling of geometry column when multiple geometry/geography
...
columns are present
Fixes #13932
2018-10-08 17:01:03 +10:00
Nyall Dawson
71c5051356
[mssql] Fix incorrect precision detection for double/float fields
...
Fixes #15124
2018-10-08 17:01:03 +10:00
Nyall Dawson
794583e62e
[mssql] Test data load script
2018-10-08 16:15:31 +10:00
Nyall Dawson
eb439d34ba
[mssql] Update test for skipping invalid geometry handling
2018-10-08 16:15:31 +10:00
Nyall Dawson
eb40d911df
Add test for MSSQL behavior with invalid polygon geometries
...
Forward port of 039866d, because I am an idiot and forgot
2018-10-08 16:15:31 +10:00
Blottiere Paul
80e19b6328
Add core unit test
2018-10-08 05:03:49 +10:00
Nyall Dawson
72432246a1
[mssql] Fix test data creation script
2018-10-03 04:50:05 +10:00
signedav
04d770d613
removed unused docs
...
and unused db entry
2018-09-14 15:33:57 +10:00
signedav
e972e21a09
test db stuff json
2018-09-14 15:33:57 +10:00
Nyall Dawson
26174ea9ad
Copy cached min/max value to provider test suite
2018-05-15 09:23:48 +10:00
Alessandro Pasotti
f2304c1b15
Merge pull request #6764 from tudorbarascu/featureinfo_values
...
server tests for GetFeatureinfo different widget values
2018-05-08 15:24:40 +02:00
rldhont
280018dc5f
[Oracle][Tests] Enhance Geometry creation SQL script
2018-05-05 12:24:16 +10:00
rldhont
a11db8bbe1
[Oracle][Tests] Enhance Point convertion test
...
Instead of using 'SDO_UTIL.FROM_WKTGEOMETRY' to generate `SDO_GEOMETRY` object
for Point, the `testdata` generate Point and MultiPoint with `SDO_POINT_TYPE`
or `SDO_ELEM_INFO_ARRAY` and `SDO_ORDINATE_ARRAY`.
With this way of creating Point and MultiPoint, we can test the way Point and
MultiPoint are converting to WKB.
2018-05-05 12:24:16 +10:00
Nyall Dawson
92a80894ac
[oracle] Add read-only support for curved geometry types
...
Previously these geometries were silently discarded
Fixes #12675 , #16809
Sponsored by Open Spatial (http://www.openspatial.com )
2018-04-24 09:10:39 +12:00
Tudor Bărăscu
27b417004b
Add GetFeature test with array layer
...
Also added the missing response xmls (forgot to add them
in previous commits)
2018-04-11 15:31:14 +03:00
Nyall Dawson
feb20a7a27
Add unit test for postgres layer metadata
2018-03-15 10:43:04 +11:00
Denis Rouzaud
bfe35c26ea
[postgres] use pg_type rather than information_schema.domain_constraints to retrieve domain
...
otherwise there is no warranty to retrieve the correct constraint as its name is not unique
2018-02-11 17:29:18 -04:00
Denis Rouzaud
781b587090
add test for postgres domains
2018-02-10 15:27:06 -04:00
Blottiere Paul
aed6608095
Add test
2018-01-29 07:17:33 +00:00
Alessandro Pasotti
698befa9dd
[gpkg] Add test for gpkg subsetstring don't unlock mutex twice
...
I wanted to add the test for gpkg subsetstring even if
it was not bugged, while testing that, I hit an assert
in Qt core that pointed me to double unlocked locks.
2018-01-25 15:16:53 +01:00
Martin Dobias
ccd98f5d6c
Added test
2018-01-17 15:38:27 +01:00
Nyall Dawson
741afdca55
Add provider suite test for thread safety of provider getFeatures()
...
Hammers providers by iterating through features from multiple threads
2018-01-16 13:57:14 +10:00
Alessandro Pasotti
9c8533455f
[bugfix][ogr] Tests for capabilities update on filter changes
...
Fixes #17795
2018-01-05 15:43:28 +01:00
Matthias Kuhn
83f9e81e95
[travis] Less noise for DB initialisation
2017-10-07 14:21:13 +02:00
Matthias Kuhn
ae9f263e96
Create test postgres database with UTF-8
2017-09-28 13:22:37 +02:00
Denis Rouzaud
4600ce5891
some fixes
2017-09-28 13:18:27 +02:00
Denis Rouzaud
531dadf682
fix psql
2017-09-28 13:18:26 +02:00
Blottiere Paul
4a084bf961
Add tests
2017-09-06 14:46:37 +01:00
Sandro Santilli
7af47c2afa
Add a raster table to the test postgis setup, use it from dbmanager test
2017-06-06 09:51:30 +02:00
Matthias Kuhn
e7e73bafcf
Add test for postgres boolean
2017-04-10 22:47:41 +02:00
Matthias Kuhn
56b4976225
Make test database setup more quiet
2017-03-04 16:02:57 +01:00
Matthias Kuhn
dbbf062e5d
Fix bindings and tests
2016-12-20 01:20:08 +01:00
Matthias Kuhn
930ce545a8
Fix failing tests
2016-12-20 01:20:08 +01:00
Nyall Dawson
d1fd588499
Add method to fetch constraints from a vector data provider
...
Implemented for unique and not null constraints for postgres
provider
2016-11-02 11:07:07 +10:00
Patrick Valsecchi
abc55f4c42
Add support for arrays in PostgresQL
...
Fix parsing of PostgresQL hstore. Had problems when the key or values were
containing comas.
2016-09-12 10:33:00 +02:00