Skip to content

Commit

Permalink
Update tests to detect invalid files.
Browse files Browse the repository at this point in the history
Also add annotation tests for invalid files. Related to issue #328.
  • Loading branch information
mbjones committed Dec 4, 2018
1 parent cb64fe0 commit d44c143
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 1,574 deletions.
14 changes: 0 additions & 14 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down Expand Up @@ -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>
Expand Down
Binary file modified lib/eml.jar
Binary file not shown.
351 changes: 0 additions & 351 deletions lib/sample/eml-sample.xml

This file was deleted.

Loading

0 comments on commit d44c143

Please sign in to comment.