Skip to content
Permalink
Browse files

Update tests to detect invalid files.

Also add annotation tests for invalid files. Related to issue #328.
  • Loading branch information
mbjones committed Dec 2, 2018
1 parent cb64fe0 commit d44c143f0c44420ea1dab2d4fb2b7d0037c62be0
@@ -125,7 +125,6 @@
<property name="srcdir" value="./src/main/java" />
<property name="src.resources.dir" value="./src/main/resources" />
<property name="invalid.dir" value="${test.resources.dir}/invalidEML"/>
<property name="sample.dir" value="lib/sample"/>
<property name="build.dir" value="build"/>
<property name="build.tests" value="${build.dir}/tests"/>
<property name="build.src" value="${build.dir}/src"/>
@@ -364,19 +363,6 @@

<!-- use the ant "junit" task to run JUnit tests. -->
<target name="test" depends="compile-test">

<!--copy the sample docs into the test directory so they get validated-->
<copy todir="${test.resources.dir}">
<fileset dir="${sample.dir}">
<exclude name="**/CVS*"/>
<exclude name="**/.#*"/>
</fileset>
</copy>
<echo>
************************************************
copied from ${sample.dir}
************************************************
</echo>
<!--copy the unit dictionary so it will get validated-->
<copy file="eml-unitDictionary.xml" tofile="test/eml-unitDictionary.xml"/>
<echo>
BIN +102 Bytes (100%) lib/eml.jar
Binary file not shown.

This file was deleted.

0 comments on commit d44c143

Please sign in to comment.
You can’t perform that action at this time.