diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/PeriodicCallbackTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/PeriodicCallbackTest.php | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/PeriodicCallbackTest.php b/tests/FunctionalTests/active-controls/protected/pages/PeriodicCallbackTest.php deleted file mode 100644 index 13633a00..00000000 --- a/tests/FunctionalTests/active-controls/protected/pages/PeriodicCallbackTest.php +++ /dev/null @@ -1,27 +0,0 @@ -<?php - -class PeriodicCallbackTest extends TPage -{ - function start_timer($sender, $param) - { - $this->timer1->startTimer(); - $this->setViewState('count', 0); - } - - function stop_timer($sender, $param) - { - $this->timer1->stopTimer(); - } - - function tick($sender, $param) - { - $count = intval($this->getViewState('count')); - $this->setViewState('count', ++$count); - if($count > 10) - $this->timer1->stopTimer(); - else - $this->label1->Text .= " ".$count; - } -} - -?>
\ No newline at end of file |