aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_factory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_factory.cpp')
-rw-r--r--test/unit/test_factory.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index c67f1490..2bc43b2d 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -4244,4 +4244,16 @@ TEST(factory, objectInsertion) {
}
}
+// ---------------------------------------------------------------------------
+
+TEST(factory, ogc_timecrs) {
+ auto ctxt = DatabaseContext::create();
+ auto factory = AuthorityFactory::create(ctxt, Identifier::OGC);
+ factory->createCoordinateReferenceSystem("AnsiDate");
+ factory->createCoordinateReferenceSystem("JulianDate");
+ factory->createCoordinateReferenceSystem("UnixTime");
+}
+
+// ---------------------------------------------------------------------------
+
} // namespace