Search in sources :

Example 56 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() {
    apps.tests.AllTest.initLogging();
    TestSuite suite = new TestSuite("jmri.jmrix.pricom.PricomTest");
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.pricom.pockettester.PackageTest.class));
    suite.addTest(jmri.jmrix.pricom.downloader.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(PricomMenuTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 57 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() {
    apps.tests.AllTest.initLogging();
    TestSuite suite = new TestSuite("jmri.jmrix.qsi.QsiTest");
    suite.addTest(jmri.jmrix.qsi.QsiTrafficControllerTest.suite());
    suite.addTest(jmri.jmrix.qsi.QsiMessageTest.suite());
    suite.addTest(jmri.jmrix.qsi.QsiReplyTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.qsi.serialdriver.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.qsi.qsimon.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.qsi.packetgen.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(QsiSystemConnectionMemoTest.class));
    suite.addTest(new JUnit4TestAdapter(QsiPortControllerTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.swing.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(QSIConnectionTypeListTest.class));
    suite.addTest(new JUnit4TestAdapter(QSIMenuTest.class));
    suite.addTest(new JUnit4TestAdapter(QsiProgrammerTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 58 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.jmrix.lenz.XNetTest");
    suite.addTest(new TestSuite(LenzCommandStationTest.class));
    suite.addTest(new JUnit4TestAdapter(LenzConnectionTypeListTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetMessageTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetReplyTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetTurnoutTest.class));
    suite.addTest(new TestSuite(XNetSensorTest.class));
    suite.addTest(new TestSuite(XNetLightTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetPacketizerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetTurnoutManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetSensorManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetLightManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetTrafficControllerTest.class));
    suite.addTest(new TestSuite(XNetTrafficRouterTest.class));
    suite.addTest(new TestSuite(XNetSystemConnectionMemoTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetThrottleTest.class));
    suite.addTest(new TestSuite(XNetConsistManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetConsistTest.class));
    suite.addTest(new TestSuite(XNetInitializationManagerTest.class));
    suite.addTest(new TestSuite(XNetProgrammerTest.class));
    suite.addTest(new TestSuite(XNetProgrammerManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetOpsModeProgrammerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetPowerManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetThrottleManagerTest.class));
    suite.addTest(new TestSuite(XNetExceptionTest.class));
    suite.addTest(new TestSuite(XNetMessageExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetStreamPortControllerTest.class));
    suite.addTest(jmri.jmrix.lenz.li100.PackageTest.suite());
    suite.addTest(jmri.jmrix.lenz.li100f.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.lenz.li101.PackageTest.class));
    suite.addTest(jmri.jmrix.lenz.liusb.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.lenz.xntcp.PackageTest.class));
    suite.addTest(jmri.jmrix.lenz.liusbserver.PackageTest.suite());
    suite.addTest(jmri.jmrix.lenz.liusbethernet.PackageTest.suite());
    suite.addTest(jmri.jmrix.lenz.xnetsimulator.PackageTest.suite());
    suite.addTest(jmri.jmrix.lenz.hornbyelite.PackageTest.suite());
    suite.addTest(jmri.jmrix.lenz.ztc640.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.lenz.swing.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.lenz.configurexml.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetNetworkPortControllerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetSerialPortControllerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetSimulatorPortControllerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetTimeSlotListenerTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetConstantsTest.class));
    suite.addTest(new JUnit4TestAdapter(XNetFeedbackMessageCacheTest.class));
    suite.addTest(new JUnit4TestAdapter(AbstractXNetSerialConnectionConfigTest.class));
    suite.addTest(new JUnit4TestAdapter(AbstractXNetInitializationManagerTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 59 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.jmrix.loconet.PackageTest");
    suite.addTest(jmri.jmrix.loconet.LocoNetThrottledTransmitterTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.locostats.swing.PackageTest.class));
    suite.addTest(jmri.jmrix.loconet.sdf.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.sdfeditor.PackageTest.class));
    suite.addTest(jmri.jmrix.loconet.locomon.PackageTest.suite());
    suite.addTest(jmri.jmrix.loconet.soundloader.PackageTest.suite());
    suite.addTest(jmri.jmrix.loconet.spjfile.PackageTest.suite());
    suite.addTest(new TestSuite(SlotManagerTest.class));
    suite.addTest(new TestSuite(LocoNetSlotTest.class));
    suite.addTest(new TestSuite(LnOpsModeProgrammerTest.class));
    suite.addTest(new TestSuite(LocoNetMessageTest.class));
    suite.addTest(new TestSuite(LnTrafficControllerTest.class));
    suite.addTest(new TestSuite(LnTrafficRouterTest.class));
    suite.addTest(new TestSuite(LnPacketizerTest.class));
    suite.addTest(new TestSuite(LocoNetThrottleTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoNetConsistTest.class));
    suite.addTest(new JUnit4TestAdapter(LnPowerManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(LnTurnoutTest.class));
    suite.addTest(new JUnit4TestAdapter(LnTurnoutManagerTest.class));
    suite.addTest(LnReporterTest.suite());
    suite.addTest(LnSensorTest.suite());
    suite.addTest(LnSensorAddressTest.suite());
    suite.addTest(new JUnit4TestAdapter(LnSensorManagerTest.class));
    suite.addTest(LnCommandStationTypeTest.suite());
    suite.addTest(new JUnit4TestAdapter(BundleTest.class));
    suite.addTest(jmri.jmrix.loconet.pr3.PackageTest.suite());
    suite.addTest(jmri.jmrix.loconet.hexfile.PackageTest.suite());
    suite.addTest(jmri.jmrix.loconet.lnsvf2.PackageTest.suite());
    suite.addTest(jmri.jmrix.loconet.downloader.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.configurexml.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.clockmon.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.cmdstnconfig.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.duplexgroup.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.locoid.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.slotmon.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.swing.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.bdl16.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.ds64.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.se8.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.pm4.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.Intellibox.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.bluetooth.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.locobuffer.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.locobufferii.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.locobufferusb.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.loconetovertcp.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.ms100.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.pr2.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.uhlenbrock.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(jmri.jmrix.loconet.locormi.PackageTest.class));
    suite.addTest(new JUnit4TestAdapter(LnReporterManagerTest.class));
    suite.addTest(jmri.jmrix.loconet.locoio.PackageTest.suite());
    suite.addTest(jmri.jmrix.loconet.locogen.PackageTest.suite());
    suite.addTest(new JUnit4TestAdapter(LnNetworkPortControllerTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoNetSystemConnectionMemoTest.class));
    suite.addTest(new JUnit4TestAdapter(LnPortControllerTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoNetExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoNetMessageExceptionTest.class));
    suite.addTest(new JUnit4TestAdapter(LnConnectionTypeListTest.class));
    suite.addTest(new JUnit4TestAdapter(LnConstantsTest.class));
    suite.addTest(new JUnit4TestAdapter(Ib1ThrottleManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(Ib1ThrottleTest.class));
    suite.addTest(new JUnit4TestAdapter(Ib2ThrottleManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(Ib2ThrottleTest.class));
    suite.addTest(new JUnit4TestAdapter(LNCPSignalMastTest.class));
    suite.addTest(new JUnit4TestAdapter(LnLightManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(LnLightTest.class));
    suite.addTest(new JUnit4TestAdapter(LnMessageManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(LnPr2ThrottleManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(Pr2ThrottleTest.class));
    suite.addTest(new JUnit4TestAdapter(LnClockControlTest.class));
    suite.addTest(new JUnit4TestAdapter(LnProgrammerManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(LnThrottleManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(LocoNetConsistManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(SE8cSignalHeadTest.class));
    suite.addTest(new JUnit4TestAdapter(UhlenbrockSlotManagerTest.class));
    suite.addTest(new JUnit4TestAdapter(UhlenbrockSlotTest.class));
    return suite;
}
Also used : TestSuite(junit.framework.TestSuite) JUnit4TestAdapter(junit.framework.JUnit4TestAdapter)

Example 60 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.jmrix.loconet.sdf.SdfTest");
    suite.addTest(InitiateSoundTest.suite());
    suite.addTest(PlayTest.suite());
    suite.addTest(SdfBufferTest.suite());
    suite.addTest(new JUnit4TestAdapter(BranchToTest.class));
    suite.addTest(new JUnit4TestAdapter(ChannelStartTest.class));
    suite.addTest(new JUnit4TestAdapter(CommentMacroTest.class));
    suite.addTest(new JUnit4TestAdapter(DelaySoundTest.class));
    suite.addTest(new JUnit4TestAdapter(EndSoundTest.class));
    suite.addTest(new JUnit4TestAdapter(FourByteMacroTest.class));
    suite.addTest(new JUnit4TestAdapter(GenerateTriggerTest.class));
    suite.addTest(new JUnit4TestAdapter(LabelMacroTest.class));
    suite.addTest(new JUnit4TestAdapter(MaskCompareTest.class));
    suite.addTest(new JUnit4TestAdapter(LoadModifierTest.class));
    suite.addTest(new JUnit4TestAdapter(SdlVersionTest.class));
    suite.addTest(new JUnit4TestAdapter(SkemeStartTest.class));
    suite.addTest(new JUnit4TestAdapter(SkipOnTriggerTest.class));
    suite.addTest(new JUnit4TestAdapter(TwoByteMacroTest.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