Search in sources :

Example 11 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(new JUnit4TestAdapter(SchemaTest.class));
    suite.addTest(LayoutBlockTest.suite());
    suite.addTest(LayoutBlockManagerTest.suite());
    suite.addTest(BlockValueFileTest.suite());
    suite.addTest(LayoutBlockConnectivityToolsTest.suite());
    suite.addTest(LayoutTurnoutTest.suite());
    suite.addTest(LayoutConnectivityTest.suite());
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.display.layoutEditor.blockRoutingTable.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.display.layoutEditor.configurexml.PackageTest.class));
    suite.addTest(LayoutEditorActionTest.suite());
    suite.addTest(new JUnit4TestAdapter(LayoutEditorTest.class));
    suite.addTest(new JUnit4TestAdapter(LayoutEditorToolsTest.class));
    suite.addTest(new JUnit4TestAdapter(LayoutEditorAuxToolsTest.class));
    suite.addTest(new JUnit4TestAdapter(ConnectivityUtilTest.class));
    suite.addTest(new JUnit4TestAdapter(BlockContentsIconTest.class));
    suite.addTest(MultiIconEditorTest.suite());
    suite.addTest(new JUnit4TestAdapter(MultiSensorIconFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(LayoutTurntableTest.class));
    suite.addTest(new JUnit4TestAdapter(LevelXingTest.class));
    suite.addTest(new JUnit4TestAdapter(LayoutSlipTest.class));
    suite.addTest(new JUnit4TestAdapter(MemoryIconTest.class));
    suite.addTest(new JUnit4TestAdapter(PositionablePointTest.class));
    suite.addTest(new JUnit4TestAdapter(TrackNodeTest.class));
    suite.addTest(new JUnit4TestAdapter(TrackSegmentTest.class));
    suite.addTest(new JUnit4TestAdapter(TransitCreationToolTest.class));
    suite.addTest(LayoutEditorWindowTest.suite());
    suite.addTest(LEConnectivityTest.suite());
    suite.addTest(new JUnit4TestAdapter(LayoutEditorFindItemsTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 12 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.jython.PackageTest");
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(JythonWindowsTest.class));
    suite.addTest(SampleScriptTest.suite());
    suite.addTest(new JUnit4TestAdapter(InputWindowActionTest.class));
    suite.addTest(new JUnit4TestAdapter(InputWindowTest.class));
    suite.addTest(new JUnit4TestAdapter(JynstrumentFactoryTest.class));
    suite.addTest(new JUnit4TestAdapter(JythonWindowTest.class));
    suite.addTest(new JUnit4TestAdapter(JynstrumentTest.class));
    suite.addTest(new JUnit4TestAdapter(JynstrumentPopupMenuTest.class));
    suite.addTest(new JUnit4TestAdapter(RunJythonScriptTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 13 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(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new junit.framework.JUnit4TestAdapter(jmri.jmrit.display.switchboardEditor.configurexml.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(SwitchboardEditorTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 14 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.throttle.PackageTest");
    suite.addTest(new junit.framework.JUnit4TestAdapter(BundleTest.class));
    suite.addTest(AddressPanelTest.suite());
    suite.addTest(new JUnit4TestAdapter(BackgroundPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(ControlPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(ControlPanelPropertyEditorTest.class));
    suite.addTest(FunctionButtonTest.suite());
    suite.addTest(new JUnit4TestAdapter(FunctionButtonPropertyEditorTest.class));
    suite.addTest(new JUnit4TestAdapter(FunctionPanelTest.class));
    suite.addTest(LargePowerManagerButtonTest.suite());
    suite.addTest(LoadDefaultXmlThrottlesLayoutActionTest.suite());
    suite.addTest(LoadXmlThrottlesLayoutActionTest.suite());
    suite.addTest(SmallPowerManagerButtonTest.suite());
    suite.addTest(StopAllButtonTest.suite());
    suite.addTest(StoreDefaultXmlThrottlesLayoutActionTest.suite());
    suite.addTest(StoreXmlThrottlesLayoutActionTest.suite());
    suite.addTest(ThrottleCreationActionTest.suite());
    suite.addTest(new JUnit4TestAdapter(ThrottleFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(ThrottleFrameManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(ThrottleFramePropertyEditorTest.class));
    suite.addTest(ThrottlesListActionTest.suite());
    suite.addTest(ThrottlesPreferencesActionTest.suite());
    suite.addTest(ThrottlesPreferencesTest.suite());
    suite.addTest(ThrottlesPreferencesPaneTest.suite());
    suite.addTest(ThrottlesListPanelTest.suite());
    suite.addTest(ThrottlesTableCellRendererTest.suite());
    suite.addTest(ThrottlesTableModelTest.suite());
    suite.addTest(new JUnit4TestAdapter(KeyListenerInstallerTest.class));
    suite.addTest(new JUnit4TestAdapter(WindowPreferencesTest.class));
    return suite;
}
Also used : JUnit4TestAdapter(junit.framework.JUnit4TestAdapter) TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 15 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.getPackage().getName());
    suite.addTest(new JUnit4TestAdapter(JsonServerTest.class));
    suite.addTest(jmri.jmris.json.JsonTurnoutServerTest.suite());
    suite.addTest(jmri.jmris.json.JsonPowerServerTest.suite());
    suite.addTest(jmri.jmris.json.JsonReporterServerTest.suite());
    suite.addTest(jmri.jmris.json.JsonSensorServerTest.suite());
    suite.addTest(jmri.jmris.json.JsonLightServerTest.suite());
    suite.addTest(jmri.jmris.json.JsonOperationsServerTest.suite());
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonServerActionTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonServerManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonServerPreferencesPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonServerPreferencesTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonUtilTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonConnectionTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonClientHandlerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonConsistServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonProgrammerServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonRosterServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonRouteServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonSignalHeadServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonSignalMastServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonThrottleServerTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonThrottleTest.class));
    suite.addTest(new JUnit4TestAdapter(JsonTimeServerTest.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