Search in sources :

Example 96 with TestSuite

use of junit.framework.TestSuite in project asterixdb by apache.

the class PigletTest method suite.

public static Test suite() {
    TestSuite suite = new TestSuite();
    File dir = new File("testcases");
    findAndAddTests(suite, dir);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) File(java.io.File)

Example 97 with TestSuite

use of junit.framework.TestSuite in project ignite by apache.

the class IgniteDistributedJoinTestSuite method suite.

/**
     * @return Suite.
     */
public static TestSuite suite() {
    TestSuite suite = new TestSuite("Distributed Joins Test Suite.");
    suite.addTestSuite(H2CompareBigQueryDistributedJoinsTest.class);
    suite.addTestSuite(IgniteCacheDistributedJoinCollocatedAndNotTest.class);
    suite.addTestSuite(IgniteCacheDistributedJoinCustomAffinityMapper.class);
    suite.addTestSuite(IgniteCacheDistributedJoinNoIndexTest.class);
    suite.addTestSuite(IgniteCacheDistributedJoinPartitionedAndReplicatedTest.class);
    suite.addTestSuite(IgniteCacheDistributedJoinQueryConditionsTest.class);
    suite.addTestSuite(IgniteCacheDistributedJoinTest.class);
    suite.addTestSuite(IgniteCacheQueryNodeRestartDistributedJoinSelfTest.class);
    suite.addTestSuite(IgniteCacheQueryStopOnCancelOrTimeoutDistributedJoinSelfTest.class);
    suite.addTestSuite(IgniteSqlDistributedJoinSelfTest.class);
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite)

Example 98 with TestSuite

use of junit.framework.TestSuite in project ignite by apache.

the class IgniteLog4jTestSuite method suite.

/**
     * @return Test suite.
     * @throws Exception Thrown in case of the failure.
     */
public static TestSuite suite() throws Exception {
    TestSuite suite = new TestSuite("Log4j Logging Test Suite");
    suite.addTest(new TestSuite(GridLog4jInitializedTest.class));
    suite.addTest(new TestSuite(GridLog4jNotInitializedTest.class));
    suite.addTest(new TestSuite(GridLog4jCorrectFileNameTest.class));
    return suite;
}
Also used : GridLog4jInitializedTest(org.apache.ignite.logger.log4j.GridLog4jInitializedTest) TestSuite(junit.framework.TestSuite) GridLog4jNotInitializedTest(org.apache.ignite.logger.log4j.GridLog4jNotInitializedTest) GridLog4jCorrectFileNameTest(org.apache.ignite.logger.log4j.GridLog4jCorrectFileNameTest)

Example 99 with TestSuite

use of junit.framework.TestSuite in project ignite by apache.

the class IgniteExamplesJ8SelfTestSuite method suite.

/**
     * @return Suite.
     * @throws Exception If failed.
     */
public static TestSuite suite() throws Exception {
    System.setProperty(IGNITE_OVERRIDE_MCAST_GRP, GridTestUtils.getNextMulticastGroup(IgniteExamplesJ8SelfTestSuite.class));
    TestSuite suite = new TestSuite("Ignite Examples Test Suite");
    suite.addTest(new TestSuite(CacheExamplesSelfTest.class));
    suite.addTest(new TestSuite(BasicExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(ContinuationExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(ContinuousMapperExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(DeploymentExamplesSelfTest.class));
    suite.addTest(new TestSuite(EventsExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(LifecycleExamplesSelfTest.class));
    suite.addTest(new TestSuite(MessagingExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(MemcacheRestExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(MonteCarloExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(TaskExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(SpringBeanExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(IgfsExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(CheckpointExamplesSelfTest.class));
    //        suite.addTest(new TestSuite(HibernateL2CacheExampleSelfTest.class));
    //        suite.addTest(new TestSuite(ClusterGroupExampleSelfTest.class));
    // Multi-node.
    suite.addTest(new TestSuite(CacheExamplesMultiNodeSelfTest.class));
    suite.addTest(new TestSuite(BasicExamplesMultiNodeSelfTest.class));
    //        suite.addTest(new TestSuite(ContinuationExamplesMultiNodeSelfTest.class));
    //        suite.addTest(new TestSuite(ContinuousMapperExamplesMultiNodeSelfTest.class));
    //        suite.addTest(new TestSuite(DeploymentExamplesMultiNodeSelfTest.class));
    suite.addTest(new TestSuite(EventsExamplesMultiNodeSelfTest.class));
    return suite;
}
Also used : MessagingExamplesSelfTest(org.apache.ignite.java8.examples.MessagingExamplesSelfTest) EventsExamplesMultiNodeSelfTest(org.apache.ignite.java8.examples.EventsExamplesMultiNodeSelfTest) TestSuite(junit.framework.TestSuite) EventsExamplesSelfTest(org.apache.ignite.java8.examples.EventsExamplesSelfTest) CacheExamplesMultiNodeSelfTest(org.apache.ignite.java8.examples.CacheExamplesMultiNodeSelfTest) BasicExamplesSelfTest(org.apache.ignite.java8.examples.BasicExamplesSelfTest) BasicExamplesMultiNodeSelfTest(org.apache.ignite.java8.examples.BasicExamplesMultiNodeSelfTest) CacheExamplesSelfTest(org.apache.ignite.java8.examples.CacheExamplesSelfTest)

Example 100 with TestSuite

use of junit.framework.TestSuite in project jena by apache.

the class TestSAPGraph method suite.

public static junit.framework.Test suite() {
    TestSuite ts = new TestSuite();
    ts.addTestSuite(TestSAPIndexGraph.class);
    ts.addTestSuite(TestSAPIndexQuadGraph.class);
    ts.addTestSuite(TestSAPHashGraph.class);
    ts.addTestSuite(TestSAPHashQuadGraph.class);
    return ts;
}
Also used : TestSuite(junit.framework.TestSuite)

Aggregations

TestSuite (junit.framework.TestSuite)1380 InstrumentationTestSuite (android.test.InstrumentationTestSuite)100 Test (junit.framework.Test)63 GwtIncompatible (com.google.common.annotations.GwtIncompatible)54 JUnit4TestAdapter (junit.framework.JUnit4TestAdapter)50 TestCase (junit.framework.TestCase)48 Entry (java.util.Map.Entry)36 TestResult (junit.framework.TestResult)33 List (java.util.List)28 Set (java.util.Set)27 TestProjectSetup (org.eclipse.wst.jsdt.web.ui.tests.internal.TestProjectSetup)27 ArrayList (java.util.ArrayList)25 ListTestSuiteBuilder (com.google.common.collect.testing.ListTestSuiteBuilder)24 TestStringSetGenerator (com.google.common.collect.testing.TestStringSetGenerator)24 Map (java.util.Map)19 File (java.io.File)16 Method (java.lang.reflect.Method)16 HashSet (java.util.HashSet)13 Helpers.mapEntry (com.google.common.collect.testing.Helpers.mapEntry)12 TestStringMultisetGenerator (com.google.common.collect.testing.google.TestStringMultisetGenerator)12