diff options
Diffstat (limited to 'tests/FunctionalTests/tickets')
4 files changed, 24 insertions, 0 deletions
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" %>
+<com:TContent ID="A">A</com:TContent>
+<com:TContent ID="B">B</com:TContent>
+<com:TContent ID="C">C</com:TContent>
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 @@ +<?php
+
+class Ticket54Master extends TTemplateControl
+{
+}
+
+?>
\ 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 @@ +|<com:TContentPlaceholder ID="A" />||<com:TContentPlaceholder ID="B" />||<com:TContentPlaceholder ID="C" />|
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 @@ +<?php
+
+class Ticket54TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket54');
+ $this->verifyTextPresent("|A||B||C|", "");
+ }
+}
+
+?>
\ No newline at end of file |