use of junit.framework.TestSuite in project ACS by ACS-Community.
the class _Tests method suite.
public static Test suite() {
TestSuite ret = new TestSuite("Test for " + _Tests.class.getPackage().getName());
if (AccTests.hasNativeAcs()) {
ret.addTestSuite(AcsScriptsTest.class);
if (AccTests.hasHead()) {
ret.addTestSuite(ExternalToolsTest.class);
}
}
ret.addTestSuite(ExecutorTest.class);
return ret;
}
use of junit.framework.TestSuite in project ACS by ACS-Community.
the class AccTests method suite.
public static Test suite() {
TestSuite ret = new TestSuite("Test for " + AccTests.class.getPackage().getName());
ret.addTest(alma.acs.commandcenter.app._Tests.suite());
ret.addTest(alma.acs.commandcenter.meta._Tests.suite());
ret.addTest(alma.acs.commandcenter.engine._Tests.suite());
ret.addTest(alma.acs.commandcenter.util._Tests.suite());
return ret;
}
use of junit.framework.TestSuite in project ACS by ACS-Community.
the class AllTests method suite.
public static Test suite() {
TestSuite suite = new TestSuite();
suite.addTest(new TestSuite(CompHelperGeneratorTest.class));
return suite;
}
use of junit.framework.TestSuite in project kotlin by JetBrains.
the class AndroidRunner method suite.
public static TestSuite suite() throws Throwable {
PathManager pathManager = getPathManager();
FileUtil.copyDir(new File(pathManager.getAndroidModuleRoot()), new File(pathManager.getTmpFolder()));
writeAndroidSkdToLocalProperties();
CodegenTestsOnAndroidGenerator.generate(pathManager);
System.out.println("Run tests on android...");
TestSuite suite = CodegenTestsOnAndroidRunner.getTestSuite(pathManager);
//suite.addTest(new AndroidJpsBuildTestCase());
return suite;
}
use of junit.framework.TestSuite in project kotlin by JetBrains.
the class CodegenTestsOnAndroidRunner method generateTestSuite.
private TestSuite generateTestSuite() {
TestSuite suite = new TestSuite("MySuite");
String resultOutput = runTests();
String reportFolder = pathManager.getTmpFolder() + "/build/outputs/androidTest-results/connected";
try {
List<TestCase> testCases = parseSingleReportInFolder(reportFolder);
for (TestCase aCase : testCases) {
suite.addTest(aCase);
}
Assert.assertNotEquals("There is no test results in report", 0, testCases.size());
} catch (Exception e) {
throw new RuntimeException("Can't parse test results in " + reportFolder + "\n" + resultOutput);
}
return suite;
}
Aggregations