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. --- 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 ++++++++++++ 4 files changed, 24 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 (limited to 'tests/FunctionalTests') 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