Package org.openiaml.model.model.visual

Examples of org.openiaml.model.model.visual.Frame


   * @throws Exception
   */
  public void testNewInstanceWireExistsCheck() throws Exception {
    root = loadAndInfer(DomainInheritanceEditing.class);

    Frame page = assertHasFrame(root, "create a new student without autosave");
    InputForm form = assertHasInputForm(page, "new student form");
    DomainIterator studentInstance = assertHasDomainIterator(page, "new student");
    DomainInstance instance = studentInstance.getCurrentInstance();
    assertGenerated(instance);

View Full Code Here


   * @throws Exception
   */
  public void testExistsConditions() throws Exception {
    root = loadAndInfer(DomainInheritanceEditing.class);

    Frame page = assertHasFrame(root, "create a new student without autosave");
    DomainIterator instance = assertHasDomainIterator(page, "new student");

    // the 'exists?' PrimitiveCondition
    // it has no PrimitiveCondition or CompositeCondition whatsoever
    assertHasNoFunction(instance, "exists?");
View Full Code Here

   *
   * @throws Exception
   */
  public void testInitial() throws Exception {

    Frame home = assertHasFrame(root, "Home");

    InputForm form1 = assertHasInputForm(home, "form 1");
    InputForm form2 = assertHasInputForm(home, "form 2");
    InputForm form3 = assertHasInputForm(home, "form 3");

View Full Code Here

   *
   * @throws Exception
   */
  public void testForm1() throws Exception {

    Frame home = assertHasFrame(root, "Home");

    InputForm form1 = assertHasInputForm(home, "form 1");
    InputForm form2 = assertHasInputForm(home, "form 2");
    InputForm form3 = assertHasInputForm(home, "form 3");

View Full Code Here

   *
   * @throws Exception
   */
  public void testForm2() throws Exception {

    Frame home = assertHasFrame(root, "Home");

    InputForm form1 = assertHasInputForm(home, "form 1");
    InputForm form2 = assertHasInputForm(home, "form 2");
    InputForm form3 = assertHasInputForm(home, "form 3");

View Full Code Here

   *
   * @throws Exception
   */
  public void testForm3() throws Exception {

    Frame home = assertHasFrame(root, "Home");

    InputForm form1 = assertHasInputForm(home, "form 1");
    InputForm form2 = assertHasInputForm(home, "form 2");
    InputForm form3 = assertHasInputForm(home, "form 3");

View Full Code Here

    super.setUp();
    root = loadAndInfer(MapPointTextFieldInput.class);
  }

  public void testInitial() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    assertNotGenerated(home);

    InputTextField input = assertHasInputTextField(home, "select address");
    assertNotGenerated(input);
View Full Code Here

    assertNotGenerated(assertHasSetWire(root, input, point, "set"));
  }

  public void testGenerated() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputTextField input = assertHasInputTextField(home, "select address");
    MapPoint point = assertHasMapPoint(home, "target map point");

    // input.onChange -> point.update()
    Event onChange = input.getOnChange();
View Full Code Here

    super.setUp();
    root = loadAndInfer(MapTextFieldInput.class);
  }

  public void testInitial() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    assertNotGenerated(home);

    InputTextField input = assertHasInputTextField(home, "select address");
    assertNotGenerated(input);
View Full Code Here

    assertNotGenerated(assertHasSetWire(root, input, map, "set"));
  }

  public void testGenerated() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputTextField input = assertHasInputTextField(home, "select address");
    Map map = assertHasMap(home, "Target Map");

    // input.onChange -> point.update()
    Event onChange = input.getOnChange();
View Full Code Here

TOP

Related Classes of org.openiaml.model.model.visual.Frame

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.