diff options
author | wei <> | 2006-08-12 05:34:54 +0000 |
---|---|---|
committer | wei <> | 2006-08-12 05:34:54 +0000 |
commit | 54d4919e3f1b00b644fa3c107acdf20159a1b154 (patch) | |
tree | 1c3e9cc679d4e08cc4beb06eee6f79838a34cb31 /tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php | |
parent | 6dd529fdc25404da07cf9256d92f2a94985c65fc (diff) |
Update active controls.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php new file mode 100644 index 00000000..64e7d92e --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonTest.php @@ -0,0 +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');
+ }
+
+
+}
+
+?>
\ No newline at end of file |