Commit 14c47456 authored by Nils Kaminski's avatar Nils Kaminski
Browse files

Remove system outs in tests

parent c04a7605
Pipeline #96762 passed with stages
in 44 minutes and 7 seconds
......@@ -173,7 +173,7 @@ public class AutomaticStreamTestGenerationTest extends AbstractSymtabTest {
// --root-model=%1 ^
// --flag-generate-tests ^
// --flag-use-armadillo-backend
System.out.println("Generation Done");
// System.out.println("Generation Done");
String targetBasePath = OSHelper.getDirPrefix() + "/target/generated-sources-cpp/streamtest";
String targetRestPath = "/autopilot";
String targetFullPath = targetBasePath + targetRestPath;
......
......@@ -87,7 +87,7 @@ public class AllTemplatesTest {
s1c2.getOutputPortName2Check().put("out5", RangeOutputPortCheck.from(0, 0));
String result = AllTemplates.generateComponentStreamTest(vm);
System.out.println("Result: "+result);
// System.out.println("Result: "+result);
Assert.assertNotNull(result);
//When used this way = is not added as it happens in TestsGenerator usage
......
......@@ -76,7 +76,7 @@ public class Parser extends ParserTest{
StreamScanner scanner = new StreamScanner(Paths.get("src/test/resources"), symTab);
Map<EMAComponentSymbol, Set<ComponentStreamUnitsSymbol>> availableStreams = new HashMap<>(scanner.scan());
System.out.println(availableStreams);
// System.out.println(availableStreams);
}
@Ignore
......@@ -93,6 +93,6 @@ public class Parser extends ParserTest{
generatorCPP.setGenerateTests(true);
generatorCPP.setCheckModelDir(true);
List<File> files = generatorCPP.generateFiles(componentSymbol, symTab);
System.out.println(files);
// System.out.println(files);
}
}
......@@ -33,7 +33,7 @@ public class DynamicGenerationTest extends AbstractSymtabTest {
generatorCPP.useArmadilloBackend();
generatorCPP.setGenerationTargetPath("./target/generated-sources-cpp/dynamics/test/Test_01_TestDynamic1");
List<File> files = generatorCPP.generateFiles(symtab, componentSymbol, symtab);
files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
// files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
}
@Test
......@@ -47,7 +47,7 @@ public class DynamicGenerationTest extends AbstractSymtabTest {
generatorCPP.setGenerationTargetPath("./target/generated-sources-cpp/dynamics/test/Test_02_TestEventComponent1");
generatorCPP.setGenerateCMake(true);
List<File> files = generatorCPP.generateFiles(symtab, componentSymbol, symtab);
files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
// files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
}
@Test
......@@ -61,6 +61,6 @@ public class DynamicGenerationTest extends AbstractSymtabTest {
generatorCPP.setGenerationTargetPath("./target/generated-sources-cpp/dynamics/test/Test_03_TestEventComponent2");
generatorCPP.setGenerateCMake(true);
List<File> files = generatorCPP.generateFiles(symtab, componentSymbol, symtab);
files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
// files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
}
}
......@@ -36,7 +36,7 @@ public class DynamicIsConnectedInMathTest extends AbstractSymtabTest {
generatorCPP.setGenerationTargetPath("./target/generated-sources-cpp/dynamics/isconnected/test00");
// generatorCPP.setUseThreadingOptimization(true);
List<File> files = generatorCPP.generateFiles(symtab, componentSymbol, symtab);
files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
// files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
}
@Test
......@@ -51,7 +51,7 @@ public class DynamicIsConnectedInMathTest extends AbstractSymtabTest {
generatorCPP.setGenerationTargetPath("./target/generated-sources-cpp/dynamics/isconnected/test01");
// generatorCPP.setUseThreadingOptimization(true);
List<File> files = generatorCPP.generateFiles(symtab, componentSymbol, symtab);
files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
// files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
}
@Test
......@@ -66,6 +66,6 @@ public class DynamicIsConnectedInMathTest extends AbstractSymtabTest {
generatorCPP.setGenerationTargetPath("./target/generated-sources-cpp/dynamics/isconnected/test02");
// generatorCPP.setUseThreadingOptimization(true);
List<File> files = generatorCPP.generateFiles(symtab, componentSymbol, symtab);
files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
// files.stream().forEach(f -> System.out.println("Generated: "+f.getName()));
}
}
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