summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php
diff options
context:
space:
mode:
authorwei <>2006-09-16 01:55:08 +0000
committerwei <>2006-09-16 01:55:08 +0000
commitb2e7a7e14094bddc8f5060d97f259058c0555323 (patch)
treef564954ba4e76fa33043b8d616d02847644da19b /tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php
parent18a642dd7389e215cdebd37b23e551ce17c1d977 (diff)
Fixed #360
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php
new file mode 100644
index 00000000..e922319e
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelVisibleTest.php
@@ -0,0 +1,18 @@
+<?php
+
+class ActivePanelVisibleTest extends TPage
+{
+ public function showA()
+ {
+ $this->pnlB->Visible = false;
+ $this->pnlA->Visible = true;
+ }
+
+ public function showB()
+ {
+ $this->pnlB->Visible = true;
+ $this->pnlA->Visible = false;
+ }
+}
+
+?> \ No newline at end of file