From 903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 Mon Sep 17 00:00:00 2001 From: ctrlaltca <> Date: Thu, 12 Jul 2012 11:21:01 +0000 Subject: standardize the use of unix eol; use svn properties to enforce native eol --- .../quickstart/Controls/PagerTestCase.php | 114 ++++++++++----------- 1 file changed, 57 insertions(+), 57 deletions(-) (limited to 'tests/FunctionalTests/quickstart/Controls/PagerTestCase.php') diff --git a/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php b/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php index c1ff9209..fac4160f 100644 --- a/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/PagerTestCase.php @@ -1,58 +1,58 @@ -open("../../demos/quickstart/index.php?page=Controls.Samples.TPager.Sample1&notheme=true&lang=en", ""); - - // verify datalist content - $this->verifyTextPresent('ITN001',''); - $this->verifyTextPresent('ITN002',''); - $this->verifyTextNotPresent('ITN003',''); - - // verify numeric paging - $this->clickAndWait("ctl0_body_Pager_ctl1", ""); // 2nd page - $this->verifyTextPresent('ITN003',''); - $this->verifyTextPresent('ITN004',''); - $this->verifyTextNotPresent('ITN002',''); - $this->verifyTextNotPresent('ITN005',''); - $this->clickAndWait("ctl0_body_Pager_ctl3", ""); // 4rd page - $this->verifyTextPresent('ITN007',''); - $this->verifyTextPresent('ITN008',''); - $this->verifyTextNotPresent('ITN006',''); - $this->verifyTextNotPresent('ITN009',''); - $this->clickAndWait("ctl0_body_Pager_ctl6", ""); // last page - $this->verifyTextPresent('ITN019',''); - $this->verifyTextNotPresent('ITN018',''); - $this->verifyTextNotPresent('ITN001',''); - - // verify next-prev paging - $this->clickAndWait("ctl0_body_Pager2_ctl1", ""); // prev page - $this->verifyTextPresent('ITN017',''); - $this->verifyTextPresent('ITN018',''); - $this->verifyTextNotPresent('ITN019',''); - $this->verifyTextNotPresent('ITN016',''); - $this->clickAndWait("ctl0_body_Pager2_ctl0", ""); // first page - $this->verifyTextPresent('ITN001',''); - $this->verifyTextPresent('ITN002',''); - $this->verifyTextNotPresent('ITN003',''); - $this->clickAndWait("ctl0_body_Pager2_ctl2", ""); // next page - $this->verifyTextPresent('ITN003',''); - $this->verifyTextPresent('ITN004',''); - $this->verifyTextNotPresent('ITN002',''); - $this->verifyTextNotPresent('ITN005',''); - - $this->verifySelected("ctl0_body_Pager3_ctl0","label=2"); - $this->selectAndWait("ctl0_body_Pager3_ctl0", "label=5"); - $this->verifyTextPresent('ITN009',''); - $this->verifyTextPresent('ITN010',''); - $this->verifyTextNotPresent('ITN008',''); - $this->verifyTextNotPresent('ITN011',''); - $this->selectAndWait("ctl0_body_Pager3_ctl0", "label=10"); - $this->verifyTextPresent('ITN019',''); - $this->verifyTextNotPresent('ITN018',''); - } -} - +open("../../demos/quickstart/index.php?page=Controls.Samples.TPager.Sample1&notheme=true&lang=en", ""); + + // verify datalist content + $this->verifyTextPresent('ITN001',''); + $this->verifyTextPresent('ITN002',''); + $this->verifyTextNotPresent('ITN003',''); + + // verify numeric paging + $this->clickAndWait("ctl0_body_Pager_ctl1", ""); // 2nd page + $this->verifyTextPresent('ITN003',''); + $this->verifyTextPresent('ITN004',''); + $this->verifyTextNotPresent('ITN002',''); + $this->verifyTextNotPresent('ITN005',''); + $this->clickAndWait("ctl0_body_Pager_ctl3", ""); // 4rd page + $this->verifyTextPresent('ITN007',''); + $this->verifyTextPresent('ITN008',''); + $this->verifyTextNotPresent('ITN006',''); + $this->verifyTextNotPresent('ITN009',''); + $this->clickAndWait("ctl0_body_Pager_ctl6", ""); // last page + $this->verifyTextPresent('ITN019',''); + $this->verifyTextNotPresent('ITN018',''); + $this->verifyTextNotPresent('ITN001',''); + + // verify next-prev paging + $this->clickAndWait("ctl0_body_Pager2_ctl1", ""); // prev page + $this->verifyTextPresent('ITN017',''); + $this->verifyTextPresent('ITN018',''); + $this->verifyTextNotPresent('ITN019',''); + $this->verifyTextNotPresent('ITN016',''); + $this->clickAndWait("ctl0_body_Pager2_ctl0", ""); // first page + $this->verifyTextPresent('ITN001',''); + $this->verifyTextPresent('ITN002',''); + $this->verifyTextNotPresent('ITN003',''); + $this->clickAndWait("ctl0_body_Pager2_ctl2", ""); // next page + $this->verifyTextPresent('ITN003',''); + $this->verifyTextPresent('ITN004',''); + $this->verifyTextNotPresent('ITN002',''); + $this->verifyTextNotPresent('ITN005',''); + + $this->verifySelected("ctl0_body_Pager3_ctl0","label=2"); + $this->selectAndWait("ctl0_body_Pager3_ctl0", "label=5"); + $this->verifyTextPresent('ITN009',''); + $this->verifyTextPresent('ITN010',''); + $this->verifyTextNotPresent('ITN008',''); + $this->verifyTextNotPresent('ITN011',''); + $this->selectAndWait("ctl0_body_Pager3_ctl0", "label=10"); + $this->verifyTextPresent('ITN019',''); + $this->verifyTextNotPresent('ITN018',''); + } +} + ?> \ No newline at end of file -- cgit v1.2.3