diff options
Diffstat (limited to 'tests')
3 files changed, 32 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket283.page b/tests/FunctionalTests/tickets/protected/pages/Ticket283.page new file mode 100644 index 00000000..b5e1f95b --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket283.page @@ -0,0 +1,18 @@ +<com:TContent ID="Content">
+
+<com:TPanel DefaultButton="button1">
+Panel 1
+<com:TTextBox />
+<com:TButton ID="button1" Text="Button 1" OnClick="button_clicked" />
+</com:TPanel>
+
+<com:TPanel DefaultButton="button2">
+Panel 2
+<com:TTextBox />
+<com:TButton ID="button2" Text="Button 2" OnClick="button_clicked" />
+</com:TPanel>
+
+<com:TLabel ID="label1" />
+
+</com:TContent>
+
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket283.php b/tests/FunctionalTests/tickets/protected/pages/Ticket283.php new file mode 100644 index 00000000..8426eae4 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket283.php @@ -0,0 +1,11 @@ +<?php
+
+class Ticket283 extends TPage
+{
+ function button_clicked($sender, $param)
+ {
+ $this->label1->Text = $sender->Text.' Clicked!';
+ }
+}
+
+?>
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket453.page b/tests/FunctionalTests/tickets/protected/pages/Ticket453.page new file mode 100644 index 00000000..23905aea --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket453.page @@ -0,0 +1,3 @@ +<com:TContent ID="Content">
+<com:System.I18N.TDateFormat Value="-19200000000" />
+</com:TContent>
\ No newline at end of file |