Added the Search API Synonym module to deal specifically with licence and license...
[yaffs-website] / vendor / symfony / config / Tests / Definition / Dumper / XmlReferenceDumperTest.php
index 61f5d3c4c6c3334f7e057060b01f952823fbdefa..5bc961bab65cf046fdf702a132c2561603d022b7 100644 (file)
@@ -38,6 +38,8 @@ class XmlReferenceDumperTest extends TestCase
         return str_replace("\n", PHP_EOL, <<<'EOL'
 <!-- Namespace: http://example.org/schema/dic/acme_root -->
 <!-- scalar-required: Required -->
+<!-- scalar-deprecated: Deprecated (The child node "scalar_deprecated" at path "acme_root" is deprecated.) -->
+<!-- scalar-deprecated-with-message: Deprecated (Deprecation custom message for "scalar_deprecated_with_message" at "acme_root") -->
 <!-- enum-with-default: One of "this"; "that" -->
 <!-- enum: One of "this"; "that" -->
 <config
@@ -50,6 +52,8 @@ class XmlReferenceDumperTest extends TestCase
     scalar-array-empty=""
     scalar-array-defaults="elem1,elem2"
     scalar-required=""
+    scalar-deprecated=""
+    scalar-deprecated-with-message=""
     node-with-a-looong-name=""
     enum-with-default="this"
     enum=""
@@ -68,6 +72,9 @@ class XmlReferenceDumperTest extends TestCase
         child3=""
     />
 
+    <!-- prototype -->
+    <scalar-prototyped>scalar value</scalar-prototyped>
+
     <!-- prototype: Parameter name -->
     <parameter name="parameter name">scalar value</parameter>
 
@@ -77,6 +84,28 @@ class XmlReferenceDumperTest extends TestCase
         pass=""
     />
 
+    <!-- prototype -->
+    <cms-page page="cms page page">
+
+        <!-- prototype -->
+        <!-- title: Required -->
+        <!-- path: Required -->
+        <page
+            locale="page locale"
+            title=""
+            path=""
+        />
+
+    </cms-page>
+
+    <!-- prototype -->
+    <pipou name="pipou name">
+
+        <!-- prototype -->
+        <name didou="" />
+
+    </pipou>
+
 </config>
 
 EOL