From: Reeze Xia Date: Tue, 21 Aug 2012 06:32:39 +0000 (+0800) Subject: Move test files to tests dir X-Git-Tag: php-5.3.17~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0cdc1f5626bd400278aa193867e1fd4fe3f771d4;p=php Move test files to tests dir There are 7 files duplicated, so those files was deleted --- diff --git a/ext/intl/symfony_format_type_int32_intl1.phpt b/ext/intl/symfony_format_type_int32_intl1.phpt deleted file mode 100644 index 2867b35690..0000000000 --- a/ext/intl/symfony_format_type_int32_intl1.phpt +++ /dev/null @@ -1,49 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #1 ---SKIPIF-- - ---FILE-- -format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(3) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - int(1) - [2]=> - string(1) "1" -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_int32_intl2.phpt b/ext/intl/symfony_format_type_int32_intl2.phpt deleted file mode 100644 index 6a65a0a809..0000000000 --- a/ext/intl/symfony_format_type_int32_intl2.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #2 ---SKIPIF-- - ---FILE-- -format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(3) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - float(1.1) - [2]=> - string(1) "1" -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_int32_intl3.phpt b/ext/intl/symfony_format_type_int32_intl3.phpt deleted file mode 100644 index 5e657db419..0000000000 --- a/ext/intl/symfony_format_type_int32_intl3.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #3 ---SKIPIF-- - ---FILE-- -format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range.";}'); - -var_dump($unit_test_args); - -// execute the code from #testFormatTypeInt32Intl -$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(4) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - float(2147483648) - [2]=> - string(14) "-2,147,483,648" - [3]=> - string(83) "->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range." -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_int32_intl4.phpt b/ext/intl/symfony_format_type_int32_intl4.phpt deleted file mode 100644 index 54043d92e9..0000000000 --- a/ext/intl/symfony_format_type_int32_intl4.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #4 ---SKIPIF-- - ---FILE-- -format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(3) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - int(1) - [2]=> - string(7) "SFD1.00" -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_int32_intl5.phpt b/ext/intl/symfony_format_type_int32_intl5.phpt deleted file mode 100644 index d5f78d7119..0000000000 --- a/ext/intl/symfony_format_type_int32_intl5.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #5 ---SKIPIF-- - ---FILE-- -format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(3) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - float(1.1) - [2]=> - string(7) "SFD1.00" -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_int32_intl6.phpt b/ext/intl/symfony_format_type_int32_intl6.phpt deleted file mode 100644 index fa708799d1..0000000000 --- a/ext/intl/symfony_format_type_int32_intl6.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #6 ---SKIPIF-- - ---FILE-- -format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range.";}'); - -var_dump($unit_test_args); - -// execute the code from #testFormatTypeInt32Intl -$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(4) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - float(2147483648) - [2]=> - string(21) "(SFD2,147,483,648.00)" - [3]=> - string(83) "->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range." -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_int32_intl7.phpt b/ext/intl/symfony_format_type_int32_intl7.phpt deleted file mode 100644 index 5bbe426677..0000000000 --- a/ext/intl/symfony_format_type_int32_intl7.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #7 ---SKIPIF-- - ---FILE-- -format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range.";}'); - -var_dump($unit_test_args); - -// execute the code from #testFormatTypeInt32Intl -$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT32); - -echo "== didn't crash ==".PHP_EOL; - -?> ---EXPECT-- -array(4) { - [0]=> - object(NumberFormatter)#1 (0) { - } - [1]=> - float(-2147483649) - [2]=> - string(19) "SFD2,147,483,647.00" - [3]=> - string(83) "->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range." -} -== didn't crash == diff --git a/ext/intl/symfony_format_type_double_intl1.phpt b/ext/intl/tests/symfony_format_type_double_intl1.phpt similarity index 100% rename from ext/intl/symfony_format_type_double_intl1.phpt rename to ext/intl/tests/symfony_format_type_double_intl1.phpt diff --git a/ext/intl/symfony_format_type_double_intl2.phpt b/ext/intl/tests/symfony_format_type_double_intl2.phpt similarity index 100% rename from ext/intl/symfony_format_type_double_intl2.phpt rename to ext/intl/tests/symfony_format_type_double_intl2.phpt diff --git a/ext/intl/symfony_format_type_double_intl3.phpt b/ext/intl/tests/symfony_format_type_double_intl3.phpt similarity index 100% rename from ext/intl/symfony_format_type_double_intl3.phpt rename to ext/intl/tests/symfony_format_type_double_intl3.phpt diff --git a/ext/intl/symfony_format_type_double_intl4.phpt b/ext/intl/tests/symfony_format_type_double_intl4.phpt similarity index 100% rename from ext/intl/symfony_format_type_double_intl4.phpt rename to ext/intl/tests/symfony_format_type_double_intl4.phpt diff --git a/ext/intl/symfony_format_type_int64_intl1.phpt b/ext/intl/tests/symfony_format_type_int64_intl1.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl1.phpt rename to ext/intl/tests/symfony_format_type_int64_intl1.phpt diff --git a/ext/intl/symfony_format_type_int64_intl2.phpt b/ext/intl/tests/symfony_format_type_int64_intl2.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl2.phpt rename to ext/intl/tests/symfony_format_type_int64_intl2.phpt diff --git a/ext/intl/symfony_format_type_int64_intl3.phpt b/ext/intl/tests/symfony_format_type_int64_intl3.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl3.phpt rename to ext/intl/tests/symfony_format_type_int64_intl3.phpt diff --git a/ext/intl/symfony_format_type_int64_intl4.phpt b/ext/intl/tests/symfony_format_type_int64_intl4.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl4.phpt rename to ext/intl/tests/symfony_format_type_int64_intl4.phpt diff --git a/ext/intl/symfony_format_type_int64_intl5.phpt b/ext/intl/tests/symfony_format_type_int64_intl5.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl5.phpt rename to ext/intl/tests/symfony_format_type_int64_intl5.phpt diff --git a/ext/intl/symfony_format_type_int64_intl6.phpt b/ext/intl/tests/symfony_format_type_int64_intl6.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl6.phpt rename to ext/intl/tests/symfony_format_type_int64_intl6.phpt diff --git a/ext/intl/symfony_format_type_int64_intl7.phpt b/ext/intl/tests/symfony_format_type_int64_intl7.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl7.phpt rename to ext/intl/tests/symfony_format_type_int64_intl7.phpt diff --git a/ext/intl/symfony_format_type_int64_intl8.phpt b/ext/intl/tests/symfony_format_type_int64_intl8.phpt similarity index 100% rename from ext/intl/symfony_format_type_int64_intl8.phpt rename to ext/intl/tests/symfony_format_type_int64_intl8.phpt