Commit d8403933 authored by Markus Krug's avatar Markus Krug
Browse files

Changed the defautl test location to $projectdir.test.

Now tests can be executed via the maven aggregator pom (main pom)
parent ab7823cc
...@@ -23,4 +23,5 @@ ...@@ -23,4 +23,5 @@
<version>4.12</version> <version>4.12</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>
\ No newline at end of file
...@@ -31,7 +31,6 @@ public class FirstTest { ...@@ -31,7 +31,6 @@ public class FirstTest {
List<Instance> instances = InstanceCreationFactory.createWindowedInstancesFromUIMA(document, 2, 2, "de.uniwue.kalimachos.coref.type.POS", tsd, new IsUppercaseFeatureGenerator(), new WordFeaturegenerator()); List<Instance> instances = InstanceCreationFactory.createWindowedInstancesFromUIMA(document, 2, 2, "de.uniwue.kalimachos.coref.type.POS", tsd, new IsUppercaseFeatureGenerator(), new WordFeaturegenerator());
System.out.println(instances.size()); System.out.println(instances.size());
algorithm.learn(instances.toArray(new Instance[0])); algorithm.learn(instances.toArray(new Instance[0]));
} }
......
...@@ -17,4 +17,8 @@ ...@@ -17,4 +17,8 @@
<module>RuleLearning</module> <module>RuleLearning</module>
<module>InstanceLoading</module> <module>InstanceLoading</module>
</modules> </modules>
<build>
<testSourceDirectory>${project.basedir}/test</testSourceDirectory>
</build>
</project> </project>
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment