Examples of ProductionClosedEvent


Examples of limelight.model.events.ProductionClosedEvent

    FakeProduction production1 = new FakeProduction("One");
    FakeProduction production2 = new FakeProduction("Two");
    add(production1);
    add(production2);

    new ProductionClosedEvent().dispatch(production1);

    assertEquals(null, studio.get("One"));
    assertEquals(1, studio.getProductions().size());
  }
View Full Code Here

Examples of limelight.model.events.ProductionClosedEvent

  public void shouldShutdownWhenLastProductionIsClosed() throws Exception
  {
    FakeProduction production = new FakeProduction("Max");
    add(production);

    new ProductionClosedEvent().dispatch(production);

    assertEquals(true, context.wasShutdown);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.