diff options
author | xue <> | 2006-09-30 18:40:40 +0000 |
---|---|---|
committer | xue <> | 2006-09-30 18:40:40 +0000 |
commit | 1c32172efb18e8d08ea483e2460813670ebfe1a5 (patch) | |
tree | 8420f9e53eaba35d7b4822fac823197254f0d131 /tests/FunctionalTests | |
parent | 6b1d87352911e43672b46b7a65a3c90dd8e5b8b1 (diff) |
merge from 3.0 branch till 1451.
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r-- | tests/FunctionalTests/features/tests/MyTestCase.php | 19 | ||||
-rw-r--r-- | tests/FunctionalTests/quickstart/Advanced/I18N.php | 2 | ||||
-rw-r--r-- | tests/FunctionalTests/validators/tests/DatePickerTestCase.php | 2 |
3 files changed, 21 insertions, 2 deletions
diff --git a/tests/FunctionalTests/features/tests/MyTestCase.php b/tests/FunctionalTests/features/tests/MyTestCase.php new file mode 100644 index 00000000..cb26d709 --- /dev/null +++ b/tests/FunctionalTests/features/tests/MyTestCase.php @@ -0,0 +1,19 @@ +<?php
+
+class MyTestCase extends SeleniumTestCase
+{
+ function test1()
+ {
+ $this->open('http://127.0.0.1');
+ $this->assertTextNotPresent('asd');
+ }
+
+ function test2()
+ {
+ $this->skipBrowsers(self::FIREFOX);
+ $this->open('http://127.0.0.1');
+ $this->assertTextNotPresent('asd');
+ }
+}
+
+?>
\ No newline at end of file diff --git a/tests/FunctionalTests/quickstart/Advanced/I18N.php b/tests/FunctionalTests/quickstart/Advanced/I18N.php index 5b2af8c4..010b7da5 100644 --- a/tests/FunctionalTests/quickstart/Advanced/I18N.php +++ b/tests/FunctionalTests/quickstart/Advanced/I18N.php @@ -1,4 +1,4 @@ -<?php
+<?php
//New Test
class I18NTestCase extends SeleniumTestCase
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php index 75894dc0..8c40ee65 100644 --- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php +++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php @@ -17,7 +17,7 @@ class DatePickerTestCase extends SeleniumTestCase $this->click("{$base}submit1");
$this->assertVisible("{$base}validator1", "");
$this->assertNotVisible("{$base}validator2", "");
- $this->assertVisible("{$base}validator4", "");
+ $this->assertNotVisible("{$base}validator4", "");
$this->assertVisible("{$base}validator5", "");
$this->assertNotVisible("{$base}validator6", "");
$this->assertVisible("{$base}validator8", "");
|