summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.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/BulletedListTestCase.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php')
-rw-r--r--tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php74
1 files changed, 37 insertions, 37 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php b/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php
index 23107824..e1987e38 100644
--- a/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php
+++ b/tests/FunctionalTests/quickstart/Controls/BulletedListTestCase.php
@@ -1,38 +1,38 @@
-<?php
-
-class BulletedListTestCase extends SeleniumTestCase
-{
- function test()
- {
- $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TBulletedList.Home&amp;notheme=true&amp;lang=en", "");
-
- // verify if all required texts are present
- $this->verifyTextPresent('item 1','');
- $this->verifyTextPresent('item 2','');
- $this->verifyTextPresent('item 3','');
- $this->verifyTextPresent('item 4','');
- $this->verifyTextPresent('google','');
- $this->verifyTextPresent('yahoo','');
- $this->verifyTextPresent('amazon','');
-
- // verify order list starting from 5
- $this->verifyElementPresent("//ol[@start='5']");
-
- // unable to verify styles
-
- // verify hyperlink list
- $this->verifyElementPresent("//a[@href='http://www.google.com/']");
- $this->verifyElementPresent("//a[@href='http://www.yahoo.com/']");
- $this->verifyElementPresent("//a[@href='http://www.amazon.com/']");
-
- // verify linkbutton list
- $this->clickAndWait("id=ctl0_body_ctl40", "");
- $this->verifyTextPresent("You clicked google : http://www.google.com/.", "");
- $this->clickAndWait("id=ctl0_body_ctl41", "");
- $this->verifyTextPresent("You clicked yahoo : http://www.yahoo.com/.", "");
- $this->clickAndWait("id=ctl0_body_ctl42", "");
- $this->verifyTextPresent("You clicked amazon : http://www.amazon.com/.", "");
- }
-}
-
+<?php
+
+class BulletedListTestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TBulletedList.Home&amp;notheme=true&amp;lang=en", "");
+
+ // verify if all required texts are present
+ $this->verifyTextPresent('item 1','');
+ $this->verifyTextPresent('item 2','');
+ $this->verifyTextPresent('item 3','');
+ $this->verifyTextPresent('item 4','');
+ $this->verifyTextPresent('google','');
+ $this->verifyTextPresent('yahoo','');
+ $this->verifyTextPresent('amazon','');
+
+ // verify order list starting from 5
+ $this->verifyElementPresent("//ol[@start='5']");
+
+ // unable to verify styles
+
+ // verify hyperlink list
+ $this->verifyElementPresent("//a[@href='http://www.google.com/']");
+ $this->verifyElementPresent("//a[@href='http://www.yahoo.com/']");
+ $this->verifyElementPresent("//a[@href='http://www.amazon.com/']");
+
+ // verify linkbutton list
+ $this->clickAndWait("id=ctl0_body_ctl40", "");
+ $this->verifyTextPresent("You clicked google : http://www.google.com/.", "");
+ $this->clickAndWait("id=ctl0_body_ctl41", "");
+ $this->verifyTextPresent("You clicked yahoo : http://www.yahoo.com/.", "");
+ $this->clickAndWait("id=ctl0_body_ctl42", "");
+ $this->verifyTextPresent("You clicked amazon : http://www.amazon.com/.", "");
+ }
+}
+
?> \ No newline at end of file