Package limelight.model

Examples of limelight.model.FakeProduction


  }

  @Test
  public void shouldHasAnImageCache() throws Exception
  {
    FakeProduction production = new FakeProduction();
    root.setProduction(production);
    assertNotNull(root.getImageCache());
  }
View Full Code Here


  }

  @Test
  public void sceneGetLoaderFromOptions() throws Exception
  {
    root.setProduction(new FakeProduction("test_prod"));
    assertEquals("test_prod", root.getPath());

    root = new ScenePanel(new FakePropProxy(), new FakePlayerRecruiter());
    root.setProduction(new FakeProduction("/test_prod"));
    root.addOptions(Util.toMap("path", "some/path"));
    assertEquals("/test_prod/some/path", root.getPath());
  }
View Full Code Here

    root = new FakeScene();
    root.add(parent);
    root.styleStore = BuiltInStyles.all();

    root.setProduction(new FakeProduction());
  }
View Full Code Here

    root = new ScenePanel(new FakePropProxy(), new FakePlayerRecruiter());
    prop = new FakePropProxy();
    panel = new PropPanel(prop);
    root.add(panel);

    root.setProduction(new FakeProduction());
    root.setStage(new MockStage());
    style = panel.getStyle();

    CastingDirector.installed();
    FakeFileSystem.installed();
View Full Code Here

  }

  @Test
  public void riggerGetOpened() throws Exception
  {
    final FakeProduction production = new FakeProduction();
    studio.stubUtilitiesProduction(production);

    command.execute("-r", "/path");

    assertEquals("/path", studio.openedProduction);
View Full Code Here

  }

  @Before
  public void setUp() throws Exception
  {
    production = new FakeProduction();
    event = new TestableProductionEvent();
    action = new MockEventAction();
  }
View Full Code Here

TOP

Related Classes of limelight.model.FakeProduction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.