Search in sources :

Example 1 with MockFrameManager

use of limelight.ui.model.MockFrameManager in project limelight by slagyr.

the class ContextTest method setUp.

public void setUp() throws Exception {
    Context.removeInstance();
    Context.instance().environment = "test";
    frameManager = new MockFrameManager();
    studio = new MockStudio();
    context = Context.instance();
    context.studio = studio;
    context.frameManager = frameManager;
    context.os = new MockOS();
}
Also used : MockOS(limelight.os.MockOS) MockStudio(limelight.model.api.MockStudio) MockFrameManager(limelight.ui.model.MockFrameManager)

Example 2 with MockFrameManager

use of limelight.ui.model.MockFrameManager in project limelight by slagyr.

the class StageEventTest method setUp.

@Before
public void setUp() throws Exception {
    assumeTrue(TestUtil.notHeadless());
    Context.instance().frameManager = new MockFrameManager();
    stage = new FramedStage("default", new MockStageProxy());
}
Also used : MockStageProxy(limelight.model.api.MockStageProxy) FramedStage(limelight.ui.model.FramedStage) MockFrameManager(limelight.ui.model.MockFrameManager) Before(org.junit.Before)

Aggregations

MockFrameManager (limelight.ui.model.MockFrameManager)2 MockStageProxy (limelight.model.api.MockStageProxy)1 MockStudio (limelight.model.api.MockStudio)1 MockOS (limelight.os.MockOS)1 FramedStage (limelight.ui.model.FramedStage)1 Before (org.junit.Before)1