Search in sources :

Example 1 with MockRuntimeManager

use of com.serotonin.m2m2.MockRuntimeManager in project ma-core-public by MangoAutomation.

the class DataSourceServiceTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setRuntimeManager(new MockRuntimeManager(true));
    return lifecycle;
}
Also used : MockRuntimeManager(com.serotonin.m2m2.MockRuntimeManager) MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle)

Example 2 with MockRuntimeManager

use of com.serotonin.m2m2.MockRuntimeManager in project ma-core-public by MangoAutomation.

the class PermissionServiceTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setRuntimeManager(new MockRuntimeManager(true));
    return lifecycle;
}
Also used : MockRuntimeManager(com.serotonin.m2m2.MockRuntimeManager) MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle)

Example 3 with MockRuntimeManager

use of com.serotonin.m2m2.MockRuntimeManager in project ma-core-public by infiniteautomation.

the class SetPointEventHandlerServiceTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setRuntimeManager(new MockRuntimeManager(true));
    return lifecycle;
}
Also used : MockRuntimeManager(com.serotonin.m2m2.MockRuntimeManager) MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle)

Example 4 with MockRuntimeManager

use of com.serotonin.m2m2.MockRuntimeManager in project ma-core-public by infiniteautomation.

the class DataSourceServiceTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setRuntimeManager(new MockRuntimeManager(true));
    return lifecycle;
}
Also used : MockRuntimeManager(com.serotonin.m2m2.MockRuntimeManager) MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle)

Example 5 with MockRuntimeManager

use of com.serotonin.m2m2.MockRuntimeManager in project ma-core-public by infiniteautomation.

the class EmailEventHandlerServiceTest method getLifecycle.

@Override
protected MockMangoLifecycle getLifecycle() {
    MockMangoLifecycle lifecycle = super.getLifecycle();
    lifecycle.setRuntimeManager(new MockRuntimeManager(true));
    return lifecycle;
}
Also used : MockRuntimeManager(com.serotonin.m2m2.MockRuntimeManager) MockMangoLifecycle(com.serotonin.m2m2.MockMangoLifecycle)

Aggregations

MockMangoLifecycle (com.serotonin.m2m2.MockMangoLifecycle)8 MockRuntimeManager (com.serotonin.m2m2.MockRuntimeManager)8