diff options
author | Michka Popoff <michkapopoff@gmail.com> | 2015-05-25 08:55:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-08 17:00:28 (GMT) |
commit | 73b947ec075e536535e9cc5bec84d1bed4d43d5b (patch) | |
tree | a4ed0fa1ee5da56fda04f358d34b63c90fd9eb81 /test/CMakeLists.txt | |
parent | ad7f0dc7df8ed8ea32498a61d64dce0024478c00 (diff) | |
download | CastXML-73b947ec075e536535e9cc5bec84d1bed4d43d5b.zip CastXML-73b947ec075e536535e9cc5bec84d1bed4d43d5b.tar.gz CastXML-73b947ec075e536535e9cc5bec84d1bed4d43d5b.tar.bz2 |
castxml: Teach --castxml-start to support a comma-separated list
In gccxml one could input a comma-separated list for the starting
declarations to parse. Add support for this with tests for cases were a
comma-separated list is used, and for the case where --castxml-start is
used multiple times.
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index afbbbaf..ae61ace 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -240,6 +240,15 @@ castxml_test_gccxml(Variable) castxml_test_gccxml(Variable-in-Class) castxml_test_gccxml(Variable-init) +# Test multiple start declarations. +set(castxml_test_gccxml_custom_input Namespace-nested) +set(castxml_test_gccxml_custom_start --castxml-start start::ns1,start::ns3) +castxml_test_gccxml(Namespace-nested-1) +set(castxml_test_gccxml_custom_start --castxml-start start::ns1 --castxml-start start::ns3) +castxml_test_gccxml(Namespace-nested-2) +unset(castxml_test_gccxml_custom_start) +unset(castxml_test_gccxml_custom_input) + castxml_test_gccxml(qualified-type-name) castxml_test_gccxml(using-declaration-class) castxml_test_gccxml(using-declaration-ns) |