axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hawk...@apache.org
Subject cvs commit: ws-axis/c test.xml
Date Mon, 13 Sep 2004 10:42:30 GMT
hawkeye     2004/09/13 03:42:30

  Modified:    c        test.xml
  Log:
  The script now copies the expected output to the generated client directory and converts
the file fomat to the OS specific format.
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.8       +24 -3     ws-axis/c/test.xml
  
  Index: test.xml
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/test.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- test.xml	9 Sep 2004 10:04:31 -0000	1.7
  +++ test.xml	13 Sep 2004 10:42:29 -0000	1.8
  @@ -440,12 +440,33 @@
   	</target>
   
   	<!--
  +	  Copy the expected output test files to the generated client directory
  +	  and convert these files to the OS specific format so the filesmatch
  +	  comparison later in this script works on all platforms.
  +	  -->
  +	<target name="setExpectations">
  +		<property name="expected.file" value="${dir.test.generated}/${client.lang}/${testName}/${testName}.expected"/>
  +		<property name="r_expected.file" value="${dir.test.generated}/${client.lang}/${testName}/${testName}Request.expected"/>
  +
  +		<copy file="${dir.src}/output/${testName}.out" tofile="${expected.file}"/>
  +		<!--
  +		  This is an optional file and might not exist so don't fail if
  +		  it doesn't.
  +		  -->
  +		<copy file="${dir.src}/output/${testName}Request.out" tofile="${r_expected.file}"
failonerror="false"/>
  +
  +		<!--
  +		  Convert to OS specific format
  +		  -->
  +		<fixcrlf srcdir="${dir.test.generated}/${client.lang}/${testName}" includes="${testName}.expected"/>
  +
  +	</target>
  +
  +	<!--
   	  Execute the test
   	  -->
  -	<target name="executeTest" if="successfulClientCompilation" unless="buildOnly">
  +	<target name="executeTest" depends="setExpectations" if="successfulClientCompilation"
unless="buildOnly">
   		<property name="results.file" value="${dir.test.generated}/${client.lang}/${testName}/${testName}.out"/>
  -		<property name="expected.file" value="${dir.src}/output/${testName}.out"/>
  -		<property name="r_expected.file" value="${dir.src}/output/${testName}Request.out"/>
   
   		<trycatch>
   			<try>
  
  
  

Mime
View raw message