summaryrefslogtreecommitdiff
path: root/tests/unit/Util/TSimpleDateFormatterTest.php
diff options
context:
space:
mode:
authorknut <>2008-07-20 16:04:35 +0000
committerknut <>2008-07-20 16:04:35 +0000
commit101e78e6dab863460d3cbc112d5d795370276fc7 (patch)
treeec2df752faec2c23878ecc708d235b142b2a8245 /tests/unit/Util/TSimpleDateFormatterTest.php
parent5e82afde4d98b26b36fc14980efa75393d6ef77e (diff)
fixed #886
Diffstat (limited to 'tests/unit/Util/TSimpleDateFormatterTest.php')
-rw-r--r--tests/unit/Util/TSimpleDateFormatterTest.php60
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/unit/Util/TSimpleDateFormatterTest.php b/tests/unit/Util/TSimpleDateFormatterTest.php
new file mode 100644
index 00000000..ca9f6809
--- /dev/null
+++ b/tests/unit/Util/TSimpleDateFormatterTest.php
@@ -0,0 +1,60 @@
+<?php
+require_once dirname(__FILE__).'/../phpunit.php';
+
+Prado::using('System.Util.TSimpleDateFormatter');
+
+/**
+ * @package System.Util
+ */
+class TSimpleDateFormatterTest extends PHPUnit_Framework_TestCase {
+
+ public function setUp() {
+ }
+
+ public function tearDown() {
+ }
+
+ public function testConstruct() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testPattern() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testCharset() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testFormat() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testMonthPattern() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testDayPattern() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testYearPattern() {
+ $formatter = new TSimpleDateFormatter("yyyy");
+ self::assertEquals("2008-01-01", date('Y-m-d', $formatter->parse("2008")));
+ }
+
+ public function testDayMonthYearOrdering() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testIsValidDate() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+ public function testParse() {
+ throw new PHPUnit_Framework_IncompleteTestError();
+ }
+
+}
+
+?>