[cfe-commits] r164961 - in /cfe/trunk/test/Index: Inputs/CommentXML/valid-availability-attr-01.xml comment-xml-schema.c

Fariborz Jahanian fjahanian at apple.com
Mon Oct 1 12:10:40 PDT 2012


Author: fjahanian
Date: Mon Oct  1 14:10:40 2012
New Revision: 164961

URL: http://llvm.org/viewvc/llvm-project?rev=164961&view=rev
Log:
Add xml test for availability to comment-xml-schema.c


Modified:
    cfe/trunk/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml
    cfe/trunk/test/Index/comment-xml-schema.c

Modified: cfe/trunk/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml?rev=164961&r1=164960&r2=164961&view=diff
==============================================================================
--- cfe/trunk/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml (original)
+++ cfe/trunk/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml Mon Oct  1 14:10:40 2012
@@ -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>

Modified: cfe/trunk/test/Index/comment-xml-schema.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/comment-xml-schema.c?rev=164961&r1=164960&r2=164961&view=diff
==============================================================================
--- cfe/trunk/test/Index/comment-xml-schema.c (original)
+++ cfe/trunk/test/Index/comment-xml-schema.c Mon Oct  1 14:10:40 2012
@@ -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





More information about the cfe-commits mailing list