diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2014-03-25 20:12:05 +0100 |
---|---|---|
committer | David <david0@github.com> | 2014-07-10 17:58:36 +0200 |
commit | 6dffcae480706f7c3583c5cfd4360c6c11aacabb (patch) | |
tree | 1f9ce32716902361d8ee507284e171a57053897f /tests/FunctionalTests/issues/protected/pages | |
parent | 2b11341614ac4a15be697fa8acad07055154ac54 (diff) |
Added new test case directory for github issues; added test case for #504
Diffstat (limited to 'tests/FunctionalTests/issues/protected/pages')
-rwxr-xr-x | tests/FunctionalTests/issues/protected/pages/Issue504.page | 14 | ||||
-rwxr-xr-x | tests/FunctionalTests/issues/protected/pages/Issue504.php | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/tests/FunctionalTests/issues/protected/pages/Issue504.page b/tests/FunctionalTests/issues/protected/pages/Issue504.page new file mode 100755 index 00000000..ed29b358 --- /dev/null +++ b/tests/FunctionalTests/issues/protected/pages/Issue504.page @@ -0,0 +1,14 @@ + <com:TContent ID="Content"> + <h1>Issue 504 Test</h1> + + <com:TPanel ID="dlg" DefaultButton="subPanel.buttonOk" > + <com:TTextBox ID="textbox1" /> + <com:TButton ID="buttonDummy" OnCommand="buttonDummyClick" Text="Dummy button" /> + Panel Content + <com:TLabel ID="label1" /> + <com:TPanel ID="subPanel" > + <com:TButton ID="buttonOk" OnCommand="buttonOkClick" Text="Ok button" /> + </com:TPanel> + </com:TPanel> + </com:TContent> + diff --git a/tests/FunctionalTests/issues/protected/pages/Issue504.php b/tests/FunctionalTests/issues/protected/pages/Issue504.php new file mode 100755 index 00000000..dd12c960 --- /dev/null +++ b/tests/FunctionalTests/issues/protected/pages/Issue504.php @@ -0,0 +1,14 @@ +<?php + +class Issue504 extends TPage +{ + function buttonOkClick($sender, $param) + { + $this->label1->Text="buttonOkClick"; + } + + function buttonDummyClick($sender, $param) + { + $this->label1->Text="buttonDummyClick"; + } +} |