Ignore:
Timestamp:
02/19/10 14:17:44 (10 years ago)
Author:
melissa
Message:
  • Moved OME I/O tests to ome-io component.
  • Added dependency check to LuraWave service.
  • Tweaked POI and MDB tests to expect a FileNotFoundException to be thrown.

All tests should now pass. See #464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cleanup/components/ome-io/build.xml

    r5551 r5944  
    1212  <import file="${root.dir}/components/java.xml"/> 
    1313  <property file="build.properties"/> 
     14 
     15  <target name="test" depends="jar,test-no-omeio" description="run tests" if="doTests"> 
     16    <copy tofile="${build.dir}/testng.xml" overwrite="true" 
     17      file="${tests.dir}/loci/ome/utests/testng.xml"/> 
     18    <testng 
     19      classpath="${test-classes.dir}:${classes.dir}:${component.classpath}"> 
     20      <xmlfileset file="${build.dir}/testng.xml"/> 
     21      <jvmarg value="-mx${testng.memory}"/> 
     22    </testng> 
     23  </target> 
     24 
     25  <target name="test-no-omeio" depends="compile-tests" description="run missing OME I/O tests" if="doTests"> 
     26    <copy tofile="${build.dir}/testng.xml" overwrite="true" 
     27      file="${tests.dir}/loci/ome/utests/test-no-omeio.xml"/> 
     28    <testng classpath="${test-classes.dir}:${component.classpath}"> 
     29      <xmlfileset file="${build.dir}/testng.xml"/> 
     30      <jvmarg value="-mx${testng.memory}"/> 
     31    </testng> 
     32  </target> 
    1433</project> 
Note: See TracChangeset for help on using the changeset viewer.