summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
index 6282b804..42322ea1 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveButtonTest.php
@@ -2,11 +2,16 @@
class ActiveButtonTest extends TPage
{
+ function onLoad($param)
+ {
+ new TActiveButton;
+ }
+
function button2_onclick($sender, $param)
{
$this->label1->Text = "Button 1 was clicked ";
}
-
+
function button2_oncallback($sender, $param)
{
$this->label1->Text .= "using callback!";