1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-06-03 07:29:37 +00:00

Moved tests into Maven Test area to allow maven-based testing.

This commit is contained in:
jespergravgaard 2017-12-28 15:34:31 +01:00
parent ff51d04356
commit 32d7db5ce7
395 changed files with 16 additions and 3 deletions

View File

@ -10,6 +10,10 @@
<entry name="!?*.flex" />
<entry name="!?*.kt" />
<entry name="!?*.clj" />
<entry name="*.asm" />
<entry name="*.log" />
<entry name="*.cfg" />
<entry name="*.sym" />
</wildcardResourcePatterns>
<annotationProcessing>
<profile name="Maven default annotation processors profile" enabled="true">

View File

@ -7,6 +7,7 @@
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/src/test/java/dk/camelot64/kickc/test/ref" type="java-test-resource" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />

12
pom.xml
View File

@ -38,6 +38,14 @@
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.asm</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/java</directory>
<includes>
<include>**/*.kc</include>
<include>**/*.asm</include>
@ -45,8 +53,8 @@
<include>**/*.cfg</include>
<include>**/*.log</include>
</includes>
</resource>
</resources>
</testResource>
</testResources>
</build>

View File

@ -18,7 +18,7 @@ public class TestPrograms extends TestCase {
String testPath;
public TestPrograms() throws IOException {
testPath = "src/main/java/dk/camelot64/kickc/test/";
testPath = "src/test/java/dk/camelot64/kickc/test/";
helper = new ReferenceHelper("dk/camelot64/kickc/test/ref/");
}

Some files were not shown because too many files have changed in this diff Show More