Raul Ochoa
96fc32b24a
Concurrency test with assert.response
2016-09-26 18:10:09 +02:00
Raul Ochoa
abc2f130c9
Migrate to express 4.x series
...
- Remove express logger
- Error handler responds with application/[json|javascript]
- Fix all tests relying on res.headers
- assert.response based on request module
2016-09-26 18:09:27 +02:00
Raul Ochoa
90e4600a6c
Rename vars to avoid name clash
2016-09-26 14:42:50 +02:00
Raul Ochoa
c9846a2437
Change callback signature in assert.response
2016-09-26 14:37:40 +02:00
Raul Ochoa
0d54604428
Remove setMaxListeners from tests
2016-09-14 21:24:22 +02:00
Raul Ochoa
f92d50cccf
Rename from app to server
...
Removes app_root dependency in requires
2016-09-14 20:54:53 +02:00
Raul Ochoa
4e3238c2e8
Fix control flow when using OGR with _needSRS=true and empty queries
...
Continue on empty results as srid and geom type are not critical
when there are no results
Fixes #299
2016-05-12 17:21:07 +02:00
Juan Ignacio Sánchez Lara
e979b79f49
gpkg format #291
2016-05-10 18:42:23 +02:00
Juan Ignacio Sánchez Lara
7b9911416b
geopackage export test #291
2016-05-10 18:01:50 +02:00
Juan Ignacio Sánchez Lara
c82cafb1ed
Geopackage format support #291
2016-04-27 16:56:06 +02:00
Daniel García Aubert
c6bae6d951
app module moved to right place
2015-12-03 18:33:17 +01:00
Raul Ochoa
62e7e1634f
Use in memory sqlite databases for spatialite tests
2015-06-16 17:33:04 +02:00
Raul Ochoa
e9dda12ad3
Adds tests for big results in ogr formats
2015-06-16 15:54:13 +02:00
Francisco Dans
59d93aeb57
removes only from test call
2015-06-01 17:17:05 +02:00
Francisco Dans
fc30771879
adds couple more tests
2015-06-01 15:16:05 +02:00
Francisco Dans
2363b87b61
adds acc test for sqlite
2015-06-01 13:20:51 +02:00
Raul Ochoa
b29933f96e
Closes stream responses on error
...
fixes #219
2015-05-13 18:15:38 +02:00
Raul Ochoa
469bd0b696
use describe+it
2015-05-13 12:23:40 +02:00
Raul Ochoa
33731fc315
jshint fixes
2015-05-13 11:53:14 +02:00
Raul Ochoa
2b7bccd58b
More flexible assert for syntax error
2015-03-01 13:19:51 +01:00
Raul Ochoa
9ab49d4614
Fix test as now it's reporting the issue with the query syntax differently
2015-02-26 16:28:25 +01:00
Raul Ochoa
74429f82e1
Improve topojson output by streaming json
2014-11-12 11:36:59 +01:00
Raul Ochoa
40ff44e0fe
Merge branch 'master' into gdal-1.11
2014-09-22 15:08:13 +02:00
Raul Ochoa
d1a444a83c
Check style fixes
2014-09-22 15:05:38 +02:00
Raul Ochoa
2e3eeefd0f
Removes tables=fake wadus param in ogr2ogr command so it can go to
...
geometry_colums view to retrieve the column data type. This requires
to grant permissions on geometry_columns and geography_columns to the
public user.
2014-09-22 13:23:30 +02:00
Raul Ochoa
bbb82c2ceb
CDB-3780 Adds stream start in case there were no rows. Adds regression test.
2014-08-05 00:47:49 +02:00
Raul Ochoa
15a3f4cc88
CDB-3780 Handle error at query end. Adds regression test.
2014-08-05 00:47:14 +02:00
Raul Ochoa
572f8c59b7
Changes authentication to start using public user if it is defined in redis.
2014-07-04 16:47:59 +02:00
Sandro Santilli
4606a44917
Fix testsuite with GDAL-1.11dev installed (current master)
2014-04-02 17:17:59 +02:00
Sandro Santilli
7b0145dde6
Check body of concurrent kml responses
2014-03-17 14:42:00 +01:00
Sandro Santilli
6c47537f47
Honour the 'node_socket_timeout' configuration directive
...
Closes #128
Includes testcase, which required enhancing assert.response to
handle errors.
Changes app controller to a function that only reads configuration
when executed (rather than when only require'd).
2014-01-31 10:58:19 +01:00
Sandro Santilli
2abb136258
Set KML folder name to the requested filename.
...
Closes #115 . Includes testcase.
2013-11-05 17:29:02 +01:00
Sandro Santilli
3c03099e8d
Do not trust GDAL SRID detection for KML output.
...
Closes #116 . Includes testcase.
2013-11-05 16:57:23 +01:00
Sandro Santilli
e92530d6e5
Fix shapefile export for non-linestring results starting with NULL
...
Includes tests. Closes #111 .
2013-10-02 12:12:09 +02:00
Sandro Santilli
0d84a704df
Fix missing .prj file in shapefile format
...
Finds srid, when needed, with an additional query.
Closes #110 .
Includes testcases.
2013-10-02 11:44:06 +02:00
Sandro Santilli
531dd4b002
Tweak testcase to succeed with gdal-1.10
...
Absence of geometry column triggers a different behavior in 1.9 and 1.10
2013-09-23 13:24:00 +02:00
Sandro Santilli
7d5698b045
Accept an header-only CSV export for no-rows query
...
This makes the application compatible with both GDAL-0.9 and 0.10
See http://trac.osgeo.org/gdal/ticket/5234
2013-09-04 13:30:50 +02:00
Sandro Santilli
de1df14d91
Fix expected/obtained order in asserts
2013-09-04 13:18:10 +02:00
Sandro Santilli
7eedf89901
Also threat "description" as a special tag (in test)
2013-09-04 12:56:48 +02:00
Sandro Santilli
e4371f83bc
Look for attribute names in both SimpleData and Placemark
...
See http://trac.osgeo.org/gdal/ticket/5208
2013-09-04 12:39:49 +02:00
Sandro Santilli
80e4521bb5
Tolerate blankspace differences in KML output
...
Makes tests succeed with gdal-1.10.x
2013-08-20 18:07:34 +02:00
Sandro Santilli
cda62f3a0a
Check for field names in SimpleField rather than SimpleData
...
Doing so makes the test also succeed with gdal-1.10
See http://trac.osgeo.org/gdal/ticket/5208
2013-08-20 18:07:34 +02:00
javi
0be9e47930
Add arraybuffer format
2013-05-28 10:37:39 +02:00
Sandro Santilli
aff77399b1
Extract geojson test from main test
2013-05-27 17:34:05 +02:00
Sandro Santilli
86e0a45c64
Use a single server in the test for concurrent KML exports
...
A similar thing should be done for KML and Shapefile, but the focus
here is making jenkins happy for now
2013-04-11 16:21:09 +02:00
Sandro Santilli
0ec66c69a7
Allow sql queries to end with a semicolon. Closes #90
2013-04-10 17:21:42 +02:00
Sandro Santilli
8f60735b5e
Queue export requests for shapefile format. Closes #65
2013-03-27 16:43:12 +01:00
Sandro Santilli
49908e32c5
Add test for concurrently exporting to CSV
2013-03-27 16:09:31 +01:00
Sandro Santilli
6d6dd16446
Draft delegating CSV output to OGR
...
Adapt tests to new output
2013-03-27 15:41:24 +01:00
Sandro Santilli
58b079e212
Fix reace condition in new KML output, test KML export of empty table
2013-03-26 18:18:13 +01:00