From fea59adbbebaa49d1510c915ab9558d8de29ea88 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Thu, 17 May 2018 22:20:39 +0200 Subject: [PATCH] PropertyObject: Unit test for declarations. This shows a failure for the declaration of std::string type PropertyObjects. --- simgear/props/propertyObject_test.cxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/simgear/props/propertyObject_test.cxx b/simgear/props/propertyObject_test.cxx index d0d59472..5873976e 100644 --- a/simgear/props/propertyObject_test.cxx +++ b/simgear/props/propertyObject_test.cxx @@ -205,6 +205,14 @@ void testCreate() } +void testDeclare() +{ + PropertyObject a; + PropertyObject b; + PropertyObject c; + PropertyObject d; +} + int main(int argc, char* argv[]) { testRoot = new SGPropertyNode(); @@ -227,6 +235,7 @@ int main(int argc, char* argv[]) testAssignment(); testSTLContainer(); testCreate(); + testDeclare(); return EXIT_SUCCESS; }