Package fr.imag.adele.apam.test.lights.panel

Examples of fr.imag.adele.apam.test.lights.panel.LightManagerTester


        "LightManagerPanel");

    Instance inst = implementation.createInstance(null,
        Collections.<String, String> emptyMap());

    LightManagerTester tester = (LightManagerTester) inst
        .getServiceObject();

    // Wait for the binding between components
    try {
      Thread.sleep(500);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }

    try {
      tester.testButtonKitchen();
    } catch (Exception exc) {
      Assert.fail("testButtonKitchen() -> " + exc.getMessage());
    }
  }
View Full Code Here


    Implementation implementation = waitForImplByName(null,
        "LightManagerPanel");

    Instance inst = implementation.createInstance(null, null);

    LightManagerTester tester = (LightManagerTester) inst
        .getServiceObject();

    // Wait for the binding between components
    try {
      Thread.sleep(500);
    } catch (InterruptedException e) {
      e.printStackTrace();
    }

    try {
      tester.testButtonLiving();
    } catch (Exception exc) {
      Assert.fail("testButtonLiving() -> " + exc.getMessage());
    }
  }
View Full Code Here

TOP

Related Classes of fr.imag.adele.apam.test.lights.panel.LightManagerTester

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.