Search in sources :

Example 6 with MockRuntimeManager

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

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 7 with MockRuntimeManager

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

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 8 with MockRuntimeManager

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

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