From 947642a554584255e07ee33196d9a0ca87388f65 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 20 Jan 2006 00:54:50 +0000 Subject: tests --- tests/FunctionalTests/protected/pages/UI/DatePicker.page | 7 +++++++ .../protected/pages/UI/TestTPanelDefaultButton.page | 15 +++++++++++++++ .../protected/pages/UI/TestTPanelDefaultButton.php | 11 +++++++++++ 3 files changed, 33 insertions(+) create mode 100644 tests/FunctionalTests/protected/pages/UI/DatePicker.page create mode 100644 tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page create mode 100644 tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php (limited to 'tests/FunctionalTests/protected') diff --git a/tests/FunctionalTests/protected/pages/UI/DatePicker.page b/tests/FunctionalTests/protected/pages/UI/DatePicker.page new file mode 100644 index 00000000..7208a76b --- /dev/null +++ b/tests/FunctionalTests/protected/pages/UI/DatePicker.page @@ -0,0 +1,7 @@ + + + +

aaaa
aaaa
aaaa
aaaa
aaaa

+ +
+
\ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page new file mode 100644 index 00000000..7585bdbc --- /dev/null +++ b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page @@ -0,0 +1,15 @@ + + + + This is panel content with a + and two buttons:
+ + + +
+ When you change focus to the panel and hit 'enter' key, button2 + will be clicked because it is set as the default button of the panel. +
+ +
+
\ No newline at end of file diff --git a/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php new file mode 100644 index 00000000..bc88dc00 --- /dev/null +++ b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php @@ -0,0 +1,11 @@ +Result->Text="You have clicked on '$sender->Text'."; + } +} + +?> \ No newline at end of file -- cgit v1.2.3