diff options
author | wei <> | 2007-03-21 03:18:54 +0000 |
---|---|---|
committer | wei <> | 2007-03-21 03:18:54 +0000 |
commit | 4b41982314af49396ee577c8d4dea0624b8e9096 (patch) | |
tree | aff9f16e87c2210bba740b6a7a6108c1629034cf /tests/FunctionalTests/tickets | |
parent | 8dbd201ad9a6945ba00a29c203b6c9c2c0e1ca53 (diff) |
Fixed #573
Diffstat (limited to 'tests/FunctionalTests/tickets')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket573.page | 6 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/tests/Ticket573TestCase.php | 14 |
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 |