Search in sources :

Example 46 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project JMRI by JMRI.

the class PackageTest method suite.

// test suite from all defined tests
public static Test suite() {
    TestSuite suite = new TestSuite(PackageTest.class.getName());
    suite.addTest(SdiJfcUnitTest.suite());
    suite.addTest(new JUnit4TestAdapter(SdiWindowTest.class));
    suite.addTest(new JUnit4TestAdapter(JmriJFrameInterfaceTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 47 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project JMRI by JMRI.

the class PackageTest method suite.

// test suite from all defined tests
public static Test suite() {
    // no tests in this class itself
    TestSuite suite = new TestSuite("jmri.PackageTest");
    suite.addTest(jmri.BeanSettingTest.suite());
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(jmri.NamedBeanHandleManagerTest.suite());
    suite.addTest(jmri.BlockTest.suite());
    suite.addTest(jmri.BlockManagerTest.suite());
    suite.addTest(jmri.DccLocoAddressTest.suite());
    suite.addTest(jmri.InstanceManagerTest.suite());
    suite.addTest(jmri.NamedBeanTest.suite());
    suite.addTest(jmri.LightTest.suite());
    suite.addTest(new JUnit4TestAdapter(NmraPacketTest.class));
    suite.addTest(jmri.ConditionalVariableTest.suite());
    suite.addTest(jmri.PathTest.suite());
    suite.addTest(jmri.PathLengthTest.suite());
    suite.addTest(jmri.PushbuttonPacketTest.suite());
    suite.addTest(new JUnit4TestAdapter(SectionTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.SignalGroupTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.SignalMastLogicTest.class));
    suite.addTest(new JUnit4TestAdapter(TransitTest.class));
    suite.addTest(new JUnit4TestAdapter(TransitSectionTest.class));
    suite.addTest(new JUnit4TestAdapter(TransitSectionActionTest.class));
    suite.addTest(jmri.TurnoutTest.suite());
    suite.addTest(jmri.TurnoutOperationTest.suite());
    suite.addTest(jmri.ApplicationTest.suite());
    suite.addTest(jmri.AudioTest.suite());
    suite.addTest(jmri.IdTagTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.SchemaTest.class));
    suite.addTest(jmri.ProgrammingModeTest.suite());
    suite.addTest(new JUnit4TestAdapter(VersionTest.class));
    suite.addTest(jmri.beans.PackageTest.suite());
    suite.addTest(jmri.progdebugger.PackageTest.suite());
    suite.addTest(jmri.configurexml.PackageTest.suite());
    suite.addTest(jmri.implementation.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.managers.PackageTest.class));
    suite.addTest(jmri.jmrix.PackageTest.suite());
    suite.addTest(jmri.jmrit.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.swing.PackageTest.class));
    suite.addTest(jmri.util.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.web.PackageTest.class));
    suite.addTest(jmri.jmris.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.profile.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.server.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.plaf.PackageTest.class));
    suite.addTest(jmri.script.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(AudioExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(JmriExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(ProgrammerExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(ProgReadExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(ProgWriteExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(TimebaseRateExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.spi.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(JmriPluginTest.class));
    suite.addTest(new JUnit4TestAdapter(MetadataTest.class));
    suite.addTest(new JUnit4TestAdapter(NoFeedbackTurnoutOperationTest.class));
    suite.addTest(new JUnit4TestAdapter(RawTurnoutOperationTest.class));
    suite.addTest(new JUnit4TestAdapter(ScaleTest.class));
    suite.addTest(new JUnit4TestAdapter(SectionManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(SensorTurnoutOperationTest.class));
    suite.addTest(new JUnit4TestAdapter(TransitManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(TurnoutOperationManagerTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 48 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project JMRI by JMRI.

the class PackageTest method suite.

// test suite from all defined tests, including others in the package
public static Test suite() {
    // no tests in this class itself
    TestSuite suite = new TestSuite("jmri.configurexml.PackageTest");
    suite.addTest(new JUnit4TestAdapter(SchemaTest.class));
    suite.addTest(new JUnit4TestAdapter(LoadAndCheckTest.class));
    suite.addTest(new JUnit4TestAdapter(LoadAndStoreTest.class));
    suite.addTest(ConfigXmlManagerTest.suite());
    suite.addTest(BlockManagerXmlTest.suite());
    //suite.addTest(OBlockManagerXmlTest.suite());
    suite.addTest(SectionManagerXmlTest.suite());
    suite.addTest(new JUnit4TestAdapter(TransitManagerXmlTest.class));
    suite.addTest(DefaultJavaBeanConfigXMLTest.suite());
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(DccLocoAddressXmlTest.class));
    suite.addTest(new JUnit4TestAdapter(JmriConfigureXmlExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.configurexml.turnoutoperations.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.configurexml.swing.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(ErrorHandlerTest.class));
    suite.addTest(new JUnit4TestAdapter(LoadXmlConfigActionTest.class));
    suite.addTest(new JUnit4TestAdapter(LoadXmlUserActionTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoAddressXmlTest.class));
    suite.addTest(new JUnit4TestAdapter(SaveMenuTest.class));
    suite.addTest(new JUnit4TestAdapter(StoreXmlAllActionTest.class));
    suite.addTest(new JUnit4TestAdapter(StoreXmlConfigActionTest.class));
    suite.addTest(new JUnit4TestAdapter(StoreXmlUserActionTest.class));
    suite.addTest(new JUnit4TestAdapter(TurnoutOperationManagerXmlTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 49 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project JMRI by JMRI.

the class PackageTest method suite.

// test suite from all defined tests
public static Test suite() {
    TestSuite suite = new TestSuite("jmri.jmrit.decoderdefn");
    suite.addTest(IdentifyDecoderTest.suite());
    suite.addTest(DecoderIndexFileTest.suite());
    suite.addTest(DecoderFileTest.suite());
    suite.addTest(new JUnit4TestAdapter(SchemaTest.class));
    suite.addTest(new JUnit4TestAdapter(DecoderIndexBuilderTest.class));
    suite.addTest(new JUnit4TestAdapter(NameCheckActionTest.class));
    suite.addTest(new JUnit4TestAdapter(DecoderIndexCreateActionTest.class));
    suite.addTest(new JUnit4TestAdapter(InstallDecoderFileActionTest.class));
    suite.addTest(new JUnit4TestAdapter(InstallDecoderURLActionTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 50 with JUnit4TestAdapter

use of junit.framework.JUnit4TestAdapter in project JMRI by JMRI.

the class PackageTest method suite.

// test suite from all defined tests
public static Test suite() {
    // no tests in this class itself
    TestSuite suite = new TestSuite("jmri.jmrit.logix.PackageTest");
    //		Something wrong in the xsd files?  maybe using -2-9-6 version?
    suite.addTest(new JUnit4TestAdapter(SchemaTest.class));
    suite.addTest(new JUnit4TestAdapter(OBlockTest.class));
    suite.addTest(new JUnit4TestAdapter(OBlockManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(OPathTest.class));
    suite.addTest(new JUnit4TestAdapter(PortalTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantTest.class));
    suite.addTest(new JUnit4TestAdapter(LogixActionTest.class));
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.logix.configurexml.PackageTest.class));
    //formerly NXWarrantTest        
    suite.addTest(NXFrameTest.suite());
    suite.addTest(LearnWarrantTest.suite());
    suite.addTest(new JUnit4TestAdapter(PortalManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(ThrottleSettingTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantPreferencesPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantPreferencesTest.class));
    suite.addTest(new JUnit4TestAdapter(TrackerTableActionTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantTableActionTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantTableFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(WarrantTableModelTest.class));
    suite.addTest(new JUnit4TestAdapter(LearnThrottleFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(TrackerTest.class));
    suite.addTest(new JUnit4TestAdapter(BlockOrderTest.class));
    suite.addTest(new JUnit4TestAdapter(ControlPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(OpSessionLogTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

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