From 7e002c23edc5fb5db70935591aa6adeda25fc7fb Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 2 Jul 2006 18:05:42 +0000 Subject: Merge from 3.0 branch till 1224. --- .../tickets/protected/pages/Home.page | 3 ++ .../tickets/protected/pages/Home.php | 34 ++++++++++++++++++++++ .../tickets/protected/pages/Ticket200.page | 6 ++++ .../tickets/protected/pages/Ticket200.php | 16 ++++++++++ .../tickets/protected/pages/Ticket202.page | 19 ++++++++++++ .../tickets/protected/pages/Ticket205.page | 26 +++++++++++++++++ .../tickets/protected/pages/Ticket205.php | 11 +++++++ .../tickets/protected/pages/Ticket207.page | 24 +++++++++++++++ .../tickets/protected/pages/Ticket227.page | 4 +++ .../tickets/protected/pages/Ticket246.page | 17 +++++++++++ 10 files changed, 160 insertions(+) create mode 100755 tests/FunctionalTests/tickets/protected/pages/Home.page create mode 100755 tests/FunctionalTests/tickets/protected/pages/Home.php create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket200.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket200.php create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket202.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket205.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket205.php create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket207.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket227.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket246.page (limited to 'tests/FunctionalTests/tickets/protected') diff --git a/tests/FunctionalTests/tickets/protected/pages/Home.page b/tests/FunctionalTests/tickets/protected/pages/Home.page new file mode 100755 index 00000000..d4ac162c --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Home.page @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Home.php b/tests/FunctionalTests/tickets/protected/pages/Home.php new file mode 100755 index 00000000..37804419 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Home.php @@ -0,0 +1,34 @@ +getPageList(dirname(__FILE__),''); + $this->List->DataSource=$list; + $this->List->dataBind(); + } + + protected function getPageList($directory,$basePath) + { + $list=array(); + $folder=@opendir($directory); + while($entry=@readdir($folder)) + { + if($entry[0]==='.') + continue; + else if(is_file($directory.'/'.$entry)) + { + if(($page=basename($entry,'.page'))!==$entry && strpos($page,'.')===false) + $list['?page='.$basePath.$page]=$basePath.$page; + } + else + $list=array_merge($list,$this->getPageList($directory.'/'.$entry,$basePath.$entry.'.')); + } + closedir($folder); + return $list; + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket200.page b/tests/FunctionalTests/tickets/protected/pages/Ticket200.page new file mode 100644 index 00000000..76c60f40 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket200.page @@ -0,0 +1,6 @@ + + +


+ +


+
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket200.php b/tests/FunctionalTests/tickets/protected/pages/Ticket200.php new file mode 100644 index 00000000..a80a3b8a --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket200.php @@ -0,0 +1,16 @@ + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket202.page b/tests/FunctionalTests/tickets/protected/pages/Ticket202.page new file mode 100644 index 00000000..ae984c2d --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket202.page @@ -0,0 +1,19 @@ +<%@ MasterPage="" %> + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket205.page b/tests/FunctionalTests/tickets/protected/pages/Ticket205.page new file mode 100644 index 00000000..1481a227 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket205.page @@ -0,0 +1,26 @@ + +

TCustomValidator not enabling ControlCssClass or prop:ClientSide.OnError after postback.

+ + + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket205.php b/tests/FunctionalTests/tickets/protected/pages/Ticket205.php new file mode 100644 index 00000000..6145af9a --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket205.php @@ -0,0 +1,11 @@ +IsValid = $this->textbox1->Text == "Prado"; + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket207.page b/tests/FunctionalTests/tickets/protected/pages/Ticket207.page new file mode 100644 index 00000000..556c5aae --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket207.page @@ -0,0 +1,24 @@ + +

Validators ClientSide.OnError triggered twice

+

Use ClientSide.ObseveChanges="false"

+
+ +
+
+ +
+ +

Conditions

+
+	(TextBox? B is just there to prevent server submission)
+	To verify try exactly this:
+
+	1. Enter nothing and click on submit : 1 error event will be triggered
+	2. Enter something into TextBox? T and click on submit : no error event (ok)
+	3. Delete your text from TextBox? T again and click on submit : error event will be triggered twice
+
+
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket227.page b/tests/FunctionalTests/tickets/protected/pages/Ticket227.page new file mode 100644 index 00000000..ab481fa2 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket227.page @@ -0,0 +1,4 @@ + +

Disabled HTMLArea

+ +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket246.page b/tests/FunctionalTests/tickets/protected/pages/Ticket246.page new file mode 100644 index 00000000..e25a484b --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket246.page @@ -0,0 +1,17 @@ + +

TDatePicker inside absolute DIV with scrollbar

+ +
+

+ +

+ + + + +

+
+
\ No newline at end of file -- cgit v1.2.3