From 99ecc26ddd9c6f0233aff2770e82c9db80fd0b4c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 31 Jan 2006 01:30:28 +0000 Subject: All events are now defined with public on-functions. This is to comply with the new change introduced since 5.1. --- tests/FunctionalTests/protected/pages/Validation/CheckBox.php | 4 ++-- .../protected/pages/Validation/RequiredFieldValidator.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/FunctionalTests') 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(); -- cgit v1.2.3