1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-18 08:30:18 +00:00

Dropped suite again.

This commit is contained in:
Jesper Gravgaard 2018-01-21 16:30:37 +01:00
parent 4f941adfa8
commit eab2e64154
3 changed files with 6 additions and 16 deletions

View File

@ -62,9 +62,6 @@
<version>2.19</version>
<configuration>
<argLine>-Xmx1024m</argLine>
<includes>
<include>**/Tests.java</include>
</includes>
</configuration>
</plugin>
</plugins>

View File

@ -6,6 +6,7 @@ import dk.camelot64.kickc.fragment.AsmFragmentTemplateSynthesizer;
import dk.camelot64.kickc.fragment.AsmFragmentTemplateUsages;
import dk.camelot64.kickc.model.Operator;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import java.io.IOException;
@ -17,6 +18,11 @@ import static junit.framework.TestCase.fail;
/** Test the ASM fragment sub-system by loading/synthesizing a lot of different fragments and comparing with reference fragments. */
public class TestFragments {
@BeforeClass
public static void setUp() {
AsmFragmentTemplateSynthesizer.clearCaches();
}
@AfterClass
public static void tearDown() throws Exception {
CompileLog log = new CompileLog();

View File

@ -1,13 +0,0 @@
package dk.camelot64.kickc.test;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
TestFragments.class,
TestPrograms.class
})
public class Tests {
}