juergen     2002/08/20 03:55:23

  Added:       testsuite/testsuite/junit/xmltestcases/functional/put/mixXML
                        gifNamedXml.xml
  Log:
  no message
  
  Revision  Changes    Path
  1.1                  
jakarta-slide/testsuite/testsuite/junit/xmltestcases/functional/put/mixXML/gifNamedXml.xml
  
  Index: gifNamedXml.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE test SYSTEM "../../../../Tprocessor.dtd">
  <test>
        
        <specification>
                <abstract> Storing a gif file under xml extension </abstract>
                <pre-Requisite>A collection has been created and defined in 
tprocessor.cmd.</pre-Requisite>
                <description>
                1) Put command to create the resouce. (test.xml- a gif file with 
extension .xml)
                2) Put command to update the resouce (test.xml- a gif file with 
extension .xml)
        
                </description>
                <expectedResult>should work</expectedResult>
        </specification>
        
        
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
                        <body 
fileReference="../../../contentDirectory/jim.graham.gif"/>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
        <step>
                <request>
                        <command 
varUsage="globalVariableCollection,globalVariableServerName">PUT 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
                        <body 
fileReference="../../../contentDirectory/jim.graham.gif"/>
                </request>
                <response>
                        <command>HTTP/1.0 201 Created</command>
                </response>
        </step>
        
        <cleanup>
                <step>
                        <request>
                                <command 
varUsage="globalVariableCollection,globalVariableServerName"> DELETE 
/%globalVariableServerName%/%globalVariableCollection%/test.xml HTTP/1.1</command>
                                <header>Accept-Language: en-us</header>
                                <header>Destroy: NoUndelete</header>
                                <header>Translate: f</header>
                                <header>User-Agent: Microsoft Data Access Internet 
Publishing Provider DAV</header>
                                <header>Connection: Keep-Alive</header>
                        </request>
                        <response>
                                <command>HTTP/1.0 204 No Content</command>
                                <header>Date: Wed, 14 Mar 2001 14:47:37 
GMT+01:00</header>
                                <header>Content-Language: en</header>
                                <header>Servlet-Engine: Tomcat Web Server/3.2 beta 4 
(JSP 1.1; Servlet 2.2; Java 1.3.0; Windows NT 4.0 x86; java.vendor=Sun Microsystems 
Inc.)</header>
                        </response>
                </step>
                
        </cleanup>
  </test>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to