From c20d7eed7c840fbc3224a468356ba47e8d305f03 Mon Sep 17 00:00:00 2001 From: tof <> Date: Thu, 19 Jul 2007 12:20:24 +0000 Subject: Add functional test for Ticket #592 --- .../tickets/protected/pages/Ticket592.page | 20 ++++++++++++++++++++ .../tickets/protected/pages/Ticket592.php | 22 ++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket592.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket592.php (limited to 'tests/FunctionalTests/tickets/protected/pages') diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket592.page b/tests/FunctionalTests/tickets/protected/pages/Ticket592.page new file mode 100644 index 00000000..d39ddd99 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket592.page @@ -0,0 +1,20 @@ + + +

Without GroupName it is OK

+
+
+ +

+

But with the same...

+
+
+ +

+

With UniqueGroupName...

+
+
+ + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket592.php b/tests/FunctionalTests/tickets/protected/pages/Ticket592.php new file mode 100644 index 00000000..751de056 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket592.php @@ -0,0 +1,22 @@ +label1->Text = "radio1 checked:{".$this->radio1->getChecked()."} radio2 checked:{".$this->radio2->getChecked()."} "; + } + + public function group($sender, $param) + { + $this->label1->Text = "bad_radio1 checked:{".$this->bad_radio1->getChecked()."} bad_radio2 checked:{".$this->bad_radio2->getChecked()."} "; + } + + public function uniquegroup ($sender,$param) + { + $this->label1->Text = "bad_radio3 checked:{".$this->bad_radio3->getChecked()."} bad_radio4 checked:{".$this->bad_radio4->getChecked()."} "; + } + +} + +?> \ No newline at end of file -- cgit v1.2.3