Commit 3f8d4bc6 authored by Georg Graßnick's avatar Georg Graßnick 🤔

Fix integration tests setup

parent 938fed0e
......@@ -135,6 +135,5 @@ checkstyleTest {
}
// Needed for Integrationtests
// Needed for integration tests
apply from: "$rootDir/integrationTest.gradle"
sourceSets {
integrationTest {
java.srcDir 'src/integrationTest'
resources.srcDir 'src/test/resources'
java.srcDir 'src/integrationTest/java'
resources.srcDir 'src/integrationTest/resources'
compileClasspath += sourceSets.main.output + configurations.testRuntimeClasspath
runtimeClasspath += output + compileClasspath
}
......@@ -14,4 +14,4 @@ task integrationTest(type: Test) {
classpath = sourceSets.integrationTest.runtimeClasspath
mustRunAfter test
checkstyleIntegrationTest.enabled = false
}
\ No newline at end of file
}
......@@ -23,7 +23,9 @@ public class AppTest {
@Test
public void smokeTest() {
LiblouisBrailleTextRasterizer.initModule();
Assertions.assertEquals(0, mApp.run(new String[]{"-p", "src/test/resources/config/dummyprinter.properties",
Assertions.assertEquals(0, mApp.run(new String[]{
"-i",
"-p", "src/test/resources/config/dummyprinter.properties",
"-c", "src/test/resources/examples_csv/2_line_chart.csv",
"-d", "LineChart",
"-t", "title",
......
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