jamejose    2005/07/12 04:46:00

  Modified:    c/build  executeTest.xml
  Log:
  Updated executeTest.xml to include attachment Tests. Added a new target 
copyattachment which will copy the files from attachment directory for 
attachment tests
  
  Revision  Changes    Path
  1.38      +12 -1     ws-axis/c/build/executeTest.xml
  
  Index: executeTest.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/build/executeTest.xml,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- executeTest.xml   27 Jun 2005 13:51:52 -0000      1.37
  +++ executeTest.xml   12 Jul 2005 11:46:00 -0000      1.38
  @@ -6,7 +6,7 @@
                comparison later in this script works on all platforms.
        -->
        <target name="setExpectations"
  -             depends="setResultExpectations, setRequestExpectations, 
setServerResponse" />
  +             depends="setResultExpectations, setRequestExpectations, 
copyattachment, setServerResponse" />
   
        <target name="setResultExpectations" unless="buildOnly">
                <basename file="${expected.file}"
  @@ -20,6 +20,17 @@
                        includes="${expected.file.basename}" />
        </target>
   
  +    <!--
  +             Copy the required files for attachment test from the attachment 
directory
  +     -->
  +
  +
  +    <target name="copyattachment" if="test.attachment" unless="buildOnly">
  +             <copy file="${dir.autotests}/attachment/${test.attachment}"
  +                     todir="${test.directory}" failonerror="false" />
  +     </target>
  +
  +
        <!-- Only copy expected request file if it exists -->
        <target name="setRequestExpectations" if="requestFileExists"
                unless="buildOnly">
  
  
  

Reply via email to