diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php new file mode 100644 index 00000000..6282b804 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php @@ -0,0 +1,16 @@ +<?php + +class ActiveButtonTest extends TPage +{ + function button2_onclick($sender, $param) + { + $this->label1->Text = "Button 1 was clicked "; + } + + function button2_oncallback($sender, $param) + { + $this->label1->Text .= "using callback!"; + } +} + +?>
\ No newline at end of file |