diff options
author | xue <> | 2006-01-31 01:30:28 +0000 |
---|---|---|
committer | xue <> | 2006-01-31 01:30:28 +0000 |
commit | 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c (patch) | |
tree | 598a306e5431e8dccf81ce6cdf812902145f22b6 /tests/FunctionalTests/protected/pages/Validation | |
parent | e326bab1cc979cadb01ef3e3c213838e046a42d7 (diff) |
All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1.
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/CheckBox.php | 4 | ||||
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php index 6e2d8ee5..8154210c 100644 --- a/tests/FunctionalTests/protected/pages/Validation/CheckBox.php +++ b/tests/FunctionalTests/protected/pages/Validation/CheckBox.php @@ -2,7 +2,7 @@ class CheckBox extends TPage
{
- protected function onLoad($param)
+ public function onLoad($param)
{
if(!$this->IsPostBack)
$this->dataBind();
@@ -26,7 +26,7 @@ class CheckBoxTestCase2 extends SeleniumTestCase $this->pause(100);
$this->assertVisible("ctl0_Content_validator1");
- //write some text, and see what it
+ //write some text, and see what it
$this->type('ctl0_Content_TextBox', "hello");
$this->pause(100);
$this->assertNotVisible("ctl0_Content_validator1");
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php index 0399d4a3..97ec656b 100644 --- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php +++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php @@ -2,7 +2,7 @@ class RequiredFieldValidator extends TPage
{
- protected function onLoad($param)
+ public function onLoad($param)
{
if(!$this->IsPostBack)
$this->dataBind();
|