use of junit.framework.TestSuite in project pcgen by PCGen.
the class AllJUnitTests method suite.
/**
* suite
* @return Test
*/
public static Test suite() {
TestSuite suite = new TestSuite("All PCGEN Tests");
suite.addTest(pcgen.core.AllJUnitTests.suite());
return suite;
}
use of junit.framework.TestSuite in project pcgen by PCGen.
the class AllJUnitTests method suite.
/**
* suite
* @return Test
*/
public static Test suite() {
final TestSuite suite = new TestSuite("PCGEN Core Tests");
suite.addTest(new TestSuite(BioSetTest.class));
suite.addTest(new TestSuite(ClassTypeTest.class));
suite.addTest(new TestSuite(EquipmentListTest.class));
suite.addTest(new TestSuite(EquipmentModifierTest.class));
suite.addTest(new TestSuite(EquipmentTest.class));
suite.addTest(new TestSuite(EquipmentUtilitiesTest.class));
suite.addTest(new TestSuite(GlobalsTest.class));
suite.addTest(new TestSuite(PCClassTest.class));
suite.addTest(new TestSuite(PlayerCharacterTest.class));
suite.addTest(new TestSuite(PObjectTest.class));
suite.addTest(new TestSuite(PObjectUtilitiesTest.class));
suite.addTest(new TestSuite(PrereqHandlerTest.class));
suite.addTest(new TestSuite(CoreUtilityTest.class));
// core.bonus
suite.addTest(new TestSuite(pcgen.core.bonus.BonusTest.class));
// core.chooser
suite.addTest(new TestSuite(pcgen.core.chooser.DomainChoiceManagerTest.class));
// core.levelability
suite.addTest(new TestSuite(pcgen.core.levelability.AddClassSkillsTest.class));
// core.prereq
suite.addTest(new TestSuite(pcgen.core.prereq.AbstractPrerequisiteTestTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreAlignTest.class));
//suite.addTest(new TestSuite(pcgen.core.prereq.PreArmorProfTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreAttTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreBaseSizeTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreBirthplaceTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreCharactertypeTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreCheckBaseTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreCheckTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreCityTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreClassTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreCSkillTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreDeityAlignTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreDeityDomainTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreDeityTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreDomainTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreDRTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreEquipTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreMultTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreRaceTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreReqHandlerTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreSizeTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreSkillTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreSubClassTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreTemplateTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreTypeTest.class));
suite.addTest(new TestSuite(pcgen.core.prereq.PreVisionTest.class));
suite.addTest(FeatTest.suite());
return suite;
}
use of junit.framework.TestSuite in project android_frameworks_base by ResurrectionRemix.
the class PowerTestRunner method getAllTests.
@Override
public TestSuite getAllTests() {
TestSuite suite = new InstrumentationTestSuite(this);
suite.addTestSuite(PowerMeasurement.class);
return suite;
}
use of junit.framework.TestSuite in project Main by SpartanRefactoring.
the class MetaTester method runChild.
@Override
@SuppressWarnings("unused")
protected void runChild(final FrameworkMethod __, final RunNotifier n) {
if (hasRan)
return;
final Class<?> newTestClass = new ASTTestClassGenerator(testClass).generate(testClass.getSimpleName() + "_Meta", sourceFile);
final TestSuite suite = new TestSuite(newTestClass);
suite.run(new TestResult());
try {
new BlockJUnit4ClassRunnerWithParametersFactory().createRunnerForTestWithParameters(new TestWithParameters(" ", new TestClass(newTestClass), an.empty.list())).run(n);
} catch (final InitializationError ignore) {
/**/
}
// Uncomment this to run the original test as well
/* super.runChild(method, notifier); */
hasRan = true;
}
use of junit.framework.TestSuite in project android_frameworks_base by ResurrectionRemix.
the class ActivityTests method suite.
public static TestSuite suite() {
TestSuite suite = new TestSuite(ActivityTests.class.getName());
suite.addTestSuite(BroadcastTest.class);
suite.addTestSuite(IntentSenderTest.class);
suite.addTestSuite(ActivityManagerTest.class);
suite.addTestSuite(LaunchTest.class);
suite.addTestSuite(LifecycleTest.class);
suite.addTestSuite(ServiceTest.class);
suite.addTestSuite(MetaDataTest.class);
// Remove temporarily until bug 1171309 is fixed.
//suite.addTestSuite(SubActivityTest.class);
suite.addTestSuite(SetTimeZonePermissionsTest.class);
return suite;
}
Aggregations