tony2001 Mon Aug 7 21:42:27 2006 UTC Modified files: /php-src/ext/date/tests date_constants.phpt oo_001.phpt Log: fix tests http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/date_constants.phpt?r1=1.6&r2=1.7&diff_format=u Index: php-src/ext/date/tests/date_constants.phpt diff -u php-src/ext/date/tests/date_constants.phpt:1.6 php-src/ext/date/tests/date_constants.phpt:1.7 --- php-src/ext/date/tests/date_constants.phpt:1.6 Fri Jul 28 16:32:54 2006 +++ php-src/ext/date/tests/date_constants.phpt Mon Aug 7 21:42:27 2006 @@ -90,7 +90,21 @@ unicode(31) "Tue, 30 May 2006 14:32:13 +0200" unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200" unicode(31) "Tue, 30 May 2006 14:32:13 +0200" +unicode(25) "2006-07-01T14:27:30+02:00" +unicode(25) "2006-05-30T14:32:13+02:00" unicode(31) "Sat, 01 Jul 2006 14:27:30 +0200" unicode(31) "Tue, 30 May 2006 14:32:13 +0200" unicode(25) "2006-07-01T14:27:30+02:00" unicode(25) "2006-05-30T14:32:13+02:00" + +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) +bool(true) http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/oo_001.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/date/tests/oo_001.phpt diff -u php-src/ext/date/tests/oo_001.phpt:1.3 php-src/ext/date/tests/oo_001.phpt:1.4 --- php-src/ext/date/tests/oo_001.phpt:1.3 Wed Aug 2 23:29:09 2006 +++ php-src/ext/date/tests/oo_001.phpt Mon Aug 7 21:42:27 2006 @@ -51,3 +51,16 @@ bool(false) DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne) DONE +--UEXPECTF-- +unicode(19) "%d-%d-%d %d:%d:%d" + +Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %soo_001.php on line %d +bool(false) +DateTime::__construct(): Failed to parse time string (1am todax) at position 4 (t): The timezone could not be found in the database +string(3) "UTC" + +Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly initialized by its constructor in %soo_001.php on line %d +bool(false) +DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne) +DONE +
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php