cvs: pecl /intl/tests bug12887.phpt collation_customization.phpt collator_asort.phpt collator_compare.phpt collator_create.phpt
collator_get_error_code.phpt collator_get_error_message.phpt collator_get_locale.phpt collator_get_set_attribute.phpt collator_get_set_strength.phpt
collator_sort.phpt collator_sort_with_sort_keys.phpt dateformat_format.phpt dateformat_format_parse.phpt dateformat_get_datetype.phpt
dateformat_get_locale.phpt dateformat_get_set_calendar.phpt dateformat_get_set_pattern.phpt dateformat_get_timetype.phpt
dateformat_get_timezone_id.phpt dateformat_is_set_lenient.phpt dateformat_localtime.phpt dateformat_parse.phpt
dateformat_parse_localtime_parsepos.phpt dateformat_parse_timestamp_parsepos.phpt dateformat_set_timezone_id.phpt formatter_format.phpt
formatter_format_conv.phpt formatter_format_currency.phpt formatter_get_error.phpt formatter_get_locale.phpt formatter_get_set_attribute.phpt
formatter_get_set_pattern.phpt formatter_get_set_symbol.php! t formatter_get_set_text_attribute.phpt formatter_parse.phpt
formatter_parse_currency.phpt locale_compose_locale.phpt locale_filter_matches.phpt locale_get_all_variants.phpt locale_get_default.phpt
locale_get_display_language.phpt locale_get_display_name.phpt locale_get_display_region.phpt locale_get_display_script.phpt
locale_get_display_variant.phpt locale_get_keywords.phpt locale_get_primary_language.phpt locale_get_region.phpt locale_get_script.phpt
locale_lookup.phpt locale_parse_locale.phpt locale_set_default.phpt msgfmt_format.phpt msgfmt_get_error.phpt msgfmt_get_locale.phpt
msgfmt_get_set_pattern.phpt msgfmt_parse.phpt normalizer_normalize.phpt regression_sort_and_cow.phpt regression_sort_eq.phpt
regression_sortwsk_and_cow.phpt regression_sortwsk_eq.phpt ut_common.inc ut_common.php
| From: | Stanislav Malyshev | Date: | Mon, 05 May 2008 22:37:14 +0000 |
| Subject: | cvs: pecl /intl/tests bug12887.phpt collation_customization.phpt collator_asort.phpt collator_compare.phpt collator_create.phpt collator_get_error_code.phpt collator_get_error_message.phpt collator_get_locale.phpt collator_get_set_attribute.phpt collator_get_set_strength.phpt collator_sort.phpt collator_sort_with_sort_keys.phpt dateformat_format.phpt dateformat_format_parse.phpt dateformat_get_datetype.phpt dateformat_get_locale.phpt dateformat_get_set_calendar.phpt dateformat_get_set_pattern.phpt dateformat_get_timetype.phpt dateformat_get_timezone_id.phpt dateformat_is_set_lenient.phpt dateformat_localtime.phpt dateformat_parse.phpt dateformat_parse_localtime_parsepos.phpt dateformat_parse_timestamp_parsepos.phpt dateformat_set_timezone_id.phpt formatter_format.phpt formatter_format_conv.phpt formatter_format_currency.phpt formatter_get_error.phpt formatter_get_locale.phpt formatter_get_set_attribute.phpt formatter_get_set_pattern.phpt formatter_get_set_symbol.php! t formatter_get_set_text_attribute.phpt formatter_parse.phpt formatter_parse_currency.phpt locale_compose_locale.phpt locale_filter_matches.phpt locale_get_all_variants.phpt locale_get_default.phpt locale_get_display_language.phpt locale_get_display_name.phpt locale_get_display_region.phpt locale_get_display_script.phpt locale_get_display_variant.phpt locale_get_keywords.phpt locale_get_primary_language.phpt locale_get_region.phpt locale_get_script.phpt locale_lookup.phpt locale_parse_locale.phpt locale_set_default.phpt msgfmt_format.phpt msgfmt_get_error.phpt msgfmt_get_locale.phpt msgfmt_get_set_pattern.phpt msgfmt_parse.phpt normalizer_normalize.phpt regression_sort_and_cow.phpt regression_sort_eq.phpt regression_sortwsk_and_cow.phpt regression_sortwsk_eq.phpt ut_common.inc ut_common.php |
||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10698@lists.php.net to get a copy of this message | ||
stas Mon May 5 22:37:14 2008 UTC
Added files:
/pecl/intl/tests ut_common.inc
Removed files:
/pecl/intl/tests ut_common.php
Modified files:
/pecl/intl/tests bug12887.phpt collation_customization.phpt
collator_asort.phpt collator_compare.phpt
collator_create.phpt collator_get_error_code.phpt
collator_get_error_message.phpt
collator_get_locale.phpt
collator_get_set_attribute.phpt
collator_get_set_strength.phpt collator_sort.phpt
collator_sort_with_sort_keys.phpt
dateformat_format.phpt
dateformat_format_parse.phpt
dateformat_get_datetype.phpt
dateformat_get_locale.phpt
dateformat_get_set_calendar.phpt
dateformat_get_set_pattern.phpt
dateformat_get_timetype.phpt
dateformat_get_timezone_id.phpt
dateformat_is_set_lenient.phpt
dateformat_localtime.phpt dateformat_parse.phpt
dateformat_parse_localtime_parsepos.phpt
dateformat_parse_timestamp_parsepos.phpt
dateformat_set_timezone_id.phpt
formatter_format.phpt formatter_format_conv.phpt
formatter_format_currency.phpt
formatter_get_error.phpt formatter_get_locale.phpt
formatter_get_set_attribute.phpt
formatter_get_set_pattern.phpt
formatter_get_set_symbol.phpt
formatter_get_set_text_attribute.phpt
formatter_parse.phpt formatter_parse_currency.phpt
locale_compose_locale.phpt
locale_filter_matches.phpt
locale_get_all_variants.phpt
locale_get_default.phpt
locale_get_display_language.phpt
locale_get_display_name.phpt
locale_get_display_region.phpt
locale_get_display_script.phpt
locale_get_display_variant.phpt
locale_get_keywords.phpt
locale_get_primary_language.phpt
locale_get_region.phpt locale_get_script.phpt
locale_lookup.phpt locale_parse_locale.phpt
locale_set_default.phpt msgfmt_format.phpt
msgfmt_get_error.phpt msgfmt_get_locale.phpt
msgfmt_get_set_pattern.phpt msgfmt_parse.phpt
normalizer_normalize.phpt
regression_sort_and_cow.phpt
regression_sort_eq.phpt
regression_sortwsk_and_cow.phpt
regression_sortwsk_eq.phpt
Log:
test fixes
http://cvs.php.net/viewvc.cgi/pecl/intl/tests/bug12887.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/bug12887.phpt diff -u pecl/intl/tests/bug12887.phpt:1.2 pecl/intl/tests/bug12887.phpt:1.3 --- pecl/intl/tests/bug12887.phpt:1.2 Sat Jan 12 02:28:24 2008 +++ pecl/intl/tests/bug12887.phpt Mon May 5 22:37:13 2008 @@ -19,7 +19,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collation_customization.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collation_customization.phpt diff -u pecl/intl/tests/collation_customization.phpt:1.2 pecl/intl/tests/collation_customization.phpt:1.3 --- pecl/intl/tests/collation_customization.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collation_customization.phpt Mon May 5 22:37:13 2008 @@ -61,7 +61,7 @@ check_alternate_handling( $coll ); } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_asort.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/collator_asort.phpt diff -u pecl/intl/tests/collator_asort.phpt:1.4 pecl/intl/tests/collator_asort.phpt:1.5 --- pecl/intl/tests/collator_asort.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_asort.phpt Mon May 5 22:37:13 2008 @@ -137,7 +137,7 @@ return $res_str . "\n"; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_compare.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/collator_compare.phpt diff -u pecl/intl/tests/collator_compare.phpt:1.3 pecl/intl/tests/collator_compare.phpt:1.4 --- pecl/intl/tests/collator_compare.phpt:1.3 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_compare.phpt Mon May 5 22:37:13 2008 @@ -110,7 +110,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_create.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/collator_create.phpt diff -u pecl/intl/tests/collator_create.phpt:1.5 pecl/intl/tests/collator_create.phpt:1.6 --- pecl/intl/tests/collator_create.phpt:1.5 Mon Feb 11 20:43:38 2008 +++ pecl/intl/tests/collator_create.phpt Mon May 5 22:37:13 2008 @@ -49,7 +49,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_error_code.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_error_code.phpt diff -u pecl/intl/tests/collator_get_error_code.phpt:1.2 pecl/intl/tests/collator_get_error_code.phpt:1.3 --- pecl/intl/tests/collator_get_error_code.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_error_code.phpt Mon May 5 22:37:13 2008 @@ -39,7 +39,7 @@ # Suppress warning messages. error_reporting( E_ERROR ); -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_error_message.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_error_message.phpt diff -u pecl/intl/tests/collator_get_error_message.phpt:1.2 pecl/intl/tests/collator_get_error_message.phpt:1.3 --- pecl/intl/tests/collator_get_error_message.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_error_message.phpt Mon May 5 22:37:13 2008 @@ -28,7 +28,7 @@ return $res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_locale.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/collator_get_locale.phpt diff -u pecl/intl/tests/collator_get_locale.phpt:1.3 pecl/intl/tests/collator_get_locale.phpt:1.4 --- pecl/intl/tests/collator_get_locale.phpt:1.3 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/collator_get_locale.phpt Mon May 5 22:37:13 2008 @@ -38,7 +38,7 @@ return $res_str . "\n"; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- @@ -49,4 +49,4 @@ Locale of type -9999999999999 is false Locale of type 9999999999999 is false Locale of type 1.2 is 'en_US' -Locale of type 1.0E+46 is 'en' +Locale of type 1.0E+46 is false http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_set_attribute.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_set_attribute.phpt diff -u pecl/intl/tests/collator_get_set_attribute.phpt:1.2 pecl/intl/tests/collator_get_set_attribute.phpt:1.3 --- pecl/intl/tests/collator_get_set_attribute.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_set_attribute.phpt Mon May 5 22:37:13 2008 @@ -33,7 +33,7 @@ return $res; } -include( 'ut_common.php' ); +include( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_set_strength.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_set_strength.phpt diff -u pecl/intl/tests/collator_get_set_strength.phpt:1.2 pecl/intl/tests/collator_get_set_strength.phpt:1.3 --- pecl/intl/tests/collator_get_set_strength.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_set_strength.phpt Mon May 5 22:37:13 2008 @@ -32,7 +32,7 @@ return $res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_sort.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/collator_sort.phpt diff -u pecl/intl/tests/collator_sort.phpt:1.4 pecl/intl/tests/collator_sort.phpt:1.5 --- pecl/intl/tests/collator_sort.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_sort.phpt Mon May 5 22:37:13 2008 @@ -103,7 +103,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_sort_with_sort_keys.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/collator_sort_with_sort_keys.phpt diff -u pecl/intl/tests/collator_sort_with_sort_keys.phpt:1.4 pecl/intl/tests/collator_sort_with_sort_keys.phpt:1.5 --- pecl/intl/tests/collator_sort_with_sort_keys.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_sort_with_sort_keys.phpt Mon May 5 22:37:13 2008 @@ -93,7 +93,7 @@ return $res_str . "\n"; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_format.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/dateformat_format.phpt diff -u pecl/intl/tests/dateformat_format.phpt:1.5 pecl/intl/tests/dateformat_format.phpt:1.6 --- pecl/intl/tests/dateformat_format.phpt:1.5 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_format.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_format_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -124,7 +125,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_format_parse.phpt?r1=1.1&r2=1.2&diff_format=u Index: pecl/intl/tests/dateformat_format_parse.phpt diff -u pecl/intl/tests/dateformat_format_parse.phpt:1.1 pecl/intl/tests/dateformat_format_parse.phpt:1.2 --- pecl/intl/tests/dateformat_format_parse.phpt:1.1 Thu Apr 3 20:57:50 2008 +++ pecl/intl/tests/dateformat_format_parse.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_format_code() and datefmt_parse_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -139,7 +140,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -304,4 +305,4 @@ Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , DateFormatter locale= en_US ,datetype = 2 ,timetype =2 Formatted localtime_array is : Apr 3, 1895 3:03:24 AM -Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , \ No newline at end of file +Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_datetype.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_datetype.phpt diff -u pecl/intl/tests/dateformat_get_datetype.phpt:1.2 pecl/intl/tests/dateformat_get_datetype.phpt:1.3 --- pecl/intl/tests/dateformat_get_datetype.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_datetype.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_datetype_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -35,7 +36,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_locale.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_get_locale.phpt diff -u pecl/intl/tests/dateformat_get_locale.phpt:1.3 pecl/intl/tests/dateformat_get_locale.phpt:1.4 --- pecl/intl/tests/dateformat_get_locale.phpt:1.3 Tue Mar 25 01:02:11 2008 +++ pecl/intl/tests/dateformat_get_locale.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_locale_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -34,7 +35,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_set_calendar.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_set_calendar.phpt diff -u pecl/intl/tests/dateformat_get_set_calendar.phpt:1.2 pecl/intl/tests/dateformat_get_set_calendar.phpt:1.3 --- pecl/intl/tests/dateformat_get_set_calendar.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_set_calendar.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_calendar_code() datefmt_set_calendar_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -40,7 +41,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -57,4 +58,4 @@ ------------------- Setting DateFormatter with calendar = 3 After call to get_calendar : calendar= 0 -------------------- \ No newline at end of file +------------------- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_set_pattern.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_get_set_pattern.phpt diff -u pecl/intl/tests/dateformat_get_set_pattern.phpt:1.3 pecl/intl/tests/dateformat_get_set_pattern.phpt:1.4 --- pecl/intl/tests/dateformat_get_set_pattern.phpt:1.3 Thu Mar 6 20:44:05 2008 +++ pecl/intl/tests/dateformat_get_set_pattern.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_pattern_code and datefmt_set_pattern_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -49,7 +50,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -81,4 +82,4 @@ Setting DateFormatter with pattern = yyyyMMdd After call to get_pattern : pattern= yyyyMMdd Result of formatting timestamp=0 with the new pattern is : -19691231 \ No newline at end of file +19691231 http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_timetype.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_timetype.phpt diff -u pecl/intl/tests/dateformat_get_timetype.phpt:1.2 pecl/intl/tests/dateformat_get_timetype.phpt:1.3 --- pecl/intl/tests/dateformat_get_timetype.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_timetype.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_timetype_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -35,7 +36,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_timezone_id.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_timezone_id.phpt diff -u pecl/intl/tests/dateformat_get_timezone_id.phpt:1.2 pecl/intl/tests/dateformat_get_timezone_id.phpt:1.3 --- pecl/intl/tests/dateformat_get_timezone_id.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_timezone_id.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_timezone_id_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -33,7 +34,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_is_set_lenient.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_is_set_lenient.phpt diff -u pecl/intl/tests/dateformat_is_set_lenient.phpt:1.2 pecl/intl/tests/dateformat_is_set_lenient.phpt:1.3 --- pecl/intl/tests/dateformat_is_set_lenient.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_is_set_lenient.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_set_lenient and datefmt_set_lenient() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -71,7 +72,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_localtime.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/dateformat_localtime.phpt diff -u pecl/intl/tests/dateformat_localtime.phpt:1.5 pecl/intl/tests/dateformat_localtime.phpt:1.6 --- pecl/intl/tests/dateformat_localtime.phpt:1.5 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_localtime.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_localtime_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -87,7 +88,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -130,4 +131,4 @@ ------------ DateFormatter : DateType::MEDIUM, TimeType::MEDIUM ------------ -DateFormatter : DateType::FULL, TimeType::FULL \ No newline at end of file +DateFormatter : DateType::FULL, TimeType::FULL http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_parse.phpt?r1=1.6&r2=1.7&diff_format=u Index: pecl/intl/tests/dateformat_parse.phpt diff -u pecl/intl/tests/dateformat_parse.phpt:1.6 pecl/intl/tests/dateformat_parse.phpt:1.7 --- pecl/intl/tests/dateformat_parse.phpt:1.6 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_parse.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_parse_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -59,7 +60,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt diff -u pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt:1.3 pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt:1.4 --- pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt:1.3 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_parse_localtime() with parse pos --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -73,7 +74,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt diff -u pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt:1.3 pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt:1.4 --- pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt:1.3 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_parse_timestamp_code() with parse pos --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -63,7 +64,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_set_timezone_id.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_set_timezone_id.phpt diff -u pecl/intl/tests/dateformat_set_timezone_id.phpt:1.2 pecl/intl/tests/dateformat_set_timezone_id.phpt:1.3 --- pecl/intl/tests/dateformat_set_timezone_id.phpt:1.2 Wed Mar 5 22:37:58 2008 +++ pecl/intl/tests/dateformat_set_timezone_id.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_set_timezone_id_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -46,7 +47,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -72,4 +73,4 @@ Trying to set timezone_id= CN After call to set_timezone_id : timezone_id= CN Formatting timestamp=0 resulted in Thursday, January 1, 1970 12:00:00 AM GMT+00:00 -Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00 \ No newline at end of file +Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00 http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_format.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_format.phpt diff -u pecl/intl/tests/formatter_format.phpt:1.5 pecl/intl/tests/formatter_format.phpt:1.6 --- pecl/intl/tests/formatter_format.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/formatter_format.phpt Mon May 5 22:37:13 2008 @@ -52,7 +52,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_format_conv.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/formatter_format_conv.phpt diff -u pecl/intl/tests/formatter_format_conv.phpt:1.2 pecl/intl/tests/formatter_format_conv.phpt:1.3 --- pecl/intl/tests/formatter_format_conv.phpt:1.2 Wed Dec 26 20:08:07 2007 +++ pecl/intl/tests/formatter_format_conv.phpt Mon May 5 22:37:13 2008 @@ -14,7 +14,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_format_currency.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_format_currency.phpt diff -u pecl/intl/tests/formatter_format_currency.phpt:1.5 pecl/intl/tests/formatter_format_currency.phpt:1.6 --- pecl/intl/tests/formatter_format_currency.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/formatter_format_currency.phpt Mon May 5 22:37:13 2008 @@ -31,7 +31,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/formatter_get_error.phpt diff -u pecl/intl/tests/formatter_get_error.phpt:1.2 pecl/intl/tests/formatter_get_error.phpt:1.3 --- pecl/intl/tests/formatter_get_error.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/formatter_get_error.phpt Mon May 5 22:37:13 2008 @@ -22,7 +22,7 @@ return "Ooops, an error should have occured."; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_locale.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/formatter_get_locale.phpt diff -u pecl/intl/tests/formatter_get_locale.phpt:1.3 pecl/intl/tests/formatter_get_locale.phpt:1.4 --- pecl/intl/tests/formatter_get_locale.phpt:1.3 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/formatter_get_locale.phpt Mon May 5 22:37:13 2008 @@ -38,7 +38,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_attribute.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/formatter_get_set_attribute.phpt diff -u pecl/intl/tests/formatter_get_set_attribute.phpt:1.3 pecl/intl/tests/formatter_get_set_attribute.phpt:1.4 --- pecl/intl/tests/formatter_get_set_attribute.phpt:1.3 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/formatter_get_set_attribute.phpt Mon May 5 22:37:13 2008 @@ -90,7 +90,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_pattern.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/formatter_get_set_pattern.phpt diff -u pecl/intl/tests/formatter_get_set_pattern.phpt:1.3 pecl/intl/tests/formatter_get_set_pattern.phpt:1.4 --- pecl/intl/tests/formatter_get_set_pattern.phpt:1.3 Wed Jan 2 22:54:04 2008 +++ pecl/intl/tests/formatter_get_set_pattern.phpt Mon May 5 22:37:13 2008 @@ -39,7 +39,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_symbol.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_get_set_symbol.phpt diff -u pecl/intl/tests/formatter_get_set_symbol.phpt:1.5 pecl/intl/tests/formatter_get_set_symbol.phpt:1.6 --- pecl/intl/tests/formatter_get_set_symbol.phpt:1.5 Wed Jan 2 22:54:04 2008 +++ pecl/intl/tests/formatter_get_set_symbol.phpt Mon May 5 22:37:13 2008 @@ -77,7 +77,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_text_attribute.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_get_set_text_attribute.phpt diff -u pecl/intl/tests/formatter_get_set_text_attribute.phpt:1.5 pecl/intl/tests/formatter_get_set_text_attribute.phpt:1.6 --- pecl/intl/tests/formatter_get_set_text_attribute.phpt:1.5 Wed Jan 2 22:54:04 2008 +++ pecl/intl/tests/formatter_get_set_text_attribute.phpt Mon May 5 22:37:13 2008 @@ -75,7 +75,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_parse.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_parse.phpt diff -u pecl/intl/tests/formatter_parse.phpt:1.5 pecl/intl/tests/formatter_parse.phpt:1.6 --- pecl/intl/tests/formatter_parse.phpt:1.5 Thu Apr 3 00:43:43 2008 +++ pecl/intl/tests/formatter_parse.phpt Mon May 5 22:37:13 2008 @@ -31,7 +31,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_parse_currency.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/formatter_parse_currency.phpt diff -u pecl/intl/tests/formatter_parse_currency.phpt:1.4 pecl/intl/tests/formatter_parse_currency.phpt:1.5 --- pecl/intl/tests/formatter_parse_currency.phpt:1.4 Thu Nov 1 17:24:11 2007 +++ pecl/intl/tests/formatter_parse_currency.phpt Mon May 5 22:37:13 2008 @@ -28,7 +28,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_compose_locale.phpt?r1=1.7&r2=1.8&diff_format=u Index: pecl/intl/tests/locale_compose_locale.phpt diff -u pecl/intl/tests/locale_compose_locale.phpt:1.7 pecl/intl/tests/locale_compose_locale.phpt:1.8 --- pecl/intl/tests/locale_compose_locale.phpt:1.7 Thu Jan 17 19:47:47 2008 +++ pecl/intl/tests/locale_compose_locale.phpt Mon May 5 22:37:13 2008 @@ -131,7 +131,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_filter_matches.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_filter_matches.phpt diff -u pecl/intl/tests/locale_filter_matches.phpt:1.3 pecl/intl/tests/locale_filter_matches.phpt:1.4 --- pecl/intl/tests/locale_filter_matches.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_filter_matches.phpt Mon May 5 22:37:13 2008 @@ -70,7 +70,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_all_variants.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/locale_get_all_variants.phpt diff -u pecl/intl/tests/locale_get_all_variants.phpt:1.2 pecl/intl/tests/locale_get_all_variants.phpt:1.3 --- pecl/intl/tests/locale_get_all_variants.phpt:1.2 Tue Nov 6 12:40:21 2007 +++ pecl/intl/tests/locale_get_all_variants.phpt Mon May 5 22:37:13 2008 @@ -44,7 +44,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_default.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_get_default.phpt diff -u pecl/intl/tests/locale_get_default.phpt:1.3 pecl/intl/tests/locale_get_default.phpt:1.4 --- pecl/intl/tests/locale_get_default.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_default.phpt Mon May 5 22:37:13 2008 @@ -36,7 +36,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_language.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_display_language.phpt diff -u pecl/intl/tests/locale_get_display_language.phpt:1.5 pecl/intl/tests/locale_get_display_language.phpt:1.6 --- pecl/intl/tests/locale_get_display_language.phpt:1.5 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_language.phpt Mon May 5 22:37:13 2008 @@ -90,7 +90,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_name.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_get_display_name.phpt diff -u pecl/intl/tests/locale_get_display_name.phpt:1.4 pecl/intl/tests/locale_get_display_name.phpt:1.5 --- pecl/intl/tests/locale_get_display_name.phpt:1.4 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_name.phpt Mon May 5 22:37:13 2008 @@ -100,7 +100,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_region.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_display_region.phpt diff -u pecl/intl/tests/locale_get_display_region.phpt:1.5 pecl/intl/tests/locale_get_display_region.phpt:1.6 --- pecl/intl/tests/locale_get_display_region.phpt:1.5 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_region.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_script.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_display_script.phpt diff -u pecl/intl/tests/locale_get_display_script.phpt:1.5 pecl/intl/tests/locale_get_display_script.phpt:1.6 --- pecl/intl/tests/locale_get_display_script.phpt:1.5 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_script.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_variant.phpt?r1=1.6&r2=1.7&diff_format=u Index: pecl/intl/tests/locale_get_display_variant.phpt diff -u pecl/intl/tests/locale_get_display_variant.phpt:1.6 pecl/intl/tests/locale_get_display_variant.phpt:1.7 --- pecl/intl/tests/locale_get_display_variant.phpt:1.6 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_variant.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_keywords.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_get_keywords.phpt diff -u pecl/intl/tests/locale_get_keywords.phpt:1.3 pecl/intl/tests/locale_get_keywords.phpt:1.4 --- pecl/intl/tests/locale_get_keywords.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_keywords.phpt Mon May 5 22:37:13 2008 @@ -93,7 +93,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_primary_language.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_get_primary_language.phpt diff -u pecl/intl/tests/locale_get_primary_language.phpt:1.4 pecl/intl/tests/locale_get_primary_language.phpt:1.5 --- pecl/intl/tests/locale_get_primary_language.phpt:1.4 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_primary_language.phpt Mon May 5 22:37:13 2008 @@ -79,7 +79,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_region.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_get_region.phpt diff -u pecl/intl/tests/locale_get_region.phpt:1.4 pecl/intl/tests/locale_get_region.phpt:1.5 --- pecl/intl/tests/locale_get_region.phpt:1.4 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_region.phpt Mon May 5 22:37:13 2008 @@ -80,7 +80,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_script.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_script.phpt diff -u pecl/intl/tests/locale_get_script.phpt:1.5 pecl/intl/tests/locale_get_script.phpt:1.6 --- pecl/intl/tests/locale_get_script.phpt:1.5 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_script.phpt Mon May 5 22:37:13 2008 @@ -78,7 +78,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_lookup.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_lookup.phpt diff -u pecl/intl/tests/locale_lookup.phpt:1.3 pecl/intl/tests/locale_lookup.phpt:1.4 --- pecl/intl/tests/locale_lookup.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_lookup.phpt Mon May 5 22:37:13 2008 @@ -62,7 +62,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_parse_locale.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_parse_locale.phpt diff -u pecl/intl/tests/locale_parse_locale.phpt:1.4 pecl/intl/tests/locale_parse_locale.phpt:1.5 --- pecl/intl/tests/locale_parse_locale.phpt:1.4 Tue Jan 8 00:28:08 2008 +++ pecl/intl/tests/locale_parse_locale.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_set_default.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_set_default.phpt diff -u pecl/intl/tests/locale_set_default.phpt:1.5 pecl/intl/tests/locale_set_default.phpt:1.6 --- pecl/intl/tests/locale_set_default.phpt:1.5 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_set_default.phpt Mon May 5 22:37:13 2008 @@ -90,7 +90,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_format.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/msgfmt_format.phpt diff -u pecl/intl/tests/msgfmt_format.phpt:1.4 pecl/intl/tests/msgfmt_format.phpt:1.5 --- pecl/intl/tests/msgfmt_format.phpt:1.4 Tue Mar 25 01:01:05 2008 +++ pecl/intl/tests/msgfmt_format.phpt Mon May 5 22:37:13 2008 @@ -39,7 +39,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_get_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/msgfmt_get_error.phpt diff -u pecl/intl/tests/msgfmt_get_error.phpt:1.2 pecl/intl/tests/msgfmt_get_error.phpt:1.3 --- pecl/intl/tests/msgfmt_get_error.phpt:1.2 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/msgfmt_get_error.phpt Mon May 5 22:37:13 2008 @@ -20,7 +20,7 @@ return "Ooops, an error should have occured."; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_get_locale.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/msgfmt_get_locale.phpt diff -u pecl/intl/tests/msgfmt_get_locale.phpt:1.2 pecl/intl/tests/msgfmt_get_locale.phpt:1.3 --- pecl/intl/tests/msgfmt_get_locale.phpt:1.2 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/msgfmt_get_locale.phpt Mon May 5 22:37:13 2008 @@ -29,7 +29,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_get_set_pattern.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/msgfmt_get_set_pattern.phpt diff -u pecl/intl/tests/msgfmt_get_set_pattern.phpt:1.4 pecl/intl/tests/msgfmt_get_set_pattern.phpt:1.5 --- pecl/intl/tests/msgfmt_get_set_pattern.phpt:1.4 Tue Mar 25 01:00:05 2008 +++ pecl/intl/tests/msgfmt_get_set_pattern.phpt Mon May 5 22:37:13 2008 @@ -40,7 +40,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_parse.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/msgfmt_parse.phpt diff -u pecl/intl/tests/msgfmt_parse.phpt:1.4 pecl/intl/tests/msgfmt_parse.phpt:1.5 --- pecl/intl/tests/msgfmt_parse.phpt:1.4 Tue Mar 25 01:01:05 2008 +++ pecl/intl/tests/msgfmt_parse.phpt Mon May 5 22:37:13 2008 @@ -47,7 +47,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/normalizer_normalize.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/normalizer_normalize.phpt diff -u pecl/intl/tests/normalizer_normalize.phpt:1.5 pecl/intl/tests/normalizer_normalize.phpt:1.6 --- pecl/intl/tests/normalizer_normalize.phpt:1.5 Tue Jan 8 00:27:35 2008 +++ pecl/intl/tests/normalizer_normalize.phpt Mon May 5 22:37:13 2008 @@ -92,7 +92,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sort_and_cow.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/regression_sort_and_cow.phpt diff -u pecl/intl/tests/regression_sort_and_cow.phpt:1.5 pecl/intl/tests/regression_sort_and_cow.phpt:1.6 --- pecl/intl/tests/regression_sort_and_cow.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sort_and_cow.phpt Mon May 5 22:37:13 2008 @@ -52,7 +52,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sort_eq.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/regression_sort_eq.phpt diff -u pecl/intl/tests/regression_sort_eq.phpt:1.4 pecl/intl/tests/regression_sort_eq.phpt:1.5 --- pecl/intl/tests/regression_sort_eq.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sort_eq.phpt Mon May 5 22:37:13 2008 @@ -35,7 +35,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sortwsk_and_cow.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/regression_sortwsk_and_cow.phpt diff -u pecl/intl/tests/regression_sortwsk_and_cow.phpt:1.4 pecl/intl/tests/regression_sortwsk_and_cow.phpt:1.5 --- pecl/intl/tests/regression_sortwsk_and_cow.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sortwsk_and_cow.phpt Mon May 5 22:37:13 2008 @@ -50,7 +50,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sortwsk_eq.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/regression_sortwsk_eq.phpt diff -u pecl/intl/tests/regression_sortwsk_eq.phpt:1.5 pecl/intl/tests/regression_sortwsk_eq.phpt:1.6 --- pecl/intl/tests/regression_sortwsk_eq.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sortwsk_eq.phpt Mon May 5 22:37:13 2008 @@ -38,7 +38,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/ut_common.inc?view=markup&rev=1.1 Index: pecl/intl/tests/ut_common.inc +++ pecl/intl/tests/ut_common.inc <?php /* * Run unit test in OO- and in procedural mode. * Then compare the outputs. * It they're equal then show one of them. * Otherwise indicate an error. */ function ut_run() { // Run unit test in OO mode. $GLOBALS['oo-mode'] = true; $oo_result = ut_main(); // Run unit test in procedural mode. $GLOBALS['oo-mode'] = false; $proc_result = ut_main(); // Show error if the APIs produce different results. if( $proc_result !== $oo_result ) { echo "ERROR: OO- and procedural APIs produce different results!\n"; echo "OO API output:\n"; echo str_repeat( '=', 78 ) . "\n"; echo $oo_result; echo str_repeat( '=', 78 ) . "\n"; echo "procedural API output:\n"; echo str_repeat( '=', 78 ) . "\n"; echo $proc_result; echo str_repeat( '=', 78 ) . "\n"; return; } // Else, if the results are equal, show one of them. echo $proc_result; } function dump( $val ) { return var_export( $val, true ); } /* * Convert a binary string content of $var to unicode. */ function u( $var ) { if( is_string( $var ) ) return u_str( $var ); if( is_array( $var ) ) return u_array( $var ); return $var; } /* * Convert a binary string to unicode one. */ function u_str( $s ) { if( !is_binary( $s ) ) return $s; return unicode_decode( $s, 'utf-8' ); } /* * Convert each binary string item of array to unicode string. */ function u_array( $a ) { $b = array(); foreach( $a as $key => $val ) $b[$key] = u( $val ); return $b; } /* * Same as 'var_export" but does conversion binary string content * of $str to utf-8. */ function dump_str( $val, $use_quotes = true ) { $q = ''; if( $use_quotes ) $q = "'"; if( is_unicode( $val ) && !unicode_semantics() ) return $q . unicode_encode( $val, 'utf-8' ) . $q; if( is_string( $val ) ) return $q . "$val" . $q; return var_export( $val, true ); } /* * Same as 'var_export" but does conversion binary string content * of $str to utf-8. */ function dump_array( $a ) { $b = "array (\n"; foreach( $a as $key => $val ) { if( is_integer( $key ) ) $b .= " $key => "; else $b .= " '$key' => "; if( is_unicode( $val ) && !unicode_semantics() ) $b .= "'" . unicode_encode( $val, 'utf-8' ) . "'"; elseif( is_null( $val ) ) $b .= "NULL"; elseif( is_string( $val ) ) $b .= "'" . "$val" . "'"; else $b .= $val; $b .= ",\n"; } $b .= ")"; return $b; } /* * Wrappers around Collator methods to run them in either OO- or procedural mode. */ function ut_coll_create( $locale ) { return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale ); } function ut_coll_compare( $coll, $str1, $str2 ) { return $GLOBALS['oo-mode'] ? $coll->compare( $str1, $str2 ) : collator_compare( $coll, $str1, $str2 ); } function ut_coll_sort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR ) { return $GLOBALS['oo-mode'] ? $coll->sort( $arr, $sort_flag ) : collator_sort( $coll, $arr, $sort_flag ); } function ut_coll_sort_with_sort_keys( $coll, &$arr ) { return $GLOBALS['oo-mode'] ? $coll->sortWithSortKeys( $arr ) : collator_sort_with_sort_keys( $coll, $arr ); } function ut_coll_asort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR ) { return $GLOBALS['oo-mode'] ? $coll->asort( $arr, $sort_flag ) : collator_asort( $coll, $arr, $sort_flag ); } function ut_coll_get_locale( $coll, $type ) { return $GLOBALS['oo-mode'] ? $coll->getLocale( $type ) : collator_get_locale( $coll, $type ); } function ut_coll_get_attribute( $coll, $attr ) { return $GLOBALS['oo-mode'] ? $coll->getAttribute( $attr ) : collator_get_attribute( $coll, $attr ); } function ut_coll_get_strength( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getStrength() : collator_get_strength( $coll ); } function ut_coll_set_strength( $coll, $strength ) { return $GLOBALS['oo-mode'] ? $coll->setStrength( $strength ) : collator_set_strength( $coll, $strength ); } function ut_coll_set_attribute( $coll, $attr, $val ) { return $GLOBALS['oo-mode'] ? $coll->setAttribute( $attr, $val ) : collator_set_attribute( $coll, $attr, $val ); } function ut_coll_get_variable_top( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getVariableTop() : collator_get_variable_top( $coll ); } function ut_coll_set_variable_top( $coll, $var_top ) { return $GLOBALS['oo-mode'] ? $coll->setVariableTop( $var_top ) : collator_set_variable_top( $coll, $var_top ); } function ut_coll_restore_variable_top( $coll, $var_top ) { return $GLOBALS['oo-mode'] ? $coll->restoreVariableTop( $var_top ) : collator_restore_variable_top( $coll, $var_top ); } function ut_coll_get_error_code( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getErrorCode() : collator_get_error_code( $coll ); } function ut_coll_get_error_message( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getErrorMessage() : collator_get_error_message( $coll ); } function ut_coll_get_default() { return $GLOBALS['oo-mode'] ? Collator::getDefault() : collator_get_default(); } function ut_coll_set_default( $coll ) { return $GLOBALS['oo-mode'] ? Collator::setDefault( $coll ) : collator_set_default( $coll ); } /* * Wrappers around NumberFormatter methods to run them in either OO- or procedural mode. */ // FIXME: incomplete list function ut_nfmt_create( $locale, $style, $pattern = null ) { return $GLOBALS['oo-mode'] ? new NumberFormatter( $locale, $style, $pattern ) : numfmt_create( $locale, $style, $pattern ); } function ut_nfmt_format( $fmt, $number, $type = null ) { return $GLOBALS['oo-mode'] ? $fmt->format( $number, $type ) : numfmt_format( $fmt, $number, $type ); } function ut_nfmt_parse( $fmt, $string, $type = NumberFormatter::TYPE_DOUBLE, &$position = null ) { if(is_null($position)) { return $GLOBALS['oo-mode'] ? $fmt->parse( $string, $type ) : numfmt_parse( $fmt, $string, $type ); } else { return $GLOBALS['oo-mode'] ? $fmt->parse( $string, $type, $position ) : numfmt_parse( $fmt, $string, $type, $position ); } } function ut_nfmt_format_currency( $fmt, $number, $currency ) { return $GLOBALS['oo-mode'] ? $fmt->formatCurrency( $number, $currency ) : numfmt_format_currency( $fmt, $number, $currency ); } function ut_nfmt_parse_currency( $fmt, $string, &$currency, &$position = null ) { if(is_null($position)) { return $GLOBALS['oo-mode'] ? $fmt->parseCurrency( $string, $currency ) : numfmt_parse_currency( $fmt, $string, $currency ); } else { return $GLOBALS['oo-mode'] ? $fmt->parseCurrency( $string, $currency, $position ) : numfmt_parse_currency( $fmt, $string, $currency, $position ); } } function ut_nfmt_set_attribute( $fmt, $attribute, $value ) { return $GLOBALS['oo-mode'] ? $fmt->setAttribute( $attribute, $value ) : numfmt_set_attribute( $fmt, $attribute, $value ); } function ut_nfmt_set_text_attribute( $fmt, $attribute, $value ) { return $GLOBALS['oo-mode'] ? $fmt->setTextAttribute( $attribute, $value ) : numfmt_set_text_attribute( $fmt, $attribute, $value ); } function ut_nfmt_set_symbol( $fmt, $attribute, $value ) { return $GLOBALS['oo-mode'] ? $fmt->setSymbol( $attribute, $value ) : numfmt_set_symbol( $fmt, $attribute, $value ); } function ut_nfmt_set_pattern( $fmt, $pattern ) { return $GLOBALS['oo-mode'] ? $fmt->setPattern( $pattern ) : numfmt_set_pattern( $fmt, $pattern ); } function ut_nfmt_get_attribute( $fmt, $attribute ) { return $GLOBALS['oo-mode'] ? $fmt->getAttribute( $attribute ) : numfmt_get_attribute( $fmt, $attribute ); } function ut_nfmt_get_text_attribute( $fmt, $attribute ) { return $GLOBALS['oo-mode'] ? $fmt->getTextAttribute( $attribute ) : numfmt_get_text_attribute( $fmt, $attribute ); } function ut_nfmt_get_symbol( $fmt, $attribute ) { return $GLOBALS['oo-mode'] ? $fmt->getSymbol( $attribute ) : numfmt_get_symbol( $fmt, $attribute ); } function ut_nfmt_get_pattern( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getPattern() : numfmt_get_pattern( $fmt ); } function ut_nfmt_get_locale( $fmt, $type = 0 ) { return $GLOBALS['oo-mode'] ? $fmt->getLocale( $type ) : numfmt_get_locale( $fmt, $type ); } function ut_nfmt_get_error_code( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorCode() : numfmt_get_error_code( $fmt ); } function ut_nfmt_get_error_message( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorMessage() : numfmt_get_error_message( $fmt ); } function ut_norm_normalize( $str, $form ) { return $GLOBALS['oo-mode'] ? Normalizer::normalize( $str, $form ) : normalizer_normalize( $str, $form ); } function ut_norm_is_normalized( $str, $form ) { return $GLOBALS['oo-mode'] ? Normalizer::isNormalized( $str, $form ) : normalizer_is_normalized( $str, $form ); } /* * Wrappers around Collator methods to run them in either OO- or procedural mode. */ function ut_loc_get_default( ) { return $GLOBALS['oo-mode'] ? Locale::getDefault( ) : locale_get_default(); } function ut_loc_set_default( $locale ) { return $GLOBALS['oo-mode'] ? Locale::setDefault( $locale ) : locale_set_default( $locale ); } function ut_loc_get_primary_language( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getPrimaryLanguage( $locale ) : locale_get_primary_language( $locale ); } function ut_loc_get_script( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getScript( $locale ) : locale_get_script( $locale ); } function ut_loc_get_region( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getRegion( $locale ) : locale_get_region( $locale ); } function ut_loc_get_keywords( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getKeywords( $locale ) : locale_get_keywords( $locale ); } function ut_loc_get_display_name( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayName( $locale , $dispLocale ) : locale_get_display_name( $locale , $dispLocale ); } function ut_loc_get_display_language( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayLanguage( $locale , $dispLocale ) : locale_get_display_language( $locale , $dispLocale ); } function ut_loc_get_display_script( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayScript( $locale , $dispLocale ) : locale_get_display_script( $locale , $dispLocale ); } function ut_loc_get_display_region( $locale, $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayRegion( $locale, $dispLocale ) : locale_get_display_region( $locale, $dispLocale ); } function ut_loc_get_display_variant( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayVariant( $locale , $dispLocale ) : locale_get_display_variant( $locale, $dispLocale ); } function ut_loc_locale_compose( $loc_parts_arr ) { return $GLOBALS['oo-mode'] ? Locale::composeLocale( $loc_parts_arr ) : locale_compose( $loc_parts_arr ); } function ut_loc_locale_parse( $locale ) { return $GLOBALS['oo-mode'] ? Locale::parseLocale( $locale ) : locale_parse($locale ); } function ut_loc_locale_get_all_variants( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getAllVariants( $locale ) : locale_get_all_variants( $locale ); } function ut_loc_locale_filter_matches( $lang_tag,$loc_range ,$isCanonical) { return $GLOBALS['oo-mode'] ? Locale::filterMatches( $lang_tag,$loc_range ,$isCanonical) : locale_filter_matches( $lang_tag,$loc_range ,$isCanonical); } function ut_loc_canonicalize( $locale ) { return $GLOBALS['oo-mode'] ? Locale::canonicalize( $locale ) : locale_canonicalize( $locale ); } function ut_loc_locale_lookup( $lang_tag_arr,$loc_range,$isCanonical,$default_loc) { return $GLOBALS['oo-mode'] ? Locale::lookup( $lang_tag_arr,$loc_range,$isCanonical,$default_loc ) : locale_lookup( $lang_tag_arr,$loc_range,$isCanonical,$default_loc ); } /* MessageFormatter functions */ function ut_msgfmt_create( $locale, $pattern) { return $GLOBALS['oo-mode'] ? MessageFormatter::create( $locale, $pattern ) : msgfmt_create( $locale, $pattern ); } function ut_msgfmt_format( $fmt, $args ) { return $GLOBALS['oo-mode'] ? $fmt->format( $args ) : msgfmt_format( $fmt, $args); } function ut_msgfmt_parse( $fmt, $string) { return $GLOBALS['oo-mode'] ? $fmt->parse( $string) : msgfmt_parse( $fmt, $string); } function ut_msgfmt_format_message( $locale, $pattern, $args ) { return $GLOBALS['oo-mode'] ? MessageFormatter::formatMessage( $locale, $pattern, $args ) : msgfmt_format_message( $locale, $pattern, $args ); } function ut_msgfmt_parse_message( $locale, $pattern, $string ) { return $GLOBALS['oo-mode'] ? MessageFormatter::parseMessage( $locale, $pattern, $string ) : msgfmt_parse_message( $locale, $pattern, $string ); } function ut_msgfmt_set_pattern( $fmt, $pattern ) { return $GLOBALS['oo-mode'] ? $fmt->setPattern( $pattern ) : msgfmt_set_pattern( $fmt, $pattern ); } function ut_msgfmt_get_pattern( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getPattern() : msgfmt_get_pattern( $fmt ); } function ut_msgfmt_get_locale( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getLocale( ) : msgfmt_get_locale( $fmt ); } function ut_msgfmt_get_error_code( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorCode() : msgfmt_get_error_code( $fmt ); } function ut_msgfmt_get_error_message( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorMessage() : msgfmt_get_error_message( $fmt ); } /* DateFormatter functions */ function ut_datefmt_create( $locale, $datetype, $timetype, $timezone = null, $calendar = null ,$pattern = null) { return $GLOBALS['oo-mode'] ? datefmt_create( $locale, $datetype, $timetype, $timezone, $calendar ,$pattern ) : datefmt_create( $locale, $datetype, $timetype, $timezone, $calendar ,$pattern); } function ut_datefmt_get_datetype( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getDateType( ) : datefmt_get_datetype( $fmt ); } function ut_datefmt_get_timetype( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getTimeType( ) : datefmt_get_timetype( $fmt ); } function ut_datefmt_get_calendar( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getCalendar( ) : datefmt_get_calendar( $fmt ); } function ut_datefmt_set_calendar( $fmt ,$calendar ) { return $GLOBALS['oo-mode'] ? $fmt->setCalendar( $calendar ) : datefmt_set_calendar( $fmt , $calendar ); } function ut_datefmt_get_timezone_id( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getTimeZoneId( ) : datefmt_get_timezone_id( $fmt ); } function ut_datefmt_set_timezone_id( $fmt ,$timezone_id ) { return $GLOBALS['oo-mode'] ? $fmt->setTimeZoneId( $timezone_id ) : datefmt_set_timezone_id( $fmt ,$timezone_id); } function ut_datefmt_get_pattern( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getPattern() : datefmt_get_pattern( $fmt ); } function ut_datefmt_set_pattern( $fmt , $pattern ) { return $GLOBALS['oo-mode'] ? $fmt->setPattern( $pattern ) : datefmt_set_pattern( $fmt , $pattern); } function ut_datefmt_get_locale( $fmt ,$type=ULOC_ACTUAL_LOCALE) { return $GLOBALS['oo-mode'] ? $fmt->getLocale($type ) : datefmt_get_locale( $fmt ,$type); } function ut_datefmt_is_lenient( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->isLenient() : datefmt_is_lenient( $fmt ); } function ut_datefmt_set_lenient( $fmt , $lenient ) { return $GLOBALS['oo-mode'] ? $fmt->setLenient( $lenient ) : datefmt_set_lenient( $fmt , $lenient); } function ut_datefmt_format( $fmt , $value ) { return $GLOBALS['oo-mode'] ? $fmt->format( $value ) : datefmt_format( $fmt , $value); } function ut_datefmt_parse( $fmt , $value ,$parse_pos=0 ) { return $GLOBALS['oo-mode'] ? $fmt->parse( $value ,$parse_pos ) : datefmt_parse( $fmt , $value,$parse_pos ); } function ut_datefmt_localtime( $fmt , $value ,$parse_pos=0 ) { return $GLOBALS['oo-mode'] ? $fmt->localtime( $value , $parse_pos ) : datefmt_localtime( $fmt , $value , $parse_pos ); } ?>
http://cvs.php.net/viewvc.cgi/pecl/intl/tests/bug12887.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/bug12887.phpt diff -u pecl/intl/tests/bug12887.phpt:1.2 pecl/intl/tests/bug12887.phpt:1.3 --- pecl/intl/tests/bug12887.phpt:1.2 Sat Jan 12 02:28:24 2008 +++ pecl/intl/tests/bug12887.phpt Mon May 5 22:37:13 2008 @@ -19,7 +19,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collation_customization.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collation_customization.phpt diff -u pecl/intl/tests/collation_customization.phpt:1.2 pecl/intl/tests/collation_customization.phpt:1.3 --- pecl/intl/tests/collation_customization.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collation_customization.phpt Mon May 5 22:37:13 2008 @@ -61,7 +61,7 @@ check_alternate_handling( $coll ); } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_asort.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/collator_asort.phpt diff -u pecl/intl/tests/collator_asort.phpt:1.4 pecl/intl/tests/collator_asort.phpt:1.5 --- pecl/intl/tests/collator_asort.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_asort.phpt Mon May 5 22:37:13 2008 @@ -137,7 +137,7 @@ return $res_str . "\n"; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_compare.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/collator_compare.phpt diff -u pecl/intl/tests/collator_compare.phpt:1.3 pecl/intl/tests/collator_compare.phpt:1.4 --- pecl/intl/tests/collator_compare.phpt:1.3 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_compare.phpt Mon May 5 22:37:13 2008 @@ -110,7 +110,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_create.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/collator_create.phpt diff -u pecl/intl/tests/collator_create.phpt:1.5 pecl/intl/tests/collator_create.phpt:1.6 --- pecl/intl/tests/collator_create.phpt:1.5 Mon Feb 11 20:43:38 2008 +++ pecl/intl/tests/collator_create.phpt Mon May 5 22:37:13 2008 @@ -49,7 +49,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_error_code.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_error_code.phpt diff -u pecl/intl/tests/collator_get_error_code.phpt:1.2 pecl/intl/tests/collator_get_error_code.phpt:1.3 --- pecl/intl/tests/collator_get_error_code.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_error_code.phpt Mon May 5 22:37:13 2008 @@ -39,7 +39,7 @@ # Suppress warning messages. error_reporting( E_ERROR ); -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_error_message.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_error_message.phpt diff -u pecl/intl/tests/collator_get_error_message.phpt:1.2 pecl/intl/tests/collator_get_error_message.phpt:1.3 --- pecl/intl/tests/collator_get_error_message.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_error_message.phpt Mon May 5 22:37:13 2008 @@ -28,7 +28,7 @@ return $res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_locale.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/collator_get_locale.phpt diff -u pecl/intl/tests/collator_get_locale.phpt:1.3 pecl/intl/tests/collator_get_locale.phpt:1.4 --- pecl/intl/tests/collator_get_locale.phpt:1.3 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/collator_get_locale.phpt Mon May 5 22:37:13 2008 @@ -38,7 +38,7 @@ return $res_str . "\n"; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- @@ -49,4 +49,4 @@ Locale of type -9999999999999 is false Locale of type 9999999999999 is false Locale of type 1.2 is 'en_US' -Locale of type 1.0E+46 is 'en' +Locale of type 1.0E+46 is false http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_set_attribute.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_set_attribute.phpt diff -u pecl/intl/tests/collator_get_set_attribute.phpt:1.2 pecl/intl/tests/collator_get_set_attribute.phpt:1.3 --- pecl/intl/tests/collator_get_set_attribute.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_set_attribute.phpt Mon May 5 22:37:13 2008 @@ -33,7 +33,7 @@ return $res; } -include( 'ut_common.php' ); +include( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_get_set_strength.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/collator_get_set_strength.phpt diff -u pecl/intl/tests/collator_get_set_strength.phpt:1.2 pecl/intl/tests/collator_get_set_strength.phpt:1.3 --- pecl/intl/tests/collator_get_set_strength.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/collator_get_set_strength.phpt Mon May 5 22:37:13 2008 @@ -32,7 +32,7 @@ return $res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_sort.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/collator_sort.phpt diff -u pecl/intl/tests/collator_sort.phpt:1.4 pecl/intl/tests/collator_sort.phpt:1.5 --- pecl/intl/tests/collator_sort.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_sort.phpt Mon May 5 22:37:13 2008 @@ -103,7 +103,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/collator_sort_with_sort_keys.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/collator_sort_with_sort_keys.phpt diff -u pecl/intl/tests/collator_sort_with_sort_keys.phpt:1.4 pecl/intl/tests/collator_sort_with_sort_keys.phpt:1.5 --- pecl/intl/tests/collator_sort_with_sort_keys.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/collator_sort_with_sort_keys.phpt Mon May 5 22:37:13 2008 @@ -93,7 +93,7 @@ return $res_str . "\n"; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_format.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/dateformat_format.phpt diff -u pecl/intl/tests/dateformat_format.phpt:1.5 pecl/intl/tests/dateformat_format.phpt:1.6 --- pecl/intl/tests/dateformat_format.phpt:1.5 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_format.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_format_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -124,7 +125,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_format_parse.phpt?r1=1.1&r2=1.2&diff_format=u Index: pecl/intl/tests/dateformat_format_parse.phpt diff -u pecl/intl/tests/dateformat_format_parse.phpt:1.1 pecl/intl/tests/dateformat_format_parse.phpt:1.2 --- pecl/intl/tests/dateformat_format_parse.phpt:1.1 Thu Apr 3 20:57:50 2008 +++ pecl/intl/tests/dateformat_format_parse.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_format_code() and datefmt_parse_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -139,7 +140,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -304,4 +305,4 @@ Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , DateFormatter locale= en_US ,datetype = 2 ,timetype =2 Formatted localtime_array is : Apr 3, 1895 3:03:24 AM -Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , \ No newline at end of file +Parsed array is: tm_sec : '24' , tm_min : '3' , tm_hour : '3' , tm_year : '-5' , tm_mday : '3' , tm_wday : '3' , tm_yday : '93' , tm_mon : '3' , tm_isdst : '1' , http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_datetype.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_datetype.phpt diff -u pecl/intl/tests/dateformat_get_datetype.phpt:1.2 pecl/intl/tests/dateformat_get_datetype.phpt:1.3 --- pecl/intl/tests/dateformat_get_datetype.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_datetype.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_datetype_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -35,7 +36,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_locale.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_get_locale.phpt diff -u pecl/intl/tests/dateformat_get_locale.phpt:1.3 pecl/intl/tests/dateformat_get_locale.phpt:1.4 --- pecl/intl/tests/dateformat_get_locale.phpt:1.3 Tue Mar 25 01:02:11 2008 +++ pecl/intl/tests/dateformat_get_locale.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_locale_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -34,7 +35,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_set_calendar.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_set_calendar.phpt diff -u pecl/intl/tests/dateformat_get_set_calendar.phpt:1.2 pecl/intl/tests/dateformat_get_set_calendar.phpt:1.3 --- pecl/intl/tests/dateformat_get_set_calendar.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_set_calendar.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_calendar_code() datefmt_set_calendar_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -40,7 +41,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -57,4 +58,4 @@ ------------------- Setting DateFormatter with calendar = 3 After call to get_calendar : calendar= 0 -------------------- \ No newline at end of file +------------------- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_set_pattern.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_get_set_pattern.phpt diff -u pecl/intl/tests/dateformat_get_set_pattern.phpt:1.3 pecl/intl/tests/dateformat_get_set_pattern.phpt:1.4 --- pecl/intl/tests/dateformat_get_set_pattern.phpt:1.3 Thu Mar 6 20:44:05 2008 +++ pecl/intl/tests/dateformat_get_set_pattern.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_pattern_code and datefmt_set_pattern_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -49,7 +50,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -81,4 +82,4 @@ Setting DateFormatter with pattern = yyyyMMdd After call to get_pattern : pattern= yyyyMMdd Result of formatting timestamp=0 with the new pattern is : -19691231 \ No newline at end of file +19691231 http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_timetype.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_timetype.phpt diff -u pecl/intl/tests/dateformat_get_timetype.phpt:1.2 pecl/intl/tests/dateformat_get_timetype.phpt:1.3 --- pecl/intl/tests/dateformat_get_timetype.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_timetype.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_timetype_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -35,7 +36,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_get_timezone_id.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_get_timezone_id.phpt diff -u pecl/intl/tests/dateformat_get_timezone_id.phpt:1.2 pecl/intl/tests/dateformat_get_timezone_id.phpt:1.3 --- pecl/intl/tests/dateformat_get_timezone_id.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_get_timezone_id.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_get_timezone_id_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -33,7 +34,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_is_set_lenient.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_is_set_lenient.phpt diff -u pecl/intl/tests/dateformat_is_set_lenient.phpt:1.2 pecl/intl/tests/dateformat_is_set_lenient.phpt:1.3 --- pecl/intl/tests/dateformat_is_set_lenient.phpt:1.2 Wed Mar 5 22:39:23 2008 +++ pecl/intl/tests/dateformat_is_set_lenient.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_set_lenient and datefmt_set_lenient() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -71,7 +72,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_localtime.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/dateformat_localtime.phpt diff -u pecl/intl/tests/dateformat_localtime.phpt:1.5 pecl/intl/tests/dateformat_localtime.phpt:1.6 --- pecl/intl/tests/dateformat_localtime.phpt:1.5 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_localtime.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_localtime_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -87,7 +88,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -130,4 +131,4 @@ ------------ DateFormatter : DateType::MEDIUM, TimeType::MEDIUM ------------ -DateFormatter : DateType::FULL, TimeType::FULL \ No newline at end of file +DateFormatter : DateType::FULL, TimeType::FULL http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_parse.phpt?r1=1.6&r2=1.7&diff_format=u Index: pecl/intl/tests/dateformat_parse.phpt diff -u pecl/intl/tests/dateformat_parse.phpt:1.6 pecl/intl/tests/dateformat_parse.phpt:1.7 --- pecl/intl/tests/dateformat_parse.phpt:1.6 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_parse.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_parse_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -59,7 +60,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt diff -u pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt:1.3 pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt:1.4 --- pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt:1.3 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_parse_localtime_parsepos.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_parse_localtime() with parse pos --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -73,7 +74,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt diff -u pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt:1.3 pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt:1.4 --- pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt:1.3 Thu Apr 3 20:57:15 2008 +++ pecl/intl/tests/dateformat_parse_timestamp_parsepos.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_parse_timestamp_code() with parse pos --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -63,7 +64,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/dateformat_set_timezone_id.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/dateformat_set_timezone_id.phpt diff -u pecl/intl/tests/dateformat_set_timezone_id.phpt:1.2 pecl/intl/tests/dateformat_set_timezone_id.phpt:1.3 --- pecl/intl/tests/dateformat_set_timezone_id.phpt:1.2 Wed Mar 5 22:37:58 2008 +++ pecl/intl/tests/dateformat_set_timezone_id.phpt Mon May 5 22:37:13 2008 @@ -2,6 +2,7 @@ datefmt_set_timezone_id_code() --SKIPIF-- <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?> +<?php print 'skip'; ?> --FILE-- <?php @@ -46,7 +47,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); @@ -72,4 +73,4 @@ Trying to set timezone_id= CN After call to set_timezone_id : timezone_id= CN Formatting timestamp=0 resulted in Thursday, January 1, 1970 12:00:00 AM GMT+00:00 -Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00 \ No newline at end of file +Formatting timestamp=3600 resulted in Thursday, January 1, 1970 1:00:00 AM GMT+00:00 http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_format.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_format.phpt diff -u pecl/intl/tests/formatter_format.phpt:1.5 pecl/intl/tests/formatter_format.phpt:1.6 --- pecl/intl/tests/formatter_format.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/formatter_format.phpt Mon May 5 22:37:13 2008 @@ -52,7 +52,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_format_conv.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/formatter_format_conv.phpt diff -u pecl/intl/tests/formatter_format_conv.phpt:1.2 pecl/intl/tests/formatter_format_conv.phpt:1.3 --- pecl/intl/tests/formatter_format_conv.phpt:1.2 Wed Dec 26 20:08:07 2007 +++ pecl/intl/tests/formatter_format_conv.phpt Mon May 5 22:37:13 2008 @@ -14,7 +14,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_format_currency.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_format_currency.phpt diff -u pecl/intl/tests/formatter_format_currency.phpt:1.5 pecl/intl/tests/formatter_format_currency.phpt:1.6 --- pecl/intl/tests/formatter_format_currency.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/formatter_format_currency.phpt Mon May 5 22:37:13 2008 @@ -31,7 +31,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/formatter_get_error.phpt diff -u pecl/intl/tests/formatter_get_error.phpt:1.2 pecl/intl/tests/formatter_get_error.phpt:1.3 --- pecl/intl/tests/formatter_get_error.phpt:1.2 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/formatter_get_error.phpt Mon May 5 22:37:13 2008 @@ -22,7 +22,7 @@ return "Ooops, an error should have occured."; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_locale.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/formatter_get_locale.phpt diff -u pecl/intl/tests/formatter_get_locale.phpt:1.3 pecl/intl/tests/formatter_get_locale.phpt:1.4 --- pecl/intl/tests/formatter_get_locale.phpt:1.3 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/formatter_get_locale.phpt Mon May 5 22:37:13 2008 @@ -38,7 +38,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_attribute.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/formatter_get_set_attribute.phpt diff -u pecl/intl/tests/formatter_get_set_attribute.phpt:1.3 pecl/intl/tests/formatter_get_set_attribute.phpt:1.4 --- pecl/intl/tests/formatter_get_set_attribute.phpt:1.3 Thu Aug 9 00:04:54 2007 +++ pecl/intl/tests/formatter_get_set_attribute.phpt Mon May 5 22:37:13 2008 @@ -90,7 +90,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_pattern.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/formatter_get_set_pattern.phpt diff -u pecl/intl/tests/formatter_get_set_pattern.phpt:1.3 pecl/intl/tests/formatter_get_set_pattern.phpt:1.4 --- pecl/intl/tests/formatter_get_set_pattern.phpt:1.3 Wed Jan 2 22:54:04 2008 +++ pecl/intl/tests/formatter_get_set_pattern.phpt Mon May 5 22:37:13 2008 @@ -39,7 +39,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_symbol.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_get_set_symbol.phpt diff -u pecl/intl/tests/formatter_get_set_symbol.phpt:1.5 pecl/intl/tests/formatter_get_set_symbol.phpt:1.6 --- pecl/intl/tests/formatter_get_set_symbol.phpt:1.5 Wed Jan 2 22:54:04 2008 +++ pecl/intl/tests/formatter_get_set_symbol.phpt Mon May 5 22:37:13 2008 @@ -77,7 +77,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_get_set_text_attribute.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_get_set_text_attribute.phpt diff -u pecl/intl/tests/formatter_get_set_text_attribute.phpt:1.5 pecl/intl/tests/formatter_get_set_text_attribute.phpt:1.6 --- pecl/intl/tests/formatter_get_set_text_attribute.phpt:1.5 Wed Jan 2 22:54:04 2008 +++ pecl/intl/tests/formatter_get_set_text_attribute.phpt Mon May 5 22:37:13 2008 @@ -75,7 +75,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_parse.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/formatter_parse.phpt diff -u pecl/intl/tests/formatter_parse.phpt:1.5 pecl/intl/tests/formatter_parse.phpt:1.6 --- pecl/intl/tests/formatter_parse.phpt:1.5 Thu Apr 3 00:43:43 2008 +++ pecl/intl/tests/formatter_parse.phpt Mon May 5 22:37:13 2008 @@ -31,7 +31,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/formatter_parse_currency.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/formatter_parse_currency.phpt diff -u pecl/intl/tests/formatter_parse_currency.phpt:1.4 pecl/intl/tests/formatter_parse_currency.phpt:1.5 --- pecl/intl/tests/formatter_parse_currency.phpt:1.4 Thu Nov 1 17:24:11 2007 +++ pecl/intl/tests/formatter_parse_currency.phpt Mon May 5 22:37:13 2008 @@ -28,7 +28,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_compose_locale.phpt?r1=1.7&r2=1.8&diff_format=u Index: pecl/intl/tests/locale_compose_locale.phpt diff -u pecl/intl/tests/locale_compose_locale.phpt:1.7 pecl/intl/tests/locale_compose_locale.phpt:1.8 --- pecl/intl/tests/locale_compose_locale.phpt:1.7 Thu Jan 17 19:47:47 2008 +++ pecl/intl/tests/locale_compose_locale.phpt Mon May 5 22:37:13 2008 @@ -131,7 +131,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_filter_matches.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_filter_matches.phpt diff -u pecl/intl/tests/locale_filter_matches.phpt:1.3 pecl/intl/tests/locale_filter_matches.phpt:1.4 --- pecl/intl/tests/locale_filter_matches.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_filter_matches.phpt Mon May 5 22:37:13 2008 @@ -70,7 +70,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_all_variants.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/locale_get_all_variants.phpt diff -u pecl/intl/tests/locale_get_all_variants.phpt:1.2 pecl/intl/tests/locale_get_all_variants.phpt:1.3 --- pecl/intl/tests/locale_get_all_variants.phpt:1.2 Tue Nov 6 12:40:21 2007 +++ pecl/intl/tests/locale_get_all_variants.phpt Mon May 5 22:37:13 2008 @@ -44,7 +44,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_default.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_get_default.phpt diff -u pecl/intl/tests/locale_get_default.phpt:1.3 pecl/intl/tests/locale_get_default.phpt:1.4 --- pecl/intl/tests/locale_get_default.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_default.phpt Mon May 5 22:37:13 2008 @@ -36,7 +36,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_language.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_display_language.phpt diff -u pecl/intl/tests/locale_get_display_language.phpt:1.5 pecl/intl/tests/locale_get_display_language.phpt:1.6 --- pecl/intl/tests/locale_get_display_language.phpt:1.5 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_language.phpt Mon May 5 22:37:13 2008 @@ -90,7 +90,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_name.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_get_display_name.phpt diff -u pecl/intl/tests/locale_get_display_name.phpt:1.4 pecl/intl/tests/locale_get_display_name.phpt:1.5 --- pecl/intl/tests/locale_get_display_name.phpt:1.4 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_name.phpt Mon May 5 22:37:13 2008 @@ -100,7 +100,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_region.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_display_region.phpt diff -u pecl/intl/tests/locale_get_display_region.phpt:1.5 pecl/intl/tests/locale_get_display_region.phpt:1.6 --- pecl/intl/tests/locale_get_display_region.phpt:1.5 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_region.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_script.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_display_script.phpt diff -u pecl/intl/tests/locale_get_display_script.phpt:1.5 pecl/intl/tests/locale_get_display_script.phpt:1.6 --- pecl/intl/tests/locale_get_display_script.phpt:1.5 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_script.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_display_variant.phpt?r1=1.6&r2=1.7&diff_format=u Index: pecl/intl/tests/locale_get_display_variant.phpt diff -u pecl/intl/tests/locale_get_display_variant.phpt:1.6 pecl/intl/tests/locale_get_display_variant.phpt:1.7 --- pecl/intl/tests/locale_get_display_variant.phpt:1.6 Tue Jan 8 02:18:19 2008 +++ pecl/intl/tests/locale_get_display_variant.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_keywords.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_get_keywords.phpt diff -u pecl/intl/tests/locale_get_keywords.phpt:1.3 pecl/intl/tests/locale_get_keywords.phpt:1.4 --- pecl/intl/tests/locale_get_keywords.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_keywords.phpt Mon May 5 22:37:13 2008 @@ -93,7 +93,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_primary_language.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_get_primary_language.phpt diff -u pecl/intl/tests/locale_get_primary_language.phpt:1.4 pecl/intl/tests/locale_get_primary_language.phpt:1.5 --- pecl/intl/tests/locale_get_primary_language.phpt:1.4 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_primary_language.phpt Mon May 5 22:37:13 2008 @@ -79,7 +79,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_region.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_get_region.phpt diff -u pecl/intl/tests/locale_get_region.phpt:1.4 pecl/intl/tests/locale_get_region.phpt:1.5 --- pecl/intl/tests/locale_get_region.phpt:1.4 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_region.phpt Mon May 5 22:37:13 2008 @@ -80,7 +80,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_get_script.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_get_script.phpt diff -u pecl/intl/tests/locale_get_script.phpt:1.5 pecl/intl/tests/locale_get_script.phpt:1.6 --- pecl/intl/tests/locale_get_script.phpt:1.5 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_get_script.phpt Mon May 5 22:37:13 2008 @@ -78,7 +78,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_lookup.phpt?r1=1.3&r2=1.4&diff_format=u Index: pecl/intl/tests/locale_lookup.phpt diff -u pecl/intl/tests/locale_lookup.phpt:1.3 pecl/intl/tests/locale_lookup.phpt:1.4 --- pecl/intl/tests/locale_lookup.phpt:1.3 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_lookup.phpt Mon May 5 22:37:13 2008 @@ -62,7 +62,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_parse_locale.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/locale_parse_locale.phpt diff -u pecl/intl/tests/locale_parse_locale.phpt:1.4 pecl/intl/tests/locale_parse_locale.phpt:1.5 --- pecl/intl/tests/locale_parse_locale.phpt:1.4 Tue Jan 8 00:28:08 2008 +++ pecl/intl/tests/locale_parse_locale.phpt Mon May 5 22:37:13 2008 @@ -89,7 +89,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/locale_set_default.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/locale_set_default.phpt diff -u pecl/intl/tests/locale_set_default.phpt:1.5 pecl/intl/tests/locale_set_default.phpt:1.6 --- pecl/intl/tests/locale_set_default.phpt:1.5 Fri Dec 21 21:49:11 2007 +++ pecl/intl/tests/locale_set_default.phpt Mon May 5 22:37:13 2008 @@ -90,7 +90,7 @@ } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_format.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/msgfmt_format.phpt diff -u pecl/intl/tests/msgfmt_format.phpt:1.4 pecl/intl/tests/msgfmt_format.phpt:1.5 --- pecl/intl/tests/msgfmt_format.phpt:1.4 Tue Mar 25 01:01:05 2008 +++ pecl/intl/tests/msgfmt_format.phpt Mon May 5 22:37:13 2008 @@ -39,7 +39,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_get_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/msgfmt_get_error.phpt diff -u pecl/intl/tests/msgfmt_get_error.phpt:1.2 pecl/intl/tests/msgfmt_get_error.phpt:1.3 --- pecl/intl/tests/msgfmt_get_error.phpt:1.2 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/msgfmt_get_error.phpt Mon May 5 22:37:13 2008 @@ -20,7 +20,7 @@ return "Ooops, an error should have occured."; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_get_locale.phpt?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/tests/msgfmt_get_locale.phpt diff -u pecl/intl/tests/msgfmt_get_locale.phpt:1.2 pecl/intl/tests/msgfmt_get_locale.phpt:1.3 --- pecl/intl/tests/msgfmt_get_locale.phpt:1.2 Wed Nov 7 21:48:12 2007 +++ pecl/intl/tests/msgfmt_get_locale.phpt Mon May 5 22:37:13 2008 @@ -29,7 +29,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_get_set_pattern.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/msgfmt_get_set_pattern.phpt diff -u pecl/intl/tests/msgfmt_get_set_pattern.phpt:1.4 pecl/intl/tests/msgfmt_get_set_pattern.phpt:1.5 --- pecl/intl/tests/msgfmt_get_set_pattern.phpt:1.4 Tue Mar 25 01:00:05 2008 +++ pecl/intl/tests/msgfmt_get_set_pattern.phpt Mon May 5 22:37:13 2008 @@ -40,7 +40,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/msgfmt_parse.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/msgfmt_parse.phpt diff -u pecl/intl/tests/msgfmt_parse.phpt:1.4 pecl/intl/tests/msgfmt_parse.phpt:1.5 --- pecl/intl/tests/msgfmt_parse.phpt:1.4 Tue Mar 25 01:01:05 2008 +++ pecl/intl/tests/msgfmt_parse.phpt Mon May 5 22:37:13 2008 @@ -47,7 +47,7 @@ return $str_res; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); // Run the test ut_run(); http://cvs.php.net/viewvc.cgi/pecl/intl/tests/normalizer_normalize.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/normalizer_normalize.phpt diff -u pecl/intl/tests/normalizer_normalize.phpt:1.5 pecl/intl/tests/normalizer_normalize.phpt:1.6 --- pecl/intl/tests/normalizer_normalize.phpt:1.5 Tue Jan 8 00:27:35 2008 +++ pecl/intl/tests/normalizer_normalize.phpt Mon May 5 22:37:13 2008 @@ -92,7 +92,7 @@ return $res_str; } -include_once( 'ut_common.php' ); +include_once( 'ut_common.inc' ); ut_run(); ?> http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sort_and_cow.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/regression_sort_and_cow.phpt diff -u pecl/intl/tests/regression_sort_and_cow.phpt:1.5 pecl/intl/tests/regression_sort_and_cow.phpt:1.6 --- pecl/intl/tests/regression_sort_and_cow.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sort_and_cow.phpt Mon May 5 22:37:13 2008 @@ -52,7 +52,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sort_eq.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/regression_sort_eq.phpt diff -u pecl/intl/tests/regression_sort_eq.phpt:1.4 pecl/intl/tests/regression_sort_eq.phpt:1.5 --- pecl/intl/tests/regression_sort_eq.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sort_eq.phpt Mon May 5 22:37:13 2008 @@ -35,7 +35,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sortwsk_and_cow.phpt?r1=1.4&r2=1.5&diff_format=u Index: pecl/intl/tests/regression_sortwsk_and_cow.phpt diff -u pecl/intl/tests/regression_sortwsk_and_cow.phpt:1.4 pecl/intl/tests/regression_sortwsk_and_cow.phpt:1.5 --- pecl/intl/tests/regression_sortwsk_and_cow.phpt:1.4 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sortwsk_and_cow.phpt Mon May 5 22:37:13 2008 @@ -50,7 +50,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/regression_sortwsk_eq.phpt?r1=1.5&r2=1.6&diff_format=u Index: pecl/intl/tests/regression_sortwsk_eq.phpt diff -u pecl/intl/tests/regression_sortwsk_eq.phpt:1.5 pecl/intl/tests/regression_sortwsk_eq.phpt:1.6 --- pecl/intl/tests/regression_sortwsk_eq.phpt:1.5 Thu Nov 8 00:51:25 2007 +++ pecl/intl/tests/regression_sortwsk_eq.phpt Mon May 5 22:37:13 2008 @@ -38,7 +38,7 @@ return $res_str; } -require_once( 'ut_common.php' ); +require_once( 'ut_common.inc' ); ut_run(); ?> --EXPECT-- http://cvs.php.net/viewvc.cgi/pecl/intl/tests/ut_common.inc?view=markup&rev=1.1 Index: pecl/intl/tests/ut_common.inc +++ pecl/intl/tests/ut_common.inc <?php /* * Run unit test in OO- and in procedural mode. * Then compare the outputs. * It they're equal then show one of them. * Otherwise indicate an error. */ function ut_run() { // Run unit test in OO mode. $GLOBALS['oo-mode'] = true; $oo_result = ut_main(); // Run unit test in procedural mode. $GLOBALS['oo-mode'] = false; $proc_result = ut_main(); // Show error if the APIs produce different results. if( $proc_result !== $oo_result ) { echo "ERROR: OO- and procedural APIs produce different results!\n"; echo "OO API output:\n"; echo str_repeat( '=', 78 ) . "\n"; echo $oo_result; echo str_repeat( '=', 78 ) . "\n"; echo "procedural API output:\n"; echo str_repeat( '=', 78 ) . "\n"; echo $proc_result; echo str_repeat( '=', 78 ) . "\n"; return; } // Else, if the results are equal, show one of them. echo $proc_result; } function dump( $val ) { return var_export( $val, true ); } /* * Convert a binary string content of $var to unicode. */ function u( $var ) { if( is_string( $var ) ) return u_str( $var ); if( is_array( $var ) ) return u_array( $var ); return $var; } /* * Convert a binary string to unicode one. */ function u_str( $s ) { if( !is_binary( $s ) ) return $s; return unicode_decode( $s, 'utf-8' ); } /* * Convert each binary string item of array to unicode string. */ function u_array( $a ) { $b = array(); foreach( $a as $key => $val ) $b[$key] = u( $val ); return $b; } /* * Same as 'var_export" but does conversion binary string content * of $str to utf-8. */ function dump_str( $val, $use_quotes = true ) { $q = ''; if( $use_quotes ) $q = "'"; if( is_unicode( $val ) && !unicode_semantics() ) return $q . unicode_encode( $val, 'utf-8' ) . $q; if( is_string( $val ) ) return $q . "$val" . $q; return var_export( $val, true ); } /* * Same as 'var_export" but does conversion binary string content * of $str to utf-8. */ function dump_array( $a ) { $b = "array (\n"; foreach( $a as $key => $val ) { if( is_integer( $key ) ) $b .= " $key => "; else $b .= " '$key' => "; if( is_unicode( $val ) && !unicode_semantics() ) $b .= "'" . unicode_encode( $val, 'utf-8' ) . "'"; elseif( is_null( $val ) ) $b .= "NULL"; elseif( is_string( $val ) ) $b .= "'" . "$val" . "'"; else $b .= $val; $b .= ",\n"; } $b .= ")"; return $b; } /* * Wrappers around Collator methods to run them in either OO- or procedural mode. */ function ut_coll_create( $locale ) { return $GLOBALS['oo-mode'] ? Collator::create( $locale ) : collator_create( $locale ); } function ut_coll_compare( $coll, $str1, $str2 ) { return $GLOBALS['oo-mode'] ? $coll->compare( $str1, $str2 ) : collator_compare( $coll, $str1, $str2 ); } function ut_coll_sort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR ) { return $GLOBALS['oo-mode'] ? $coll->sort( $arr, $sort_flag ) : collator_sort( $coll, $arr, $sort_flag ); } function ut_coll_sort_with_sort_keys( $coll, &$arr ) { return $GLOBALS['oo-mode'] ? $coll->sortWithSortKeys( $arr ) : collator_sort_with_sort_keys( $coll, $arr ); } function ut_coll_asort( $coll, &$arr, $sort_flag = Collator::SORT_REGULAR ) { return $GLOBALS['oo-mode'] ? $coll->asort( $arr, $sort_flag ) : collator_asort( $coll, $arr, $sort_flag ); } function ut_coll_get_locale( $coll, $type ) { return $GLOBALS['oo-mode'] ? $coll->getLocale( $type ) : collator_get_locale( $coll, $type ); } function ut_coll_get_attribute( $coll, $attr ) { return $GLOBALS['oo-mode'] ? $coll->getAttribute( $attr ) : collator_get_attribute( $coll, $attr ); } function ut_coll_get_strength( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getStrength() : collator_get_strength( $coll ); } function ut_coll_set_strength( $coll, $strength ) { return $GLOBALS['oo-mode'] ? $coll->setStrength( $strength ) : collator_set_strength( $coll, $strength ); } function ut_coll_set_attribute( $coll, $attr, $val ) { return $GLOBALS['oo-mode'] ? $coll->setAttribute( $attr, $val ) : collator_set_attribute( $coll, $attr, $val ); } function ut_coll_get_variable_top( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getVariableTop() : collator_get_variable_top( $coll ); } function ut_coll_set_variable_top( $coll, $var_top ) { return $GLOBALS['oo-mode'] ? $coll->setVariableTop( $var_top ) : collator_set_variable_top( $coll, $var_top ); } function ut_coll_restore_variable_top( $coll, $var_top ) { return $GLOBALS['oo-mode'] ? $coll->restoreVariableTop( $var_top ) : collator_restore_variable_top( $coll, $var_top ); } function ut_coll_get_error_code( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getErrorCode() : collator_get_error_code( $coll ); } function ut_coll_get_error_message( $coll ) { return $GLOBALS['oo-mode'] ? $coll->getErrorMessage() : collator_get_error_message( $coll ); } function ut_coll_get_default() { return $GLOBALS['oo-mode'] ? Collator::getDefault() : collator_get_default(); } function ut_coll_set_default( $coll ) { return $GLOBALS['oo-mode'] ? Collator::setDefault( $coll ) : collator_set_default( $coll ); } /* * Wrappers around NumberFormatter methods to run them in either OO- or procedural mode. */ // FIXME: incomplete list function ut_nfmt_create( $locale, $style, $pattern = null ) { return $GLOBALS['oo-mode'] ? new NumberFormatter( $locale, $style, $pattern ) : numfmt_create( $locale, $style, $pattern ); } function ut_nfmt_format( $fmt, $number, $type = null ) { return $GLOBALS['oo-mode'] ? $fmt->format( $number, $type ) : numfmt_format( $fmt, $number, $type ); } function ut_nfmt_parse( $fmt, $string, $type = NumberFormatter::TYPE_DOUBLE, &$position = null ) { if(is_null($position)) { return $GLOBALS['oo-mode'] ? $fmt->parse( $string, $type ) : numfmt_parse( $fmt, $string, $type ); } else { return $GLOBALS['oo-mode'] ? $fmt->parse( $string, $type, $position ) : numfmt_parse( $fmt, $string, $type, $position ); } } function ut_nfmt_format_currency( $fmt, $number, $currency ) { return $GLOBALS['oo-mode'] ? $fmt->formatCurrency( $number, $currency ) : numfmt_format_currency( $fmt, $number, $currency ); } function ut_nfmt_parse_currency( $fmt, $string, &$currency, &$position = null ) { if(is_null($position)) { return $GLOBALS['oo-mode'] ? $fmt->parseCurrency( $string, $currency ) : numfmt_parse_currency( $fmt, $string, $currency ); } else { return $GLOBALS['oo-mode'] ? $fmt->parseCurrency( $string, $currency, $position ) : numfmt_parse_currency( $fmt, $string, $currency, $position ); } } function ut_nfmt_set_attribute( $fmt, $attribute, $value ) { return $GLOBALS['oo-mode'] ? $fmt->setAttribute( $attribute, $value ) : numfmt_set_attribute( $fmt, $attribute, $value ); } function ut_nfmt_set_text_attribute( $fmt, $attribute, $value ) { return $GLOBALS['oo-mode'] ? $fmt->setTextAttribute( $attribute, $value ) : numfmt_set_text_attribute( $fmt, $attribute, $value ); } function ut_nfmt_set_symbol( $fmt, $attribute, $value ) { return $GLOBALS['oo-mode'] ? $fmt->setSymbol( $attribute, $value ) : numfmt_set_symbol( $fmt, $attribute, $value ); } function ut_nfmt_set_pattern( $fmt, $pattern ) { return $GLOBALS['oo-mode'] ? $fmt->setPattern( $pattern ) : numfmt_set_pattern( $fmt, $pattern ); } function ut_nfmt_get_attribute( $fmt, $attribute ) { return $GLOBALS['oo-mode'] ? $fmt->getAttribute( $attribute ) : numfmt_get_attribute( $fmt, $attribute ); } function ut_nfmt_get_text_attribute( $fmt, $attribute ) { return $GLOBALS['oo-mode'] ? $fmt->getTextAttribute( $attribute ) : numfmt_get_text_attribute( $fmt, $attribute ); } function ut_nfmt_get_symbol( $fmt, $attribute ) { return $GLOBALS['oo-mode'] ? $fmt->getSymbol( $attribute ) : numfmt_get_symbol( $fmt, $attribute ); } function ut_nfmt_get_pattern( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getPattern() : numfmt_get_pattern( $fmt ); } function ut_nfmt_get_locale( $fmt, $type = 0 ) { return $GLOBALS['oo-mode'] ? $fmt->getLocale( $type ) : numfmt_get_locale( $fmt, $type ); } function ut_nfmt_get_error_code( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorCode() : numfmt_get_error_code( $fmt ); } function ut_nfmt_get_error_message( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorMessage() : numfmt_get_error_message( $fmt ); } function ut_norm_normalize( $str, $form ) { return $GLOBALS['oo-mode'] ? Normalizer::normalize( $str, $form ) : normalizer_normalize( $str, $form ); } function ut_norm_is_normalized( $str, $form ) { return $GLOBALS['oo-mode'] ? Normalizer::isNormalized( $str, $form ) : normalizer_is_normalized( $str, $form ); } /* * Wrappers around Collator methods to run them in either OO- or procedural mode. */ function ut_loc_get_default( ) { return $GLOBALS['oo-mode'] ? Locale::getDefault( ) : locale_get_default(); } function ut_loc_set_default( $locale ) { return $GLOBALS['oo-mode'] ? Locale::setDefault( $locale ) : locale_set_default( $locale ); } function ut_loc_get_primary_language( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getPrimaryLanguage( $locale ) : locale_get_primary_language( $locale ); } function ut_loc_get_script( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getScript( $locale ) : locale_get_script( $locale ); } function ut_loc_get_region( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getRegion( $locale ) : locale_get_region( $locale ); } function ut_loc_get_keywords( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getKeywords( $locale ) : locale_get_keywords( $locale ); } function ut_loc_get_display_name( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayName( $locale , $dispLocale ) : locale_get_display_name( $locale , $dispLocale ); } function ut_loc_get_display_language( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayLanguage( $locale , $dispLocale ) : locale_get_display_language( $locale , $dispLocale ); } function ut_loc_get_display_script( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayScript( $locale , $dispLocale ) : locale_get_display_script( $locale , $dispLocale ); } function ut_loc_get_display_region( $locale, $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayRegion( $locale, $dispLocale ) : locale_get_display_region( $locale, $dispLocale ); } function ut_loc_get_display_variant( $locale , $dispLocale ) { return $GLOBALS['oo-mode'] ? Locale::getDisplayVariant( $locale , $dispLocale ) : locale_get_display_variant( $locale, $dispLocale ); } function ut_loc_locale_compose( $loc_parts_arr ) { return $GLOBALS['oo-mode'] ? Locale::composeLocale( $loc_parts_arr ) : locale_compose( $loc_parts_arr ); } function ut_loc_locale_parse( $locale ) { return $GLOBALS['oo-mode'] ? Locale::parseLocale( $locale ) : locale_parse($locale ); } function ut_loc_locale_get_all_variants( $locale ) { return $GLOBALS['oo-mode'] ? Locale::getAllVariants( $locale ) : locale_get_all_variants( $locale ); } function ut_loc_locale_filter_matches( $lang_tag,$loc_range ,$isCanonical) { return $GLOBALS['oo-mode'] ? Locale::filterMatches( $lang_tag,$loc_range ,$isCanonical) : locale_filter_matches( $lang_tag,$loc_range ,$isCanonical); } function ut_loc_canonicalize( $locale ) { return $GLOBALS['oo-mode'] ? Locale::canonicalize( $locale ) : locale_canonicalize( $locale ); } function ut_loc_locale_lookup( $lang_tag_arr,$loc_range,$isCanonical,$default_loc) { return $GLOBALS['oo-mode'] ? Locale::lookup( $lang_tag_arr,$loc_range,$isCanonical,$default_loc ) : locale_lookup( $lang_tag_arr,$loc_range,$isCanonical,$default_loc ); } /* MessageFormatter functions */ function ut_msgfmt_create( $locale, $pattern) { return $GLOBALS['oo-mode'] ? MessageFormatter::create( $locale, $pattern ) : msgfmt_create( $locale, $pattern ); } function ut_msgfmt_format( $fmt, $args ) { return $GLOBALS['oo-mode'] ? $fmt->format( $args ) : msgfmt_format( $fmt, $args); } function ut_msgfmt_parse( $fmt, $string) { return $GLOBALS['oo-mode'] ? $fmt->parse( $string) : msgfmt_parse( $fmt, $string); } function ut_msgfmt_format_message( $locale, $pattern, $args ) { return $GLOBALS['oo-mode'] ? MessageFormatter::formatMessage( $locale, $pattern, $args ) : msgfmt_format_message( $locale, $pattern, $args ); } function ut_msgfmt_parse_message( $locale, $pattern, $string ) { return $GLOBALS['oo-mode'] ? MessageFormatter::parseMessage( $locale, $pattern, $string ) : msgfmt_parse_message( $locale, $pattern, $string ); } function ut_msgfmt_set_pattern( $fmt, $pattern ) { return $GLOBALS['oo-mode'] ? $fmt->setPattern( $pattern ) : msgfmt_set_pattern( $fmt, $pattern ); } function ut_msgfmt_get_pattern( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getPattern() : msgfmt_get_pattern( $fmt ); } function ut_msgfmt_get_locale( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getLocale( ) : msgfmt_get_locale( $fmt ); } function ut_msgfmt_get_error_code( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorCode() : msgfmt_get_error_code( $fmt ); } function ut_msgfmt_get_error_message( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getErrorMessage() : msgfmt_get_error_message( $fmt ); } /* DateFormatter functions */ function ut_datefmt_create( $locale, $datetype, $timetype, $timezone = null, $calendar = null ,$pattern = null) { return $GLOBALS['oo-mode'] ? datefmt_create( $locale, $datetype, $timetype, $timezone, $calendar ,$pattern ) : datefmt_create( $locale, $datetype, $timetype, $timezone, $calendar ,$pattern); } function ut_datefmt_get_datetype( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getDateType( ) : datefmt_get_datetype( $fmt ); } function ut_datefmt_get_timetype( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getTimeType( ) : datefmt_get_timetype( $fmt ); } function ut_datefmt_get_calendar( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getCalendar( ) : datefmt_get_calendar( $fmt ); } function ut_datefmt_set_calendar( $fmt ,$calendar ) { return $GLOBALS['oo-mode'] ? $fmt->setCalendar( $calendar ) : datefmt_set_calendar( $fmt , $calendar ); } function ut_datefmt_get_timezone_id( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getTimeZoneId( ) : datefmt_get_timezone_id( $fmt ); } function ut_datefmt_set_timezone_id( $fmt ,$timezone_id ) { return $GLOBALS['oo-mode'] ? $fmt->setTimeZoneId( $timezone_id ) : datefmt_set_timezone_id( $fmt ,$timezone_id); } function ut_datefmt_get_pattern( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->getPattern() : datefmt_get_pattern( $fmt ); } function ut_datefmt_set_pattern( $fmt , $pattern ) { return $GLOBALS['oo-mode'] ? $fmt->setPattern( $pattern ) : datefmt_set_pattern( $fmt , $pattern); } function ut_datefmt_get_locale( $fmt ,$type=ULOC_ACTUAL_LOCALE) { return $GLOBALS['oo-mode'] ? $fmt->getLocale($type ) : datefmt_get_locale( $fmt ,$type); } function ut_datefmt_is_lenient( $fmt ) { return $GLOBALS['oo-mode'] ? $fmt->isLenient() : datefmt_is_lenient( $fmt ); } function ut_datefmt_set_lenient( $fmt , $lenient ) { return $GLOBALS['oo-mode'] ? $fmt->setLenient( $lenient ) : datefmt_set_lenient( $fmt , $lenient); } function ut_datefmt_format( $fmt , $value ) { return $GLOBALS['oo-mode'] ? $fmt->format( $value ) : datefmt_format( $fmt , $value); } function ut_datefmt_parse( $fmt , $value ,$parse_pos=0 ) { return $GLOBALS['oo-mode'] ? $fmt->parse( $value ,$parse_pos ) : datefmt_parse( $fmt , $value,$parse_pos ); } function ut_datefmt_localtime( $fmt , $value ,$parse_pos=0 ) { return $GLOBALS['oo-mode'] ? $fmt->localtime( $value , $parse_pos ) : datefmt_localtime( $fmt , $value , $parse_pos ); } ?>