Package fr.imag.adele.apam

Examples of fr.imag.adele.apam.Composite


  @Test
  public void CompositePromoteImplicitAndInternalbis_tct008() {
    CompositeType ctAV01 = (CompositeType) waitForImplByName(null,
        "AVEntertainment-01");
    Composite instAV00 = (Composite) ctAV01.createInstance(null, null);
    CompositeType ctDC00 = (CompositeType) waitForImplByName(null,
        "HomeDigitalContent-00");
    Composite instDC00 = (Composite) ctDC00.createInstance(null, null);

    apam.waitForIt(2000);

    auxListInstances();
    Instance instCtl = waitForInstByName(ctAV01,
View Full Code Here


  @Test
  public void CompositePromoteMultipleExplicitImplem_tct009() {
    CompositeType ctAV02 = (CompositeType) waitForImplByName(null,
        "AVEntertainment-02");
    Composite instAV02 = (Composite) ctAV02.createInstance(null, null);
    CompositeType ctDC00 = (CompositeType) waitForImplByName(null,
        "HomeDigitalContent-00");
    Composite instDC00 = (Composite) ctDC00.createInstance(null, null);

    Implementation tablet = waitForImplByName(null, "SmartTabletDevice");
    Assert.assertNotNull(
        "SmartTabletDevice implementation should not be null", tablet);
    tablet.createInstance(null, null);
View Full Code Here

  @Test
  public void CompositePromoteMultipleExplicitSpec_tct010() {
    CompositeType ctAV03 = (CompositeType) waitForImplByName(null,
        "AVEntertainment-03");
    Composite instAV02 = (Composite) ctAV03.createInstance(null, null);
    CompositeType ctDC00 = (CompositeType) waitForImplByName(null,
        "HomeDigitalContent-00");
    Composite instDC00 = (Composite) ctDC00.createInstance(null, null);
    Implementation tablet = waitForImplByName(null, "SmartTabletDevice");
    Assert.assertNotNull(
        "SmartTabletDevice implementation should not be null", tablet);
    tablet.createInstance(null, null);
View Full Code Here

  @Test
  public void CompositePromoteSingleExplicitImplem_tct011() {
    CompositeType ctAV02 = (CompositeType) waitForImplByName(null,
        "AVEntertainment-02");
    Composite instAV02 = (Composite) ctAV02.createInstance(null, null);
    CompositeType ctDC00 = (CompositeType) waitForImplByName(null,
        "HomeDigitalContent-00");
    Composite instDC00 = (Composite) ctDC00.createInstance(null, null);

    Implementation tablet = waitForImplByName(null, "SmartTabletDevice");
    Assert.assertNotNull(
        "SmartTabletDevice implementation should not be null", tablet);
    tablet.createInstance(null, null);
View Full Code Here

  @Test
  public void CompositePromoteSingleExplicitSpec_tct012() {
    CompositeType ctAV03 = (CompositeType) waitForImplByName(null,
        "AVEntertainment-03");
    Composite instAV02 = (Composite) ctAV03.createInstance(null, null);
    CompositeType ctDC00 = (CompositeType) waitForImplByName(null,
        "HomeDigitalContent-00");
    Composite instDC00 = (Composite) ctDC00.createInstance(null, null);

    Implementation tablet = waitForImplByName(null, "SmartTabletDevice");
    Assert.assertNotNull(
        "SmartTabletDevice implementation should not be null", tablet);
    tablet.createInstance(null, null);
View Full Code Here

    }

    public <T> T createInstance(CompositeType CompoType, Class<T> class1) {

  Composite instanceApp = (Composite) CompoType
    .createInstance(null, null);

  assertNotNull(instanceApp);

  T appSpec = class1.cast(instanceApp.getServiceObject());

  return appSpec;

    }
View Full Code Here

TOP

Related Classes of fr.imag.adele.apam.Composite

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.