You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by lu...@apache.org on 2004/09/03 16:32:39 UTC
cvs commit: jakarta-slide/testsuite/testsuite/junit Tprocessor.dtd
luetzkendorf 2004/09/03 07:32:39
Modified: testsuite/testsuite/junit Tprocessor.dtd
Log:
support for conditional execution of test cases or steps added
Revision Changes Path
1.7 +8 -5 jakarta-slide/testsuite/testsuite/junit/Tprocessor.dtd
Index: Tprocessor.dtd
===================================================================
RCS file: /home/cvs/jakarta-slide/testsuite/testsuite/junit/Tprocessor.dtd,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Tprocessor.dtd 6 Aug 2003 11:00:30 -0000 1.6
+++ Tprocessor.dtd 3 Sep 2004 14:32:39 -0000 1.7
@@ -1,7 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- edited with XMLSPY v5 rel. 3 U (http://www.xmlspy.com) by XMLSPY 5 Enterprise Ed., Installed Multi + SMP for 50 users (Software AG) -->
-<!-- edited with XML Spy v4.1 U (http://www.xmlspy.com) by Juergen Pill (Software AG) -->
-<!--Generated by XML Authority-->
+
<!ELEMENT test (specification?, (step | wait | repeater | thread)+, cleanup?)>
<!ELEMENT cleanup (step | wait | repeater)+>
<!ELEMENT thread (step | wait | repeater)+>
@@ -25,13 +23,13 @@
varDefinition CDATA #IMPLIED
varUsage CDATA #IMPLIED
>
-<!ELEMENT step (assign*, user?, password?, maxDuration?, request, response)>
+<!ELEMENT step (condition*, assign*, user?, password?, maxDuration?, request, response)>
<!ATTLIST step
executeIn CDATA #IMPLIED
>
<!ELEMENT request (command, header*, body?)>
<!ELEMENT response (command, header*, body?)>
-<!ELEMENT specification (abstract+, creation?, pre-Requisite?, description+, expectedResult+, exception?)>
+<!ELEMENT specification (abstract+, creation?, pre-Requisite?, description+, expectedResult+, exception?, condition*)>
<!ELEMENT creation (createdBy, createdAt)>
<!ELEMENT createdBy (#PCDATA)>
<!ELEMENT createdAt (#PCDATA)>
@@ -68,4 +66,9 @@
<!ATTLIST password
varDefinition CDATA #IMPLIED
varUsage CDATA #IMPLIED
+>
+
+<!ELEMENT condition (#PCDATA)>
+<!ATTLIST condition
+ name CDATA #REQUIRED
>
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org