Changeset 6506


Ignore:
Timestamp:
06/08/10 14:03:12 (10 years ago)
Author:
melissa
Message:
  • Updated JUnit version so that ImageJ plugin tests compile.
  • Overrode 'test' Ant target in loci-plugins component so that JUnit tests are actually run.
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/build.properties

    r6229 r6506  
    1414                           ${lib.dir}/forms-1.3.0.jar:\ 
    1515                           ${lib.dir}/ij.jar:\ 
     16                           ${lib.dir}/junit.jar:\ 
    1617                           ${lib.dir}/log4j-1.2.15.jar 
    1718component.java-version   = 1.5 
  • trunk/components/loci-plugins/build.xml

    r6016 r6506  
    1212  <import file="${root.dir}/ant/java.xml"/> 
    1313  <property file="build.properties"/> 
     14 
     15  <target name="test" depends="jar, compile-tests" 
     16    description="run tests" if="doTests"> 
     17    <!-- overrides default 'test' target in java.xml --> 
     18 
     19    <junit> 
     20      <classpath> 
     21        <pathelement path="${component.classpath}"/> 
     22        <pathelement location="${test-classes.dir}"/> 
     23      </classpath> 
     24      <formatter type="plain" usefile="true"/> 
     25      <test name="loci.plugins.in.ImporterTest"/> 
     26    </junit> 
     27  </target> 
    1428</project> 
Note: See TracChangeset for help on using the changeset viewer.