diff options
author | Michka Popoff <michkapopoff@gmail.com> | 2016-11-22 21:00:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-12-09 16:38:05 (GMT) |
commit | 40b05b2e4d7a1b08a619e47d6eab6f3bad83471f (patch) | |
tree | a276ec0ca0e7b592333ded1580726232086be8d9 /test/expect/castxml1.any.FundamentalType.xml.txt | |
parent | 5e13767fcccee40991f7a31af71a877cc5163957 (diff) | |
download | CastXML-40b05b2e4d7a1b08a619e47d6eab6f3bad83471f.zip CastXML-40b05b2e4d7a1b08a619e47d6eab6f3bad83471f.tar.gz CastXML-40b05b2e4d7a1b08a619e47d6eab6f3bad83471f.tar.bz2 |
test: Run all gccxml-format test cases as castxml-format cases too
Run all `gccxml.*` test cases as `castxml1.*` test cases covering output
format with `--castxml-output=1`. Produce the expected test output
files as follows:
(cd test/expect && rename 's/^gccxml/castxml1/' gccxml.*) &&
git checkout test/expect &&
sed -i 's/GCC_XML/CastXML/' test/expect/castxml1.*
This covers the current behavior of having both formats identical except
for the root element. Later the new format outputs can be adapted as
the format is changed.
Diffstat (limited to 'test/expect/castxml1.any.FundamentalType.xml.txt')
-rw-r--r-- | test/expect/castxml1.any.FundamentalType.xml.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/expect/castxml1.any.FundamentalType.xml.txt b/test/expect/castxml1.any.FundamentalType.xml.txt new file mode 100644 index 0000000..2b13ffc --- /dev/null +++ b/test/expect/castxml1.any.FundamentalType.xml.txt @@ -0,0 +1,7 @@ +^<\?xml version="1.0"\?> +<CastXML[^>]*> + <Typedef id="_1" name="start" type="_2" context="_3" location="f1:1" file="f1" line="1"/> + <FundamentalType id="_2" name="int" size="[0-9]+" align="[0-9]+"/> + <Namespace id="_3" name="::"/> + <File id="f1" name=".*/test/input/FundamentalType.cxx"/> +</CastXML>$ |