Search in sources :

Example 41 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.display");
    suite.addTest(new JUnit4TestAdapter(SchemaTest.class));
    suite.addTest(PositionableLabelTest.suite());
    suite.addTest(LinkingLabelTest.suite());
    suite.addTest(MemoryIconTest.suite());
    suite.addTest(MemorySpinnerIconTest.suite());
    suite.addTest(new JUnit4TestAdapter(PanelEditorTest.class));
    suite.addTest(ReporterIconTest.suite());
    suite.addTest(RpsPositionIconTest.suite());
    suite.addTest(SensorIconWindowTest.suite());
    suite.addTest(SignalMastIconTest.suite());
    suite.addTest(new JUnit4TestAdapter(SignalSystemTest.class));
    suite.addTest(TurnoutIconWindowTest.suite());
    suite.addTest(TurnoutIconTest.suite());
    suite.addTest(IndicatorTurnoutIconTest.suite());
    suite.addTest(IconEditorWindowTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.display.configurexml.PackageTest.class));
    suite.addTest(jmri.jmrit.display.switchboardEditor.PackageTest.suite());
    suite.addTest(jmri.jmrit.display.layoutEditor.PackageTest.suite());
    suite.addTest(jmri.jmrit.display.panelEditor.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.display.palette.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.display.controlPanelEditor.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(SensorTextEditTest.class));
    suite.addTest(new JUnit4TestAdapter(AnalogClock2DisplayTest.class));
    suite.addTest(new JUnit4TestAdapter(BlockContentsIconTest.class));
    suite.addTest(new JUnit4TestAdapter(CoordinateEditTest.class));
    suite.addTest(new JUnit4TestAdapter(IconAdderTest.class));
    suite.addTest(new JUnit4TestAdapter(IndicatorTrackIconTest.class));
    suite.addTest(new JUnit4TestAdapter(IndicatorTrackPathsTest.class));
    suite.addTest(new JUnit4TestAdapter(LightIconTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoIconTest.class));
    suite.addTest(new JUnit4TestAdapter(MemoryComboIconTest.class));
    suite.addTest(new JUnit4TestAdapter(MemoryIconCoordinateEditTest.class));
    suite.addTest(new JUnit4TestAdapter(MultiIconEditorTest.class));
    suite.addTest(new JUnit4TestAdapter(MultiSensorIconTest.class));
    suite.addTest(new JUnit4TestAdapter(MultiSensorIconAdderTest.class));
    suite.addTest(new JUnit4TestAdapter(PositionableIconTest.class));
    suite.addTest(new JUnit4TestAdapter(SensorIconTest.class));
    suite.addTest(new JUnit4TestAdapter(SignalHeadIconTest.class));
    suite.addTest(new JUnit4TestAdapter(SlipIconAdderTest.class));
    suite.addTest(new JUnit4TestAdapter(SlipTurnoutIconTest.class));
    suite.addTest(new JUnit4TestAdapter(SlipTurnoutTextEditTest.class));
    suite.addTest(new JUnit4TestAdapter(NewPanelActionTest.class));
    suite.addTest(new JUnit4TestAdapter(MemoryInputIconTest.class));
    suite.addTest(new JUnit4TestAdapter(PositionableJComponentTest.class));
    suite.addTest(new JUnit4TestAdapter(PositionableJPanelTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 42 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.symbolicprog.tabbedframe.PackageTest");
    suite.addTest(new JUnit4TestAdapter(PaneProgPaneTest.class));
    suite.addTest(jmri.jmrit.symbolicprog.tabbedframe.PaneProgFrameTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.symbolicprog.tabbedframe.CheckProgrammerNamesTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.symbolicprog.tabbedframe.SchemaTest.class));
    suite.addTest(jmri.jmrit.symbolicprog.tabbedframe.QualifiedVarTest.suite());
    suite.addTest(new JUnit4TestAdapter(PaneEditActionTest.class));
    suite.addTest(new JUnit4TestAdapter(PaneNewProgActionTest.class));
    suite.addTest(new JUnit4TestAdapter(PaneOpsProgActionTest.class));
    suite.addTest(new JUnit4TestAdapter(PaneProgActionTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 43 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.ussctc.PackageTest");
    suite.addTest(jmri.jmrit.ussctc.FollowerTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.ussctc.FollowerActionTest.class));
    suite.addTest(jmri.jmrit.ussctc.OsIndicatorTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrit.ussctc.OsIndicatorActionTest.class));
    suite.addTest(new JUnit4TestAdapter(BasePanelTest.class));
    suite.addTest(new JUnit4TestAdapter(FollowerFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(FollowerPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(OsIndicatorFrameTest.class));
    suite.addTest(new JUnit4TestAdapter(OsIndicatorPanelTest.class));
    suite.addTest(new JUnit4TestAdapter(ToolsMenuTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 44 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.util.exceptionhandler.PackageTest");
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(UncaughtExceptionHandlerTest.suite());
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 45 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(MultiJfcUnitTest.suite());
    suite.addTest(new JUnit4TestAdapter(MultiPaneWindowTest.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