morgand     01/08/14 13:14:52

  Modified:    latka/conf suite.dtd
  Added:       latka/conf tests.ent
  Log:
  made it easier to validate custom tests
  
  Revision  Changes    Path
  1.3       +5 -3      jakarta-commons-sandbox/latka/conf/suite.dtd
  
  Index: suite.dtd
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/latka/conf/suite.dtd,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- suite.dtd 2001/08/13 20:23:31     1.2
  +++ suite.dtd 2001/08/14 20:14:51     1.3
  @@ -4,9 +4,11 @@
   <!ENTITY % standardValidations.ent SYSTEM "standardValidations.ent">
   %standardValidations.ent;
   
  -<!-- validations -->
  -<!ENTITY % tests "status_code | regexp | byte_length |
  -                  max_request_time|cookie">
  +<!-- validations and custom tests
  +     alter this file to add new custom tests -->
  +<!ENTITY % tests.ent SYSTEM "tests.ent">
  +%tests.ent;
  +
   <!ELEMENT suite ( (session | request)+ )>
   <!ATTLIST suite default_host CDATA #IMPLIED
                   default_port CDATA #IMPLIED
  
  
  
  1.1                  jakarta-commons-sandbox/latka/conf/tests.ent
  
  Index: tests.ent
  ===================================================================
  <!-- validations and custom tests
       alter this file to add new custom tests -->
  
  <!-- add new tests to this array (add top-level element only) -->
  <!ENTITY % tests "status_code | regexp | byte_length |
                    max_request_time | cookie">
  
  <!-- 
  
  add definition of custom test elements here
  
  ###example only
  ###actual definitions of built-in tasks are located in the 
  ###main suite.dtd file
  <!ELEMENT cookie EMPTY>
  <!ATTLIST cookie name  CDATA #REQUIRED
                   value CDATA #IMPLIED
                   label CDATA #IMPLIED>
  -->
  
  
  

Reply via email to