aboutsummaryrefslogtreecommitdiff
path: root/test/gie/4D-API_cs2cs-style.gie
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-04-02 13:30:33 +0200
committerKristian Evers <kristianevers@gmail.com>2019-04-02 20:58:35 +0200
commit20300c1fd5b35bf1d577a3726f02940d02c73f54 (patch)
tree0706b4f3102bf1ba1f459b50d0ea0ad875d84c24 /test/gie/4D-API_cs2cs-style.gie
parent2a0ad3d42c7342ee060791aba01f70f058238dce (diff)
downloadPROJ-20300c1fd5b35bf1d577a3726f02940d02c73f54.tar.gz
PROJ-20300c1fd5b35bf1d577a3726f02940d02c73f54.zip
Make sure that ISO19111 C++ code sets pj_errno on errors
Diffstat (limited to 'test/gie/4D-API_cs2cs-style.gie')
-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>