use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.
the class MediaFrameworkPerfTestRunner method getAllTests.
@Override
public TestSuite getAllTests() {
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(MediaPlayerPerformance.class);
/* Video Editor performance Test cases */
suite.addTestSuite(VideoEditorPerformance.class);
return suite;
}
use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.
the class MediaFrameworkPowerTestRunner method getAllTests.
@Override
public TestSuite getAllTests() {
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(MediaPlayerPowerTest.class);
return suite;
}
use of junit.framework.TestSuite in project android_frameworks_base by ParanoidAndroid.
the class MediaPlayerStressTestRunner method getAllTests.
@Override
public TestSuite getAllTests() {
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(MediaPlayerStressTest.class);
/** Video Editor Stress Test cases*/
suite.addTestSuite(VideoEditorStressTest.class);
return suite;
}
use of junit.framework.TestSuite in project hackpad by dropbox.
the class StandardTests method suite.
public static TestSuite suite() throws Exception {
TestSuite suite = new TestSuite("Standard JavaScript tests");
if (!DISABLE) {
File testDir = null;
if (System.getProperty("mozilla.js.tests") != null) {
testDir = new File(System.getProperty("mozilla.js.tests"));
} else {
URL url = StandardTests.class.getResource(".");
String path = url.getFile();
int jsIndex = path.lastIndexOf("/js");
if (jsIndex == -1) {
throw new IllegalStateException("You aren't running the tests from within the standard mozilla/js directory structure");
}
path = path.substring(0, jsIndex + 3).replace('/', File.separatorChar);
path = path.replace("%20", " ");
testDir = new File(path, "tests");
}
if (!testDir.isDirectory()) {
throw new FileNotFoundException(testDir + " is not a directory");
}
String[] excludes = TestUtils.loadTestsFromResource("/base.skip", null);
String[] opt1Excludes = TestUtils.loadTestsFromResource("/opt1.skip", excludes);
for (int i = -1; i < 2; ++i) {
TestSuite optimizationLevelSuite = new TestSuite("Optimization level " + i);
addSuites(optimizationLevelSuite, testDir, i == -1 ? excludes : opt1Excludes, i);
suite.addTest(optimizationLevelSuite);
}
}
return suite;
}
use of junit.framework.TestSuite in project druid by druid-io.
the class BitmapIterationTest method suite.
public static Test suite() {
List<BitmapFactory> factories = Arrays.asList(new BitSetBitmapFactory(), new ConciseBitmapFactory());
TestSuite suite = new TestSuite();
for (BitmapFactory factory : factories) {
suite.addTest(suiteForFactory(factory));
}
return suite;
}
Aggregations