Examples of assertRenderedPage()


Examples of org.apache.wicket.util.tester.WicketTester.assertRenderedPage()

    FormTester formTester = tester.newFormTester("signInPanel:signInForm");
    formTester.setValue("username", "wicket");
    formTester.setValue("password", "wicket");
    formTester.submit();

    tester.assertRenderedPage(Home.class);
    tester.assertContains("Wicket Examples - library");
    tester.assertLabel("books:0:author", "Effective Java (Joshua Bloch)");
  }
}
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.