Search in sources :

Example 1 with TestConsistManager

use of jmri.jmrit.consisttool.TestConsistManager in project JMRI by JMRI.

the class ConsistControllerTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    apps.tests.Log4JFixture.setUp();
    InstanceManager.setDefault(ConsistManager.class, new TestConsistManager());
    InstanceManager.setDefault(NamedBeanHandleManager.class, new NamedBeanHandleManager());
}
Also used : NamedBeanHandleManager(jmri.NamedBeanHandleManager) TestConsistManager(jmri.jmrit.consisttool.TestConsistManager)

Example 2 with TestConsistManager

use of jmri.jmrit.consisttool.TestConsistManager in project JMRI by JMRI.

the class WiFiConsistFileTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    apps.tests.Log4JFixture.setUp();
    JUnitUtil.resetInstanceManager();
    InstanceManager.setDefault(ConsistManager.class, new TestConsistManager());
}
Also used : TestConsistManager(jmri.jmrit.consisttool.TestConsistManager)

Aggregations

TestConsistManager (jmri.jmrit.consisttool.TestConsistManager)2 NamedBeanHandleManager (jmri.NamedBeanHandleManager)1