diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-01 19:10:40 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-01 19:10:40 +0000 |
commit | 0209abf8b413d9904fd869d5de437c9b2d563e48 (patch) | |
tree | ac3ae6ce8a71bb5ee9e40e5ddf7d8fbd8439bda0 | |
parent | e606e3d224d3fa8f6d4358ec66858d46754457a0 (diff) |
Add xml test for availability to comment-xml-schema.c
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164961 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Index/Inputs/CommentXML/valid-availability-attr-01.xml | 6 | ||||
-rw-r--r-- | test/Index/comment-xml-schema.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml b/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml index 94cbc9a00f..20ce01229e 100644 --- a/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml +++ b/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml @@ -1,7 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> +<Function> +<Name>aaa</Name> +<Abstract><Para>Aaa.</Para></Abstract> <Availability distribution="OS X"> <IntroducedInVersion>8.0</IntroducedInVersion> <DeprecatedInVersion>9.0</DeprecatedInVersion> - <RemovedAfterVersion>10.0</RemovedAfterVersion> + <RemovedAfterVersion>10.0</RemovedAfterVersion> <DeprecationSummary>use availability_test</DeprecationSummary> </Availability> +</Function> diff --git a/test/Index/comment-xml-schema.c b/test/Index/comment-xml-schema.c index 1166e78f57..dad6c8a694 100644 --- a/test/Index/comment-xml-schema.c +++ b/test/Index/comment-xml-schema.c @@ -12,6 +12,8 @@ // RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-function-08.xml // RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-function-09.xml // +// RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-availability-attr-01.xml +// // RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-class-01.xml // RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-class-02.xml // RUN: xmllint --noout --relaxng %S/../../bindings/xml/comment-xml-schema.rng %S/Inputs/CommentXML/valid-class-03.xml |