diff options
Diffstat (limited to 'org.eclipse.ua.tests/cheatsheets/tests/parser/ConditionalSubItem_ExtraElement.xml')
-rw-r--r-- | org.eclipse.ua.tests/cheatsheets/tests/parser/ConditionalSubItem_ExtraElement.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/org.eclipse.ua.tests/cheatsheets/tests/parser/ConditionalSubItem_ExtraElement.xml b/org.eclipse.ua.tests/cheatsheets/tests/parser/ConditionalSubItem_ExtraElement.xml new file mode 100644 index 000000000..b80e45b30 --- /dev/null +++ b/org.eclipse.ua.tests/cheatsheets/tests/parser/ConditionalSubItem_ExtraElement.xml @@ -0,0 +1,47 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<cheatsheet title="Test cheatsheet without cheatsheet element"> + + <intro> + <description> +Simple test + </description> +</intro> + + <item + title="Just a simple test"> + <description> +Did it work? Of course not, it is suppose to cause a parsing error. + </description> + <conditional-subitem condition="${pattern}"> + <extra>testing</extra> + <subitem + when="Factory" + label="Customize the Factory Pattern" + skip="true"> + <action + confirm="true" + pluginId="org.eclipse.ui.tests.cheatsheets" + class="org.eclipse.ui.examples.cheatsheets.pattern.actions.FactoryCustomizeAction"/> + </subitem> + <subitem + when="Singleton" + label="Customize the Singleton Pattern" + skip="false"> + <action + confirm="true" + pluginId="org.eclipse.ui.tests.cheatsheets" + class="org.eclipse.ui.examples.cheatsheets.pattern.actions.SingletonCustomizeAction"/> + </subitem> + <subitem + when="Visitor" + label="Customize the Visitor Pattern" + skip="true"> + <action + confirm="false" + pluginId="org.eclipse.ui.tests.cheatsheets" + class="org.eclipse.ui.examples.cheatsheets.pattern.actions.VisitorCustomizeAction"/> + </subitem> + </conditional-subitem> +</item> + +</cheatsheet>
\ No newline at end of file |