diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/Calculator.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/Calculator.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Calculator.php b/tests/FunctionalTests/active-controls/protected/pages/Calculator.php new file mode 100644 index 00000000..098a8460 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/Calculator.php @@ -0,0 +1,12 @@ +<?php + +class Calculator extends TPage +{ + public function do_sum($sender, $param) + { + $this->c->Text = floatval($this->a->Text) + floatval($this->b->Text); + } +} + + +?>
\ No newline at end of file |