Changeset 276 for trunk/JavaCommons


Ignore:
Timestamp:
12/05/11 17:45:09 (13 years ago)
Author:
sherbold
Message:
  • ant script now copies test data from test projects to allow correct execution of all JUnit tests
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaCommons/build.xml

    r275 r276  
    9797 
    9898        <!-- JUnit Test General Properties --> 
    99  
    10099        <property name="test.location.results" value="test-results" /> 
     100        <property name="test.location.data" value="testdata" /> 
     101        <property name="test.location.output" value="testoutput" /> 
    101102        <path id="JUnit.classpath"> 
    102103                <pathelement location="lib-test/junit-4.10.jar" /> 
     
    298299        <target depends="init.build" name="init.junit"> 
    299300                <mkdir dir="${test.location.results}" /> 
     301                <mkdir dir="${test.location.data}" /> 
     302                <mkdir dir="${test.location.output}" /> 
    300303        </target> 
    301304        <target depends="init.junit" name="init.eventbenchcore-test"> 
     
    304307        <target depends="init.junit" name="init.javahelperlib-test"> 
    305308                <mkdir dir="${test.location.javahelperlib}" /> 
     309                <copy includeemptydirs="true" todir="${test.location.data}"> 
     310                        <fileset dir="${JavaHelperLibTest.location}/testdata" /> 
     311                </copy> 
    306312        </target> 
    307313 
Note: See TracChangeset for help on using the changeset viewer.