本文整理匯總了Java中org.apache.wicket.util.tester.WicketTester.assertRenderedPage方法的典型用法代碼示例。如果您正苦於以下問題:Java WicketTester.assertRenderedPage方法的具體用法?Java WicketTester.assertRenderedPage怎麽用?Java WicketTester.assertRenderedPage使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.apache.wicket.util.tester.WicketTester
的用法示例。
在下文中一共展示了WicketTester.assertRenderedPage方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: test001BasicRender
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test
public void test001BasicRender() {
WicketTester tester = new WicketTester();
PageLogin page = tester.startPage(PageLogin.class);
tester.assertRenderedPage(PageUser.class);
}
示例2: testBasicRender
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test(enabled = false)
public void testBasicRender() {
WicketTester tester = new WicketTester();
PageUser page = tester.startPage(PageUser.class);
tester.assertRenderedPage(PageUser.class);
}
示例3: testBasicRender
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test
public void testBasicRender() {
WicketTester tester = new WicketTester();
tester.startPage(page);
tester.assertRenderedPage(page);
}
示例4: testApplication
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test
public void testApplication() {
WicketTester wicketTester = testService.getWicketTester();
wicketTester.startPage(Homepage.class);
wicketTester.assertRenderedPage(Homepage.class);
}
示例5: testMountedPage
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test
public void testMountedPage() {
WicketTester wicketTester = testService.getWicketTester();
wicketTester.startPage(MountedPage.class);
wicketTester.assertRenderedPage(MountedPage.class);
}
示例6: testHighscores
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test
public void testHighscores() {
WicketTester wicketTester = testService.getWicketTester();
wicketTester.startPage(HighscoresPage.class);
wicketTester.assertRenderedPage(HighscoresPage.class);
}
示例7: testUsers
import org.apache.wicket.util.tester.WicketTester; //導入方法依賴的package包/類
@Test
public void testUsers() {
WicketTester wicketTester = testService.getWicketTester();
wicketTester.startPage(UsersPage.class);
wicketTester.assertRenderedPage(UsersPage.class);
}