summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/MessagesPanelTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/MessagesPanelTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/MessagesPanelTest.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/MessagesPanelTest.php b/tests/FunctionalTests/active-controls/protected/pages/MessagesPanelTest.php
new file mode 100644
index 00000000..9a59713d
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/MessagesPanelTest.php
@@ -0,0 +1,16 @@
+<?php
+
+class MessagesPanelTest extends TPage
+{
+ function show_clicked($sender, $param)
+ {
+ $this->panel1->setMessage("hello world");
+ }
+
+ function hide_clicked($sender, $param)
+ {
+ $this->panel1->setMessage("");
+ }
+}
+
+?> \ No newline at end of file