Package org.openiaml.model.model.visual

Examples of org.openiaml.model.model.visual.InputForm


  public void testPrimaryKeyNotInputField() throws Exception {
    root = loadAndInfer(UserRolesLoginHandler.class);

    Session loginSession = assertHasSession(root, "user login handler login");
    Frame login = assertHasFrame(loginSession, "login");
    InputForm form = assertHasInputForm(login, "login form");

    InputTextField email = assertHasInputTextField(form, "email");
    assertGenerated(email);
    InputTextField password = assertHasInputTextField(form, "password");
    assertGenerated(password);
View Full Code Here


    assertNotGenerated(home);

    DomainIterator instance = assertHasDomainIterator(home, "view news");
    assertNotGenerated(instance);

    InputForm form = assertHasInputForm(home, "view news");
    assertNotGenerated(form);

    DomainType object = assertHasDomainType(root, "News Item");
    assertNotGenerated(object);
View Full Code Here

   *
   * @throws Exception
   */
  public void testLabelsCreated() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");

    Label t1 = assertHasLabel(form, "title");
    Label t2 = assertHasLabel(form, "content");

    assertGenerated(t1);
View Full Code Here

   *
   * @throws Exception
   */
  public void testFormHasNavigationButtons() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");

    Button next = assertHasButton(form, "Next");
    Button previous = assertHasButton(form, "Previous");
    Button first = assertHasButton(form, "First");
    Button last = assertHasButton(form, "Last");
View Full Code Here

   *
   * @throws Exception
   */
  public void testButtonNext() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");

    DomainIterator instance = assertHasDomainIterator(home, "view news");

    Operation inext = instance.getNext();
    Function hasNext = instance.getHasNext();
View Full Code Here

   *
   * @throws Exception
   */
  public void testButtonPrevious() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");

    DomainIterator instance = assertHasDomainIterator(home, "view news");
    Operation iprevious = instance.getPrevious();
    Function hasPrevious = instance.getHasPrevious();

View Full Code Here

   *
   * @throws Exception
   */
  public void testButtonFirst() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");

    DomainIterator instance = assertHasDomainIterator(home, "view news");
    Operation ireset = instance.getReset();

    // we need to reverse 'empty' into Function 'not empty'
View Full Code Here

   *
   * @throws Exception
   */
  public void testButtonLast() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");

    DomainIterator instance = assertHasDomainIterator(home, "view news");
    Operation ijump = instance.getJump();

    // we need to reverse 'empty' into Function 'not empty'
View Full Code Here

   *
   * @throws Exception
   */
  public void testLastButtonUpdatesTargetProperty() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");
    DomainIterator instance = assertHasDomainIterator(home, "view news");
    Operation ijump = instance.getJump();

    // we need to reverse 'empty' into Function 'not empty'
    ActivityPredicate notEmpty = assertHasActivityPredicate(instance, "not empty");
View Full Code Here

   * Test the contents of 'update target' operation.
   * @throws Exception
   */
  public void testContentsOfUpdateTarget() throws Exception {
    Frame home = assertHasFrame(root, "Home");
    InputForm form = assertHasInputForm(home, "view news");
    DomainIterator instance = assertHasDomainIterator(home, "view news");
    Value results = instance.getResults();

    Button last = assertHasButton(form, "Last");
    ActivityOperation op = assertHasActivityOperation(last, "update target");
View Full Code Here

TOP

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

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.