From 35836e45fab30dc4c31a4f51e32b551181e7ec86 Mon Sep 17 00:00:00 2001 From: xue <> Date: Fri, 17 Feb 2006 20:05:07 +0000 Subject: Added test case for ticket #54. --- .gitattributes | 4 ++++ tests/FunctionalTests/tickets/protected/pages/Ticket54.page | 4 ++++ .../tickets/protected/pages/Ticket54Master.php | 7 +++++++ .../tickets/protected/pages/Ticket54Master.tpl | 1 + tests/FunctionalTests/tickets/tests/Ticket54TestCase.php | 12 ++++++++++++ 5 files changed, 28 insertions(+) create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket54.page create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket54Master.php create mode 100644 tests/FunctionalTests/tickets/protected/pages/Ticket54Master.tpl create mode 100644 tests/FunctionalTests/tickets/tests/Ticket54TestCase.php diff --git a/.gitattributes b/.gitattributes index a1bddbb4..1a153e47 100644 --- a/.gitattributes +++ b/.gitattributes @@ -897,9 +897,13 @@ tests/FunctionalTests/tickets/protected/pages/Layout.tpl -text tests/FunctionalTests/tickets/protected/pages/Ticket21.page -text tests/FunctionalTests/tickets/protected/pages/Ticket21.php -text tests/FunctionalTests/tickets/protected/pages/Ticket27.page -text +tests/FunctionalTests/tickets/protected/pages/Ticket54.page -text +tests/FunctionalTests/tickets/protected/pages/Ticket54Master.php -text +tests/FunctionalTests/tickets/protected/pages/Ticket54Master.tpl -text tests/FunctionalTests/tickets/protected/pages/config.xml -text tests/FunctionalTests/tickets/tests/Ticket21TestCase.php -text tests/FunctionalTests/tickets/tests/Ticket27TestCase.php -text +tests/FunctionalTests/tickets/tests/Ticket54TestCase.php -text tests/UnitTests/TODO.txt -text tests/UnitTests/framework/Collections/utList.php -text tests/UnitTests/framework/Collections/utMap.php -text diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket54.page b/tests/FunctionalTests/tickets/protected/pages/Ticket54.page new file mode 100644 index 00000000..8ac4285b --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket54.page @@ -0,0 +1,4 @@ +<%@ MasterClass="Application.pages.Ticket54Master" %> +A +B +C diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket54Master.php b/tests/FunctionalTests/tickets/protected/pages/Ticket54Master.php new file mode 100644 index 00000000..817e7c45 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket54Master.php @@ -0,0 +1,7 @@ + \ No newline at end of file diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket54Master.tpl b/tests/FunctionalTests/tickets/protected/pages/Ticket54Master.tpl new file mode 100644 index 00000000..af57b6c7 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket54Master.tpl @@ -0,0 +1 @@ +|||||| diff --git a/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php new file mode 100644 index 00000000..c131a67d --- /dev/null +++ b/tests/FunctionalTests/tickets/tests/Ticket54TestCase.php @@ -0,0 +1,12 @@ +open('tickets/index.php?page=Ticket54'); + $this->verifyTextPresent("|A||B||C|", ""); + } +} + +?> \ No newline at end of file -- cgit v1.2.3