From 947642a554584255e07ee33196d9a0ca87388f65 Mon Sep 17 00:00:00 2001
From: wei <>
Date: Fri, 20 Jan 2006 00:54:50 +0000
Subject: tests
---
.gitattributes | 3 +++
tests/FunctionalTests/protected/pages/UI/DatePicker.page | 7 +++++++
.../protected/pages/UI/TestTPanelDefaultButton.page | 15 +++++++++++++++
.../protected/pages/UI/TestTPanelDefaultButton.php | 11 +++++++++++
4 files changed, 36 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
diff --git a/.gitattributes b/.gitattributes
index 7230ab10..08d569a4 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -614,6 +614,9 @@ tests/FunctionalTests/protected/pages/I18N/BasicI18N.page -text
tests/FunctionalTests/protected/pages/I18N/BasicI18N.php -text
tests/FunctionalTests/protected/pages/Layout.php -text
tests/FunctionalTests/protected/pages/Layout.tpl -text
+tests/FunctionalTests/protected/pages/UI/DatePicker.page -text
+tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page -text
+tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.php -text
tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page -text
tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.php -text
tests/FunctionalTests/protected/pages/ViewSource.page -text
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