summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwei <>2006-10-21 02:55:29 +0000
committerwei <>2006-10-21 02:55:29 +0000
commitacb16fd5137538e72d86a5d0415a96556d88c609 (patch)
treeb44a49f9c251968ac136237b9f1f232b201113ed
parent68eb20ae56e35cc48982be6f15c0738a276c3684 (diff)
session view state callback test.
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page4
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php1
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
index c68be7ca..5d7f451b 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.page
@@ -1,7 +1,9 @@
<com:THead />
<com:TForm>
-<com:TActiveButton ID="button1" Text="Click Me!" OnCallback="button1_oncallback" />
+<com:TActiveButton ID="button1"
+ ClientSide.RequestTimeOut="3000"
+ Text="Click Me!" OnCallback="button1_oncallback" />
<com:TActiveLabel ID="label1" />
<com:TActiveRatingList RepeatColumns="2" RepeatDirection="Vertical">
diff --git a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
index 3291189c..abb6c8c8 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/Sessioned/PageStateTest.php
@@ -4,6 +4,7 @@ class PageStateTest extends TPage
{
function button1_oncallback($sender, $param)
{
+ sleep(rand(0,5));
$this->label1->Text .= " button1 clicked ";
}
}