summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/validators')
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/assets/.gitignore0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/index.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/Button.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/Button.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/CausesValidation.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/CheckBox.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/CheckBox.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/CompareValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/ConditionalValidation.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php1
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/CustomValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/CustomValidator.php1
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/DatePicker.page0
-rwxr-xr-xtests/FunctionalTests/validators/protected/pages/Home.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/ImageButton.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/ImageButton.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/Layout.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/Layout.tpl0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/LinkButton.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/LinkButton.php2
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/ListControl.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RangeValidatorDate.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RangeValidatorFloat.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RangeValidatorInteger.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RangeValidatorString.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RequiredFieldValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/ValidationSummary.page0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/pages/config.xml0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/protected/runtime/.gitignore0
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/ButtonTestCase.php4
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/CheckBoxTestCase.php7
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php4
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/ConditionalValidationTestCase.php3
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php4
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php3
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/DatePickerTestCase.php3
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/ImageButtonTestCase.php4
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/LinkButtonTestCase.php4
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/ListControlTestCase.php6
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/RangeValidatorTestCase.php3
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/RegExpValidatorTestCase.php4
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php8
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/RequiredListTestCase.php7
-rwxr-xr-x[-rw-r--r--]tests/FunctionalTests/validators/tests/ValidationSummaryTestCase.php4
48 files changed, 16 insertions, 68 deletions
diff --git a/tests/FunctionalTests/validators/assets/.gitignore b/tests/FunctionalTests/validators/assets/.gitignore
index d6b7ef32..d6b7ef32 100644..100755
--- a/tests/FunctionalTests/validators/assets/.gitignore
+++ b/tests/FunctionalTests/validators/assets/.gitignore
diff --git a/tests/FunctionalTests/validators/index.php b/tests/FunctionalTests/validators/index.php
index fe127639..77ddf367 100644..100755
--- a/tests/FunctionalTests/validators/index.php
+++ b/tests/FunctionalTests/validators/index.php
@@ -4,5 +4,3 @@ require_once(dirname(__FILE__).'/../../../framework/prado.php');
$app=new TApplication;
$app->run();
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/Button.page b/tests/FunctionalTests/validators/protected/pages/Button.page
index 5acc596b..5acc596b 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/Button.page
+++ b/tests/FunctionalTests/validators/protected/pages/Button.page
diff --git a/tests/FunctionalTests/validators/protected/pages/Button.php b/tests/FunctionalTests/validators/protected/pages/Button.php
index 94aaf6c8..43913831 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/Button.php
+++ b/tests/FunctionalTests/validators/protected/pages/Button.php
@@ -23,5 +23,3 @@ class Button extends TPage
$this->Result3->Text.=' and valid';
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/CausesValidation.page b/tests/FunctionalTests/validators/protected/pages/CausesValidation.page
index c6748b9a..c6748b9a 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/CausesValidation.page
+++ b/tests/FunctionalTests/validators/protected/pages/CausesValidation.page
diff --git a/tests/FunctionalTests/validators/protected/pages/CheckBox.page b/tests/FunctionalTests/validators/protected/pages/CheckBox.page
index e5cb39ff..e5cb39ff 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/CheckBox.page
+++ b/tests/FunctionalTests/validators/protected/pages/CheckBox.page
diff --git a/tests/FunctionalTests/validators/protected/pages/CheckBox.php b/tests/FunctionalTests/validators/protected/pages/CheckBox.php
index f29792e0..641d1419 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/CheckBox.php
+++ b/tests/FunctionalTests/validators/protected/pages/CheckBox.php
@@ -23,5 +23,3 @@ class CheckBox extends TPage
$this->Result3->Text.=' and valid';
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/CompareValidator.page b/tests/FunctionalTests/validators/protected/pages/CompareValidator.page
index 679d2e8e..679d2e8e 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/CompareValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/CompareValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.page b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.page
index ad43135b..ad43135b 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.page
+++ b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.page
diff --git a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
index 83546617..5bdf9282 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
+++ b/tests/FunctionalTests/validators/protected/pages/ConditionalValidation.php
@@ -17,4 +17,3 @@ class ConditionalValidation extends TPage
}
}
-?>
diff --git a/tests/FunctionalTests/validators/protected/pages/CustomValidator.page b/tests/FunctionalTests/validators/protected/pages/CustomValidator.page
index 2d0d490b..2d0d490b 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/CustomValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/CustomValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/CustomValidator.php b/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
index b56a9d8b..1e630601 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
+++ b/tests/FunctionalTests/validators/protected/pages/CustomValidator.php
@@ -11,4 +11,3 @@ class CustomValidator extends TPage
}
}
-?>
diff --git a/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page b/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page
index 48821f83..48821f83 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/DataTypeValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/DatePicker.page b/tests/FunctionalTests/validators/protected/pages/DatePicker.page
index 7dfd2788..7dfd2788 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/DatePicker.page
+++ b/tests/FunctionalTests/validators/protected/pages/DatePicker.page
diff --git a/tests/FunctionalTests/validators/protected/pages/Home.php b/tests/FunctionalTests/validators/protected/pages/Home.php
index 37804419..9bb123b9 100755
--- a/tests/FunctionalTests/validators/protected/pages/Home.php
+++ b/tests/FunctionalTests/validators/protected/pages/Home.php
@@ -30,5 +30,3 @@ class Home extends TPage
return $list;
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/ImageButton.page b/tests/FunctionalTests/validators/protected/pages/ImageButton.page
index d1fae361..d1fae361 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/ImageButton.page
+++ b/tests/FunctionalTests/validators/protected/pages/ImageButton.page
diff --git a/tests/FunctionalTests/validators/protected/pages/ImageButton.php b/tests/FunctionalTests/validators/protected/pages/ImageButton.php
index 65392b75..175c5f55 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/ImageButton.php
+++ b/tests/FunctionalTests/validators/protected/pages/ImageButton.php
@@ -23,5 +23,3 @@ class ImageButton extends TPage
$this->Result3->Text.=' and valid';
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/Layout.php b/tests/FunctionalTests/validators/protected/pages/Layout.php
index 7f5e5802..723f200c 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/Layout.php
+++ b/tests/FunctionalTests/validators/protected/pages/Layout.php
@@ -3,5 +3,3 @@
class Layout extends TTemplateControl
{
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/Layout.tpl b/tests/FunctionalTests/validators/protected/pages/Layout.tpl
index 25dbea09..25dbea09 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/Layout.tpl
+++ b/tests/FunctionalTests/validators/protected/pages/Layout.tpl
diff --git a/tests/FunctionalTests/validators/protected/pages/LinkButton.page b/tests/FunctionalTests/validators/protected/pages/LinkButton.page
index 8ed1c338..8ed1c338 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/LinkButton.page
+++ b/tests/FunctionalTests/validators/protected/pages/LinkButton.page
diff --git a/tests/FunctionalTests/validators/protected/pages/LinkButton.php b/tests/FunctionalTests/validators/protected/pages/LinkButton.php
index 2b5a3c23..2da51c20 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/LinkButton.php
+++ b/tests/FunctionalTests/validators/protected/pages/LinkButton.php
@@ -23,5 +23,3 @@ class LinkButton extends TPage
$this->Result3->Text.=' and valid';
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/protected/pages/ListControl.page b/tests/FunctionalTests/validators/protected/pages/ListControl.page
index 1429e184..1429e184 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/ListControl.page
+++ b/tests/FunctionalTests/validators/protected/pages/ListControl.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RangeValidatorDate.page b/tests/FunctionalTests/validators/protected/pages/RangeValidatorDate.page
index f7f65460..f7f65460 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RangeValidatorDate.page
+++ b/tests/FunctionalTests/validators/protected/pages/RangeValidatorDate.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RangeValidatorFloat.page b/tests/FunctionalTests/validators/protected/pages/RangeValidatorFloat.page
index 18c476c7..18c476c7 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RangeValidatorFloat.page
+++ b/tests/FunctionalTests/validators/protected/pages/RangeValidatorFloat.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RangeValidatorInteger.page b/tests/FunctionalTests/validators/protected/pages/RangeValidatorInteger.page
index 922236e5..922236e5 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RangeValidatorInteger.page
+++ b/tests/FunctionalTests/validators/protected/pages/RangeValidatorInteger.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RangeValidatorString.page b/tests/FunctionalTests/validators/protected/pages/RangeValidatorString.page
index 64e596d6..64e596d6 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RangeValidatorString.page
+++ b/tests/FunctionalTests/validators/protected/pages/RangeValidatorString.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page b/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page
index cfd7a333..cfd7a333 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RequiredFieldValidator.page b/tests/FunctionalTests/validators/protected/pages/RequiredFieldValidator.page
index f8a1c4ca..f8a1c4ca 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RequiredFieldValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/RequiredFieldValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page b/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page
index d527ee9d..d527ee9d 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/RequiredListValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page b/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page
index 14f63801..14f63801 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page
+++ b/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page
diff --git a/tests/FunctionalTests/validators/protected/pages/ValidationSummary.page b/tests/FunctionalTests/validators/protected/pages/ValidationSummary.page
index d260a93a..d260a93a 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/ValidationSummary.page
+++ b/tests/FunctionalTests/validators/protected/pages/ValidationSummary.page
diff --git a/tests/FunctionalTests/validators/protected/pages/config.xml b/tests/FunctionalTests/validators/protected/pages/config.xml
index 83bb5791..83bb5791 100644..100755
--- a/tests/FunctionalTests/validators/protected/pages/config.xml
+++ b/tests/FunctionalTests/validators/protected/pages/config.xml
diff --git a/tests/FunctionalTests/validators/protected/runtime/.gitignore b/tests/FunctionalTests/validators/protected/runtime/.gitignore
index d6b7ef32..d6b7ef32 100644..100755
--- a/tests/FunctionalTests/validators/protected/runtime/.gitignore
+++ b/tests/FunctionalTests/validators/protected/runtime/.gitignore
diff --git a/tests/FunctionalTests/validators/tests/ButtonTestCase.php b/tests/FunctionalTests/validators/tests/ButtonTestCase.php
index 99ebf4a4..58001322 100644..100755
--- a/tests/FunctionalTests/validators/tests/ButtonTestCase.php
+++ b/tests/FunctionalTests/validators/tests/ButtonTestCase.php
@@ -1,6 +1,6 @@
<?php
-class ButtonTestCase extends SeleniumTestCase
+class ButtonTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -61,5 +61,3 @@ class ButtonTestCase extends SeleniumTestCase
$this->verifyTextPresent('Button3 is clicked and valid');
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/CheckBoxTestCase.php b/tests/FunctionalTests/validators/tests/CheckBoxTestCase.php
index 957a7cbf..847cbc9a 100644..100755
--- a/tests/FunctionalTests/validators/tests/CheckBoxTestCase.php
+++ b/tests/FunctionalTests/validators/tests/CheckBoxTestCase.php
@@ -1,12 +1,9 @@
<?php
-class CheckBoxTestCase extends SeleniumTestCase
+class CheckBoxTestCase extends PradoGenericSeleniumTest
{
function test()
{
- //problem with test runner clicking on radio buttons
- $this->skipBrowsers(self::OPERA);
-
$this->open('validators/index.php?page=CheckBox');
@@ -66,5 +63,3 @@ class CheckBoxTestCase extends SeleniumTestCase
$this->verifyTextPresent('Button3 is clicked and valid');
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php b/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php
index 5a7dbc80..187351c1 100644..100755
--- a/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/CompareValidatorTestCase.php
@@ -1,7 +1,7 @@
<?php
//New Test
-class CompareValidatorTestCase extends SeleniumTestCase
+class CompareValidatorTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -42,5 +42,3 @@ class CompareValidatorTestCase extends SeleniumTestCase
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/ConditionalValidationTestCase.php b/tests/FunctionalTests/validators/tests/ConditionalValidationTestCase.php
index 0c0ffc51..02b174ef 100644..100755
--- a/tests/FunctionalTests/validators/tests/ConditionalValidationTestCase.php
+++ b/tests/FunctionalTests/validators/tests/ConditionalValidationTestCase.php
@@ -1,6 +1,6 @@
<?php
-class ConditionalValidationTestCase extends SeleniumTestCase
+class ConditionalValidationTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -52,4 +52,3 @@ class ConditionalValidationTestCase extends SeleniumTestCase
}
-?>
diff --git a/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php b/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
index c5cbae8e..106f7a00 100644..100755
--- a/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/CustomValidatorTestCase.php
@@ -1,7 +1,7 @@
<?php
//New Test
-class CustomValidatorTestCase extends SeleniumTestCase
+class CustomValidatorTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -27,5 +27,3 @@ class CustomValidatorTestCase extends SeleniumTestCase
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php b/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
index c7c4bdb6..5ec5f065 100644..100755
--- a/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/DataTypeValidatorTestCase.php
@@ -3,7 +3,7 @@
* Created on 25/04/2006
*/
-class DataTypeValidatorTestCase extends SeleniumTestCase
+class DataTypeValidatorTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -46,4 +46,3 @@ class DataTypeValidatorTestCase extends SeleniumTestCase
}
-?>
diff --git a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php
index 12368448..e7425a33 100644..100755
--- a/tests/FunctionalTests/validators/tests/DatePickerTestCase.php
+++ b/tests/FunctionalTests/validators/tests/DatePickerTestCase.php
@@ -1,6 +1,6 @@
<?php
-class DatePickerTestCase extends SeleniumTestCase
+class DatePickerTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -69,4 +69,3 @@ class DatePickerTestCase extends SeleniumTestCase
}
-?>
diff --git a/tests/FunctionalTests/validators/tests/ImageButtonTestCase.php b/tests/FunctionalTests/validators/tests/ImageButtonTestCase.php
index a83c4f89..e6b5d6d8 100644..100755
--- a/tests/FunctionalTests/validators/tests/ImageButtonTestCase.php
+++ b/tests/FunctionalTests/validators/tests/ImageButtonTestCase.php
@@ -1,6 +1,6 @@
<?php
-class ImageButtonTestCase extends SeleniumTestCase
+class ImageButtonTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -61,5 +61,3 @@ class ImageButtonTestCase extends SeleniumTestCase
$this->verifyTextPresent('Button3 is clicked and valid');
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/LinkButtonTestCase.php b/tests/FunctionalTests/validators/tests/LinkButtonTestCase.php
index fa9508fb..b523452c 100644..100755
--- a/tests/FunctionalTests/validators/tests/LinkButtonTestCase.php
+++ b/tests/FunctionalTests/validators/tests/LinkButtonTestCase.php
@@ -1,6 +1,6 @@
<?php
-class LinkButtonTestCase extends SeleniumTestCase
+class LinkButtonTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -60,5 +60,3 @@ class LinkButtonTestCase extends SeleniumTestCase
$this->verifyTextPresent('Button3 is clicked and valid');
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/ListControlTestCase.php b/tests/FunctionalTests/validators/tests/ListControlTestCase.php
index e4281794..68feee84 100644..100755
--- a/tests/FunctionalTests/validators/tests/ListControlTestCase.php
+++ b/tests/FunctionalTests/validators/tests/ListControlTestCase.php
@@ -3,13 +3,10 @@
* Created on 24/04/2006
*/
-class ListControlTestCase extends SeleniumTestCase
+class ListControlTestCase extends PradoGenericSeleniumTest
{
function test()
{
- //problem with test runner clicking on radio buttons
- $this->skipBrowsers(self::OPERA);
-
$base = "ctl0_Content_";
$this->open("validators/index.php?page=ListControl", "");
$this->verifyTextPresent("List Control Required Field Validation Test", "");
@@ -48,4 +45,3 @@ class ListControlTestCase extends SeleniumTestCase
}
-?>
diff --git a/tests/FunctionalTests/validators/tests/RangeValidatorTestCase.php b/tests/FunctionalTests/validators/tests/RangeValidatorTestCase.php
index 31ad6c23..022ee7f6 100644..100755
--- a/tests/FunctionalTests/validators/tests/RangeValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/RangeValidatorTestCase.php
@@ -1,7 +1,7 @@
<?php
//New Test
-class RangeValidatorTestCase extends SeleniumTestCase
+class RangeValidatorTestCase extends PradoGenericSeleniumTest
{
function testIntegerRange()
{
@@ -164,4 +164,3 @@ class RangeValidatorTestCase extends SeleniumTestCase
}
}
-?>
diff --git a/tests/FunctionalTests/validators/tests/RegExpValidatorTestCase.php b/tests/FunctionalTests/validators/tests/RegExpValidatorTestCase.php
index 40719cf3..f269bf3b 100644..100755
--- a/tests/FunctionalTests/validators/tests/RegExpValidatorTestCase.php
+++ b/tests/FunctionalTests/validators/tests/RegExpValidatorTestCase.php
@@ -1,7 +1,7 @@
<?php
//New Test
-class RegExpValidatorTestCase extends SeleniumTestCase
+class RegExpValidatorTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -30,5 +30,3 @@ class RegExpValidatorTestCase extends SeleniumTestCase
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php b/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php
index 69765238..f8b54eb0 100644..100755
--- a/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php
+++ b/tests/FunctionalTests/validators/tests/RequiredFieldTestCase.php
@@ -1,12 +1,9 @@
<?php
-class RequiredFieldTestCase extends SeleniumTestCase
+class RequiredFieldTestCase extends PradoGenericSeleniumTest
{
function test()
{
- //problem with test runner clicking on radio buttons
- $this->skipBrowsers(self::OPERA);
-
$base = "ctl0_Content_";
$this->open("validators/index.php?page=RequiredFieldValidator");
$this->assertTextPresent("RequiredFieldValidator Tests");
@@ -86,5 +83,4 @@ class RequiredFieldTestCase extends SeleniumTestCase
$this->pause(250);
$this->assertNotVisible("{$base}validator9");
}
-}
-?> \ No newline at end of file
+} \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/RequiredListTestCase.php b/tests/FunctionalTests/validators/tests/RequiredListTestCase.php
index 2151e492..2662c721 100644..100755
--- a/tests/FunctionalTests/validators/tests/RequiredListTestCase.php
+++ b/tests/FunctionalTests/validators/tests/RequiredListTestCase.php
@@ -1,13 +1,10 @@
<?php
-class RequiredListTestCase extends SeleniumTestCase
+class RequiredListTestCase extends PradoGenericSeleniumTest
{
function test()
{
- //problem with test runner clicking on radio buttons
- $this->skipBrowsers(self::OPERA);
-
$base = "ctl0_Content_";
$this->open("validators/index.php?page=RequiredListValidator");
$this->click("{$base}submit1");
@@ -39,5 +36,3 @@ class RequiredListTestCase extends SeleniumTestCase
$this->assertNotVisible("{$base}validator3");
}
}
-
-?> \ No newline at end of file
diff --git a/tests/FunctionalTests/validators/tests/ValidationSummaryTestCase.php b/tests/FunctionalTests/validators/tests/ValidationSummaryTestCase.php
index 802392ac..7dc1d6b1 100644..100755
--- a/tests/FunctionalTests/validators/tests/ValidationSummaryTestCase.php
+++ b/tests/FunctionalTests/validators/tests/ValidationSummaryTestCase.php
@@ -1,7 +1,7 @@
<?php
//New Test
-class ValidationSummaryTestCase extends SeleniumTestCase
+class ValidationSummaryTestCase extends PradoGenericSeleniumTest
{
function test()
{
@@ -46,5 +46,3 @@ class ValidationSummaryTestCase extends SeleniumTestCase
*/
}
}
-
-?> \ No newline at end of file