From e66a34b2bfca3bb803500c4b9c39bed73d2e4001 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Wed, 3 Jan 2007 08:17:41 +0000
Subject: Update active controls to use http response body for application
data.
---
.../protected/pages/ActiveRedirectionTest.page | 8 ++++++++
.../protected/pages/ActiveRedirectionTest.php | 12 ++++++++++++
.../protected/pages/CustomValidatorByPass.page | 4 ++--
.../protected/pages/LargePageStateTest.page | 12 ++++++++++++
.../protected/pages/LargePageStateTest.php | 22 ++++++++++++++++++++++
.../protected/pages/LargePageStateTest2.page | 13 +++++++++++++
.../protected/pages/LargePageStateTest2.php | 22 ++++++++++++++++++++++
.../protected/pages/TInPlaceTextBoxTest.page | 3 ++-
8 files changed, 93 insertions(+), 3 deletions(-)
create mode 100644 tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.page
create mode 100644 tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.php
create mode 100644 tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.page
create mode 100644 tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
create mode 100644 tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.page
create mode 100644 tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php
(limited to 'tests/FunctionalTests/active-controls')
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.page
new file mode 100644
index 00000000..5f7959c5
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.page
@@ -0,0 +1,8 @@
+
+Redirection Test
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.php
new file mode 100644
index 00000000..65958eeb
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRedirectionTest.php
@@ -0,0 +1,12 @@
+Service->constructUrl($this->Service->DefaultPage);
+ $this->Response->redirect($default);
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.page b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.page
index 5cacf2ef..068d673c 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/CustomValidatorByPass.page
@@ -2,7 +2,7 @@
Custom Login
-
+Login
Please Wait...
@@ -28,7 +28,7 @@
-
+
Close
diff --git a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.page b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.page
new file mode 100644
index 00000000..701bd74c
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.page
@@ -0,0 +1,12 @@
+
+
+Large Page State Test
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
new file mode 100644
index 00000000..1102ffb2
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest.php
@@ -0,0 +1,22 @@
+Text=" this is a very long label with some text $i:";
+ $this->Panel1->Controls[] = $label;
+ }
+ }
+
+ function button_clicked($sender, $param)
+ {
+ $this->status->Text .= ' Callback Clicked... ';
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.page b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.page
new file mode 100644
index 00000000..0b662617
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.page
@@ -0,0 +1,13 @@
+<%@ StatePersisterClass="System.Web.UI.TSessionPageStatePersister" %>
+
+
+Large Page State Test (using Session page state)
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php
new file mode 100644
index 00000000..3c3038c2
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/LargePageStateTest2.php
@@ -0,0 +1,22 @@
+Text=" this is a very long label with some text $i:";
+ $this->Panel1->Controls[] = $label;
+ }
+ }
+
+ function button_clicked($sender, $param)
+ {
+ $this->status->Text .= ' Callback Clicked... ';
+ }
+}
+
+?>
\ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
index 14f74013..8c0a0d71 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
+++ b/tests/FunctionalTests/active-controls/protected/pages/TInPlaceTextBoxTest.page
@@ -1,3 +1,4 @@
+<%@ Application.Globalization.Charset="UTF-8" %>