Package fr.imag.adele.apam

Examples of fr.imag.adele.apam.Implementation.createInstance()


    @Test
    public void SubstitutionGetPropertyString_tc089() {
  Implementation impl = waitForImplByName(null,
    "MetasubstitutionStringTest");

  Instance instance = impl.createInstance(null, null);

  auxListProperties("\t", instance);

  Assert.assertTrue("geting property didnt work as expected", instance
    .getProperty("meta_string_retrieve").equals("goethe"));
View Full Code Here


    @Test
    public void SubstitutionGetPropertyWithDotInMiddleOfComponentName_tc093() {
  Implementation subjectAimpl = waitForImplByName(null, "impl-case-11");

  Instance subjectA = subjectAimpl.createInstance(null,
    Collections.singletonMap("property-subject-b", "bete"));

  auxListProperties("\t", subjectA);

  System.err.println("--->" + subjectA.getProperty("property-case-10"));
View Full Code Here

    @Test
    public void SubstitutionGetPropertyWithDotInMiddleOfComponentName_tc117() {
  Implementation subjectAimpl = waitForImplByName(null, "subject-a");

  Instance subjectA = subjectAimpl.createInstance(null, null);

  auxListProperties("\t", subjectA);

  System.err.println("--->" + subjectA.getProperty("property-case-10"));
View Full Code Here

    public void SubstitutionReachingMultipleNodes_tc122() {
  Implementation subjectAimpl = waitForImplByName(null, "subject-a");

  Implementation implementationAlpha = waitForImplByName(null,
    "impl-case-12-child");
  Instance instanceAlpha = implementationAlpha.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "alpha(child)");
        }
    });
View Full Code Here

    });

  Implementation implementationBravo = waitForImplByName(null,
    "impl-case-12-child");

  Instance instanceBravo = implementationBravo.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "bravo(child)");
        }
    });
View Full Code Here

        }
    });

  Implementation implementationCharlie = waitForImplByName(null,
    "impl-case-12");
  Instance instanceCharlie = implementationCharlie.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "charlie(parent)");
        }
    });
View Full Code Here

        }
    });

  Implementation implementationDelta = waitForImplByName(null,
    "impl-case-12");
  Instance instanceDelta = implementationDelta.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "delta(parent)");
        }
    });
View Full Code Here

    @Test
    public void SubstitutionReachingMultipleNodesWithInstsKeyword_tc123() {

  Implementation implementationCase12Child = waitForImplByName(null,
    "impl-case-12-child");
  Instance instanceAlpha = implementationCase12Child.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "alpha(child)");
        }
    });
View Full Code Here

    new HashMap<String, String>() {
        {
      put("property-subject-b", "alpha(child)");
        }
    });
  Instance instanceBravo = implementationCase12Child.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "bravo(child)");
        }
    });
View Full Code Here

        }
    });

  Implementation implementationCase12 = waitForImplByName(null,
    "impl-case-12");
  Instance instanceCharlie = implementationCase12.createInstance(null,
    new HashMap<String, String>() {
        {
      put("property-subject-b", "charlie(parent)");
        }
    });
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.