summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket573.page6
-rw-r--r--tests/FunctionalTests/tickets/tests/Ticket573TestCase.php14
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket573.page b/tests/FunctionalTests/tickets/protected/pages/Ticket573.page
new file mode 100644
index 00000000..a2c4d145
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket573.page
@@ -0,0 +1,6 @@
+<com:TContent ID="Content">
+<h2 class="defect">NumberFormat Bug</h2>
+
+<span id="test1"><com:TNumberFormat Value="9.999" Pattern="#.00" /></span>
+
+</com:TContent> \ No newline at end of file
diff --git a/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php b/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php
new file mode 100644
index 00000000..60a8d453
--- /dev/null
+++ b/tests/FunctionalTests/tickets/tests/Ticket573TestCase.php
@@ -0,0 +1,14 @@
+<?php
+
+class Ticket573TestCase extends SeleniumTestCase
+{
+ function test()
+ {
+ $this->open('tickets/index.php?page=Ticket573');
+ $this->verifyTitle("Verifying Ticket 573", "");
+
+ $this->assertText('test1', '10.00');
+ }
+}
+
+?> \ No newline at end of file