blob: a400a86e4e3d699479ace2ec122d09857a80b332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<?php
use Prado\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 testMissingYearPattern() {
$formatter = new TSimpleDateFormatter("MM/dd");
self::assertEquals(date("Y-10-22"), date('Y-m-d', $formatter->parse("10/22")));
}
public function testDayMonthYearOrdering() {
throw new PHPUnit_Framework_IncompleteTestError();
}
public function testIsValidDate() {
throw new PHPUnit_Framework_IncompleteTestError();
}
public function testParse() {
throw new PHPUnit_Framework_IncompleteTestError();
}
}
|