summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php')
-rw-r--r--tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php72
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php b/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php
index 60d68d33..e1922ffd 100644
--- a/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/Repeater3TestCase.php
@@ -1,37 +1,37 @@
-<?php
-
-class Repeater3TestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample3&amp;notheme=true&amp;lang=en", "");
-
- // verify product name is required
- $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl0');
- $this->type("ctl0_body_Repeater_ctl0_ProductName", "");
- $this->click("//input[@type='submit' and @value='Save']", "");
- $this->verifyVisible('ctl0_body_Repeater_ctl0_ctl0');
-
- // verify product price is of proper format
- $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl1');
- $this->type("ctl0_body_Repeater_ctl0_ProductPrice", "abc");
- $this->click("//input[@type='submit' and @value='Save']", "");
- $this->verifyVisible('ctl0_body_Repeater_ctl0_ctl1');
-
- // perform postback
- $this->click("ctl0_body_Repeater_ctl0_ProductImported",'');
- $this->type("ctl0_body_Repeater_ctl0_ProductName", "Mother Board");
- $this->type("ctl0_body_Repeater_ctl0_ProductPrice", "99.01");
- $this->select("ctl0_body_Repeater_ctl3_ProductCategory", "label=Accessories");
- $this->clickAndWait("//input[@type='submit' and @value='Save']", "");
- $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl0');
- $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl1');
-
- // verify postback results
- $this->verifyElementPresent("//td[text()='Mother Board']",'');
- $this->verifyElementNotPresent("//td[text()='Input Devices']",'');
- $this->verifyElementPresent("//td[text()='99.01']",'');
- }
-}
-
+<?php
+
+class Repeater3TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TRepeater.Sample3&amp;notheme=true&amp;lang=en", "");
+
+ // verify product name is required
+ $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl0');
+ $this->type("ctl0_body_Repeater_ctl0_ProductName", "");
+ $this->click("//input[@type='submit' and @value='Save']", "");
+ $this->verifyVisible('ctl0_body_Repeater_ctl0_ctl0');
+
+ // verify product price is of proper format
+ $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl1');
+ $this->type("ctl0_body_Repeater_ctl0_ProductPrice", "abc");
+ $this->click("//input[@type='submit' and @value='Save']", "");
+ $this->verifyVisible('ctl0_body_Repeater_ctl0_ctl1');
+
+ // perform postback
+ $this->click("ctl0_body_Repeater_ctl0_ProductImported",'');
+ $this->type("ctl0_body_Repeater_ctl0_ProductName", "Mother Board");
+ $this->type("ctl0_body_Repeater_ctl0_ProductPrice", "99.01");
+ $this->select("ctl0_body_Repeater_ctl3_ProductCategory", "label=Accessories");
+ $this->clickAndWait("//input[@type='submit' and @value='Save']", "");
+ $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl0');
+ $this->verifyNotVisible('ctl0_body_Repeater_ctl0_ctl1');
+
+ // verify postback results
+ $this->verifyElementPresent("//td[text()='Mother Board']",'');
+ $this->verifyElementNotPresent("//td[text()='Input Devices']",'');
+ $this->verifyElementPresent("//td[text()='99.01']",'');
+ }
+}
+
?> \ No newline at end of file