From 934069ca2164753f72783eaa7d9fd98e4280f2ec Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 13 Feb 2006 06:04:33 +0000 Subject: Reorganized FT test folder. --- .../tickets/protected/pages/Layout.php | 14 +++++++ .../tickets/protected/pages/Layout.tpl | 45 ++++++++++++++++++++++ .../tickets/protected/pages/Ticket21.page | 10 +++++ .../tickets/protected/pages/Ticket21.php | 22 +++++++++++ .../tickets/protected/pages/Ticket27.page | 17 ++++++++ .../tickets/protected/pages/config.xml | 5 +++ 6 files changed, 113 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Layout.php create mode 100644 tests/FunctionalTests/tickets/protected/pages/Layout.tpl create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket21.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket21.php create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket27.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/config.xml (limited to 'tests/FunctionalTests/tickets/protected/pages') diff --git a/tests/FunctionalTests/tickets/protected/pages/Layout.php b/tests/FunctionalTests/tickets/protected/pages/Layout.php new file mode 100644 index 00000000..64b0aebe --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Layout.php @@ -0,0 +1,14 @@ +getPage())); + $this->getPage()->setTitle("Verifying Ticket $num"); + $this->ticketlink->setText("Verifying Ticket $num"); + $this->ticketlink->setNavigateUrl("http://trac.pradosoft.com/ticket/{$num}"); + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Layout.tpl b/tests/FunctionalTests/tickets/protected/pages/Layout.tpl new file mode 100644 index 00000000..bf2f8fab --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Layout.tpl @@ -0,0 +1,45 @@ + + + + + + + + + +

+ + +
+ +
+
+ + Validate XHTML 1.0 + +View Source +
+ + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket21.page b/tests/FunctionalTests/tickets/protected/pages/Ticket21.page new file mode 100644 index 00000000..e0619ea1 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket21.page @@ -0,0 +1,10 @@ + +

TRadioButton always postback if AutoPostBack=true

+ + +
+ + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket21.php b/tests/FunctionalTests/tickets/protected/pages/Ticket21.php new file mode 100644 index 00000000..041ba4b7 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket21.php @@ -0,0 +1,22 @@ +IsPostBack) + $this->setViewState("clicks", 0); + } + + public function doClick($sender, $param) + { + $clicks = $this->getViewState("clicks"); + $clicks++; + $this->label1->setText("Radio button clicks: $clicks"); + $this->setViewState("clicks", $clicks); + } +} + +?> \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket27.page b/tests/FunctionalTests/tickets/protected/pages/Ticket27.page new file mode 100644 index 00000000..f92511c7 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket27.page @@ -0,0 +1,17 @@ + +

TCheckBoxList demo js error on IE

+ + + + + + + + + +
\ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/config.xml b/tests/FunctionalTests/tickets/protected/pages/config.xml new file mode 100644 index 00000000..83bb5791 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/config.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file -- cgit v1.2.3