diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php index 64e7d92e..fce204d1 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php @@ -1,34 +1,34 @@ -<?php
-
-class ActiveRadioButtonTest extends TPage
-{
- function change_radio1_text()
- {
- $this->radio1->Text = "Hello Radio Button 1";
- }
-
- function change_radio1_checked()
- {
- $this->radio1->Checked = !$this->radio1->Checked;
- }
-
- function change_radio2_text()
- {
- $this->radio2->Text = "Radio Button 2 World";
- }
-
- function change_radio2_checked()
- {
- $this->radio2->Checked = !$this->radio2->Checked;
- }
-
- function radiobutton_requested($sender, $param)
- {
- $this->label1->Text = "Label 1:".$sender->Text.
- ($sender->checked ? ' Checked ' : ' Not Checked');
- }
-
-
-}
-
+<?php + +class ActiveRadioButtonTest extends TPage +{ + function change_radio1_text() + { + $this->radio1->Text = "Hello Radio Button 1"; + } + + function change_radio1_checked() + { + $this->radio1->Checked = !$this->radio1->Checked; + } + + function change_radio2_text() + { + $this->radio2->Text = "Radio Button 2 World"; + } + + function change_radio2_checked() + { + $this->radio2->Checked = !$this->radio2->Checked; + } + + function radiobutton_requested($sender, $param) + { + $this->label1->Text = "Label 1:".$sender->Text. + ($sender->checked ? ' Checked ' : ' Not Checked'); + } + + +} + ?>
\ No newline at end of file |