Search in sources :

Example 61 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project java-common-lib by sosy-lab.

the class NaiveOrderStatisticMapTest method suite.

public static junit.framework.Test suite() {
    TestSortedMapGenerator<String, String> testSetGenerator = new OrderStatisticMapProxyFactory();
    TestSuite suite = NavigableMapTestSuiteBuilder.using(testSetGenerator).named("NaiveOrderStatisticMap").withFeatures(CollectionSize.ANY, CollectionFeature.KNOWN_ORDER, CollectionFeature.SERIALIZABLE, CollectionFeature.SUPPORTS_ITERATOR_REMOVE, MapFeature.GENERAL_PURPOSE, MapFeature.ALLOWS_NULL_VALUES).createTestSuite();
    suite.addTest(new JUnit4TestAdapter(NaiveOrderStatisticMapTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 62 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project java-common-lib by sosy-lab.

the class PathCopyingPersistentTreeMapTest method suite.

public static junit.framework.Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(new JUnit4TestAdapter(PathCopyingPersistentTreeMapTest.class));
    suite.addTest(NavigableMapTestSuiteBuilder.using(mapGenerator).named("PathCopyingPersistentTreeMap").withFeatures(MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.KNOWN_ORDER, CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS, CollectionSize.ANY).createTestSuite());
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 63 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project AndroidLife by CaMnter.

the class UtilsTest method suite.

public static Test suite() {
    TestSuite suite = new TestSuite("com.camnter.newlife.utils");
    // 添加测试用例
    suite.addTest(new JUnit4TestAdapter(Base64UtilsTest.class));
    suite.addTest(new JUnit4TestAdapter(ChineseUtilsTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 64 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project jbosstools-hibernate by jbosstools.

the class HibernateJptCoreTestSuite method suite.

public static Test suite() {
    TestSuite suite = new TestSuite();
    suite.addTest(new JUnit4TestAdapter(HibernateJpaModelTests.class));
    suite.addTest(new JUnit4TestAdapter(HibernateJpaOrmModelTests.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 65 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project entando-core by entando.

the class ServicesAllTests method suite.

public static Test suite() {
    TestSuite suite = new TestSuite(ServicesAllTests.class.getName());
    suite.addTestSuite(GroupServiceIntegrationTest.class);
    suite.addTestSuite(PageSettingsServiceIntegrationTest.class);
    suite.addTestSuite(PageServiceIntegrationTest.class);
    suite.addTestSuite(PageAuthorizationServiceIntegrationTest.class);
    suite.addTest(new JUnit4TestAdapter(RestListRequestTest.class));
    suite.addTest(new JUnit4TestAdapter(GroupServiceTest.class));
    suite.addTest(new JUnit4TestAdapter(GuiFragmentServiceTest.class));
    suite.addTest(new JUnit4TestAdapter(DataObjectModelServiceTest.class));
    suite.addTest(new JUnit4TestAdapter(PageModelDtoTest.class));
    suite.addTest(new JUnit4TestAdapter(PageModelServiceTest.class));
    suite.addTest(new JUnit4TestAdapter(EntityManagerServiceTest.class));
    suite.addTestSuite(EntityManagerServiceIntegrationTest.class);
    suite.addTest(new JUnit4TestAdapter(PageServiceWidgetIntegrationTest.class));
    suite.addTest(new JUnit4TestAdapter(DataObjectServiceTest.class));
    suite.addTest(new JUnit4TestAdapter(CategoryServiceTest.class));
    suite.addTestSuite(UserServiceIntegrationTest.class);
    suite.addTest(new JUnit4TestAdapter(DatabaseServiceTest.class));
    suite.addTest(new JUnit4TestAdapter(EntandoMessageCodesResolverTest.class));
    return suite;
}
Also used : EntandoMessageCodesResolverTest(org.entando.entando.web.common.EntandoMessageCodesResolverTest) EntityManagerServiceTest(org.entando.entando.aps.system.services.entity.EntityManagerServiceTest) GroupServiceTest(org.entando.entando.aps.system.services.group.GroupServiceTest) DataObjectServiceTest(org.entando.entando.aps.system.services.dataobject.DataObjectServiceTest) PageServiceWidgetIntegrationTest(org.entando.entando.aps.system.services.page.PageServiceWidgetIntegrationTest) TestSuite(junit.framework.TestSuite) DatabaseServiceTest(org.entando.entando.aps.system.services.database.DatabaseServiceTest) GuiFragmentServiceTest(org.entando.entando.aps.system.services.guifragment.GuiFragmentServiceTest) PageModelServiceTest(org.entando.entando.aps.system.services.pagemodel.PageModelServiceTest) CategoryServiceTest(org.entando.entando.aps.system.services.category.CategoryServiceTest) RestListRequestTest(org.entando.entando.aps.system.services.group.RestListRequestTest) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter) PageModelDtoTest(org.entando.entando.aps.system.services.pagemodel.PageModelDtoTest) DataObjectModelServiceTest(org.entando.entando.aps.system.services.dataobjectmodel.DataObjectModelServiceTest)

Aggregations

JUnit4TestAdapter (junit.framework.JUnit4TestAdapter)74 TestSuite (junit.framework.TestSuite)50 TestResult (junit.framework.TestResult)17 Test (org.junit.Test)6 Test (junit.framework.Test)2 Result (org.junit.runner.Result)2 I18nManagerTest (com.agiletec.aps.system.services.i18n.I18nManagerTest)1 I18nManagerCacheWrapperTest (com.agiletec.aps.system.services.i18n.cache.I18nManagerCacheWrapperTest)1 KeyGeneratorManagerTest (com.agiletec.aps.system.services.keygenerator.KeyGeneratorManagerTest)1 LangManagerTest (com.agiletec.aps.system.services.lang.LangManagerTest)1 ContentManagerTest (com.agiletec.plugins.jacms.aps.system.services.content.ContentManagerTest)1 ContentModelManagerTest (com.agiletec.plugins.jacms.aps.system.services.contentmodel.ContentModelManagerTest)1 ContentPageMapperManagerTest (com.agiletec.plugins.jacms.aps.system.services.contentpagemapper.ContentPageMapperManagerTest)1 ContentMapperCacheWrapperTest (com.agiletec.plugins.jacms.aps.system.services.contentpagemapper.cache.ContentMapperCacheWrapperTest)1 ResourceManagerTest (com.agiletec.plugins.jacms.aps.system.services.resource.ResourceManagerTest)1 ListLastIndexOfTester (com.google.common.collect.testing.testers.ListLastIndexOfTester)1 ListListIteratorTester (com.google.common.collect.testing.testers.ListListIteratorTester)1 ListSubListTester (com.google.common.collect.testing.testers.ListSubListTester)1 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 IOException (java.io.IOException)1