aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-04-02 22:45:27 +0200
committerGitHub <noreply@github.com>2019-04-02 22:45:27 +0200
commitc0d91bd3c0870233e1d0a207cef4de8f65885f6d (patch)
treeb0ea23e51b883e99bf62c362c34a7bab8e5b48a7 /test
parent41fe4d06282f5a5374cd6d19382e0e37c2c277bc (diff)
parent20300c1fd5b35bf1d577a3726f02940d02c73f54 (diff)
downloadPROJ-c0d91bd3c0870233e1d0a207cef4de8f65885f6d.tar.gz
PROJ-c0d91bd3c0870233e1d0a207cef4de8f65885f6d.zip
Merge pull request #1405 from kbevers/return_errno_proj_create
Make sure that ISO19111 C++ code sets pj_errno on errors
Diffstat (limited to 'test')
-rw-r--r--test/gie/4D-API_cs2cs-style.gie7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/gie/4D-API_cs2cs-style.gie b/test/gie/4D-API_cs2cs-style.gie
index 424501cc..71e277dc 100644
--- a/test/gie/4D-API_cs2cs-style.gie
+++ b/test/gie/4D-API_cs2cs-style.gie
@@ -465,4 +465,11 @@ accept 0 0 1000
expect 0 0 1
roundtrip 1
+-------------------------------------------------------------------------------
+Check that proj_create() returns a generic error when an exception is caught
+in the creation of a PJ object.
+-------------------------------------------------------------------------------
+operation this is a bogus CRS meant to trigger a generic error in proj_create()
+expect failure errno generic error
+
</gie>