From: Felipe Pena Date: Sun, 17 May 2009 01:16:35 +0000 (+0000) Subject: - New tests (testfest Quebec) X-Git-Tag: php-5.3.0RC3~235 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c30401aec34d57ed24ca3cb61be6756043c4fc4;p=php - New tests (testfest Quebec) --- diff --git a/ext/date/tests/date_add_basic2.phpt b/ext/date/tests/date_add_basic2.phpt new file mode 100644 index 0000000000..5beef23f45 --- /dev/null +++ b/ext/date/tests/date_add_basic2.phpt @@ -0,0 +1,14 @@ +--TEST-- +date_add() return false with wrong params +--CREDITS-- +"Anna Filina" +#PHPTestFest2009 2009-05-02 +--INI-- +date.timezone=UTC +display_errors=false +--FILE-- + +--EXPECT-- +bool(false) \ No newline at end of file diff --git a/ext/date/tests/date_create_from_format_basic.phpt b/ext/date/tests/date_create_from_format_basic.phpt new file mode 100644 index 0000000000..592692b5a7 --- /dev/null +++ b/ext/date/tests/date_create_from_format_basic.phpt @@ -0,0 +1,14 @@ +--TEST-- +date_create_from_format() return false with wrong params +--CREDITS-- +"Anna Filina" +#PHPTestFest2009 2009-05-02 +--INI-- +date.timezone=UTC +display_errors=false +--FILE-- + +--EXPECT-- +bool(false) \ No newline at end of file diff --git a/ext/date/tests/date_create_from_format_basic2.phpt b/ext/date/tests/date_create_from_format_basic2.phpt new file mode 100644 index 0000000000..2b220a7275 --- /dev/null +++ b/ext/date/tests/date_create_from_format_basic2.phpt @@ -0,0 +1,13 @@ +--TEST-- +date_create_from_format() return false +--CREDITS-- +"Anna Filina" +#PHPTestFest2009 2009-05-02 +--INI-- +date.timezone=UTC +--FILE-- + +--EXPECT-- +bool(false) \ No newline at end of file diff --git a/ext/date/tests/date_get_last_errors_basic.phpt b/ext/date/tests/date_get_last_errors_basic.phpt new file mode 100644 index 0000000000..5e83a5272f --- /dev/null +++ b/ext/date/tests/date_get_last_errors_basic.phpt @@ -0,0 +1,13 @@ +--TEST-- +date_get_last_errors() return false +--CREDITS-- +"Anna Filina" +#PHPTestFest2009 2009-05-02 +--INI-- +date.timezone=UTC +--FILE-- + +--EXPECT-- +bool(false) \ No newline at end of file diff --git a/ext/date/tests/date_parse_from_format_basic.phpt b/ext/date/tests/date_parse_from_format_basic.phpt new file mode 100644 index 0000000000..644949a2e8 --- /dev/null +++ b/ext/date/tests/date_parse_from_format_basic.phpt @@ -0,0 +1,14 @@ +--TEST-- +date_parse_from_format() return false with wrong params +--CREDITS-- +"Anna Filina" +#PHPTestFest2009 2009-05-02 +--INI-- +date.timezone=UTC +display_errors=false +--FILE-- + +--EXPECT-- +bool(false) \ No newline at end of file diff --git a/ext/date/tests/strtotime_basic2.phpt b/ext/date/tests/strtotime_basic2.phpt new file mode 100644 index 0000000000..f90e66da87 --- /dev/null +++ b/ext/date/tests/strtotime_basic2.phpt @@ -0,0 +1,13 @@ +--TEST-- +strtotime() with return false +--CREDITS-- +"Anna Filina" +#PHPTestFest2009 2009-05-02 +--INI-- +date.timezone=UTC +--FILE-- + +--EXPECT-- +bool(false) \ No newline at end of file