Commit:    0cdc1f5626bd400278aa193867e1fd4fe3f771d4
Author:    Reeze Xia <reeze....@gmail.com>         Tue, 21 Aug 2012 14:32:39 
+0800
Parents:   b9a050100ce430db758ff791914e88478b2814b8
Branches:  PHP-5.3

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=0cdc1f5626bd400278aa193867e1fd4fe3f771d4

Log:
Move test files to tests dir

There are 7 files duplicated, so those files was deleted

Changed paths:
  D  ext/intl/symfony_format_type_double_intl1.phpt
  D  ext/intl/symfony_format_type_double_intl2.phpt
  D  ext/intl/symfony_format_type_double_intl3.phpt
  D  ext/intl/symfony_format_type_double_intl4.phpt
  D  ext/intl/symfony_format_type_int32_intl1.phpt
  D  ext/intl/symfony_format_type_int32_intl2.phpt
  D  ext/intl/symfony_format_type_int32_intl3.phpt
  D  ext/intl/symfony_format_type_int32_intl4.phpt
  D  ext/intl/symfony_format_type_int32_intl5.phpt
  D  ext/intl/symfony_format_type_int32_intl6.phpt
  D  ext/intl/symfony_format_type_int32_intl7.phpt
  D  ext/intl/symfony_format_type_int64_intl1.phpt
  D  ext/intl/symfony_format_type_int64_intl2.phpt
  D  ext/intl/symfony_format_type_int64_intl3.phpt
  D  ext/intl/symfony_format_type_int64_intl4.phpt
  D  ext/intl/symfony_format_type_int64_intl5.phpt
  D  ext/intl/symfony_format_type_int64_intl6.phpt
  D  ext/intl/symfony_format_type_int64_intl7.phpt
  D  ext/intl/symfony_format_type_int64_intl8.phpt
  A  ext/intl/tests/symfony_format_type_double_intl1.phpt
  A  ext/intl/tests/symfony_format_type_double_intl2.phpt
  A  ext/intl/tests/symfony_format_type_double_intl3.phpt
  A  ext/intl/tests/symfony_format_type_double_intl4.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl1.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl2.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl3.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl4.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl5.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl6.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl7.phpt
  A  ext/intl/tests/symfony_format_type_int64_intl8.phpt

diff --git a/ext/intl/symfony_format_type_double_intl1.phpt 
b/ext/intl/symfony_format_type_double_intl1.phpt
deleted file mode 100644
index 13a7ad7..0000000
--- a/ext/intl/symfony_format_type_double_intl1.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #1
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:1:"1";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeDoubleIntl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
-
-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_double_intl2.phpt 
b/ext/intl/symfony_format_type_double_intl2.phpt
deleted file mode 100644
index 6bff7cc..0000000
--- a/ext/intl/symfony_format_type_double_intl2.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #2
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:3:"1.1";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeDoubleIntl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
-
-echo "== didn't crash ==".PHP_EOL;
-
-?>
---EXPECT--
-array(3) {
-  [0]=>
-  object(NumberFormatter)#1 (0) {
-  }
-  [1]=>
-  float(1.1)
-  [2]=>
-  string(3) "1.1"
-}
-== didn't crash ==
diff --git a/ext/intl/symfony_format_type_double_intl3.phpt 
b/ext/intl/symfony_format_type_double_intl3.phpt
deleted file mode 100644
index 3b0d576..0000000
--- a/ext/intl/symfony_format_type_double_intl3.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #3
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:7:"SFD1.00";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeDoubleIntl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
-
-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_double_intl4.phpt 
b/ext/intl/symfony_format_type_double_intl4.phpt
deleted file mode 100644
index 3476e10..0000000
--- a/ext/intl/symfony_format_type_double_intl4.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #4
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:7:"SFD1.10";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeDoubleIntl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
-
-echo "== didn't crash ==".PHP_EOL;
-
-?>
---EXPECT--
-array(3) {
-  [0]=>
-  object(NumberFormatter)#1 (0) {
-  }
-  [1]=>
-  float(1.1)
-  [2]=>
-  string(7) "SFD1.10"
-}
-== didn't crash ==
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 2867b35..0000000
--- a/ext/intl/symfony_format_type_int32_intl1.phpt
+++ /dev/null
@@ -1,49 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #1
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-// port of Symfony's 
Symfony\Component\Locale\Tests\Stub\StubNumberFormatterTest#testFormatTypeInt32Intl
-
-
-// Crashes on Windows
-// Windows note: the popup '...program has stopped working'(AEDebug Popup)
-//    doesn't always show if you're rapidly running this test repeatedly. 
-//    regardless of that, the test always crashes every time.
-//    (it will show up the first time, or if you wait a while before running 
it again.)
-//    (the popup may also be disabled, which can be done with a registry 
setting.)
-//    you can confirm it crashed by checking the exit code OR
-//    the message this test prints at the very end (expected output for pass).
-// 
-// Get Exit Code
-//  Linux: echo $?
-//  Windows: echo %ErrorLevel%
-
-
-
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:1:"1";}');
-
-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(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 6a65a0a..0000000
--- a/ext/intl/symfony_format_type_int32_intl2.phpt
+++ /dev/null
@@ -1,33 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #2
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-// StubNumberFormatterTest#testFormatTypeInt32Intl is tested many times, each 
with different args.
-// there are 7 sets of args that crash PHP (and other args that don't), each 
of those 7 is now a separate PHPT test
-// to ensure that each of the 7 args are always tested.
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:1:"1";}');
-
-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(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 5e657db..0000000
--- a/ext/intl/symfony_format_type_int32_intl3.phpt
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #3
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:4:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:14:"-2,147,483,648";i:3;s:83:"->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 54043d9..0000000
--- a/ext/intl/symfony_format_type_int32_intl4.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #4
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:7:"SFD1.00";}');
-
-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(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 d5f78d7..0000000
--- a/ext/intl/symfony_format_type_int32_intl5.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #5
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:7:"SFD1.00";}');
-
-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(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 fa70879..0000000
--- a/ext/intl/symfony_format_type_int32_intl6.phpt
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #6
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:4:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:21:"(SFD2,147,483,648.00)";i:3;s:83:"->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 5bbe426..0000000
--- a/ext/intl/symfony_format_type_int32_intl7.phpt
+++ /dev/null
@@ -1,32 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt32Intl #7
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt32Intl
-$unit_test_args = 
unserialize('a:4:{i:0;O:15:"NumberFormatter":0:{}i:1;d:-2147483649;i:2;s:19:"SFD2,147,483,647.00";i:3;s:83:"->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_int64_intl1.phpt 
b/ext/intl/symfony_format_type_int64_intl1.phpt
deleted file mode 100644
index 01f5820..0000000
--- a/ext/intl/symfony_format_type_int64_intl1.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #1
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:1:"1";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-//$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-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_int64_intl2.phpt 
b/ext/intl/symfony_format_type_int64_intl2.phpt
deleted file mode 100644
index 13d1cda..0000000
--- a/ext/intl/symfony_format_type_int64_intl2.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #2
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:1:"1";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-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_int64_intl3.phpt 
b/ext/intl/symfony_format_type_int64_intl3.phpt
deleted file mode 100644
index a7c80b3..0000000
--- a/ext/intl/symfony_format_type_int64_intl3.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #3
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:13:"2,147,483,648";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-echo "== didn't crash ==".PHP_EOL;
-
-?>
---EXPECT--
-array(3) {
-  [0]=>
-  object(NumberFormatter)#1 (0) {
-  }
-  [1]=>
-  float(2147483648)
-  [2]=>
-  string(13) "2,147,483,648"
-}
-== didn't crash ==
diff --git a/ext/intl/symfony_format_type_int64_intl4.phpt 
b/ext/intl/symfony_format_type_int64_intl4.phpt
deleted file mode 100644
index f1a0801..0000000
--- a/ext/intl/symfony_format_type_int64_intl4.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #4
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:-2147483649;i:2;s:14:"-2,147,483,649";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-echo "== didn't crash ==".PHP_EOL;
-
-?>
---EXPECT--
-array(3) {
-  [0]=>
-  object(NumberFormatter)#1 (0) {
-  }
-  [1]=>
-  float(-2147483649)
-  [2]=>
-  string(14) "-2,147,483,649"
-}
-== didn't crash ==
diff --git a/ext/intl/symfony_format_type_int64_intl5.phpt 
b/ext/intl/symfony_format_type_int64_intl5.phpt
deleted file mode 100644
index dad8735..0000000
--- a/ext/intl/symfony_format_type_int64_intl5.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #5
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:7:"SFD1.00";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-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_int64_intl6.phpt 
b/ext/intl/symfony_format_type_int64_intl6.phpt
deleted file mode 100644
index f038cbd..0000000
--- a/ext/intl/symfony_format_type_int64_intl6.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #6
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:7:"SFD1.00";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-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_int64_intl7.phpt 
b/ext/intl/symfony_format_type_int64_intl7.phpt
deleted file mode 100644
index 9c8853c..0000000
--- a/ext/intl/symfony_format_type_int64_intl7.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #7
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:19:"SFD2,147,483,648.00";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-echo "== didn't crash ==".PHP_EOL;
-
-?>
---EXPECT--
-array(3) {
-  [0]=>
-  object(NumberFormatter)#1 (0) {
-  }
-  [1]=>
-  float(2147483648)
-  [2]=>
-  string(19) "SFD2,147,483,648.00"
-}
-== didn't crash ==
diff --git a/ext/intl/symfony_format_type_int64_intl8.phpt 
b/ext/intl/symfony_format_type_int64_intl8.phpt
deleted file mode 100644
index 5052497..0000000
--- a/ext/intl/symfony_format_type_int64_intl8.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #8
---SKIPIF--
-<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
---FILE--
-<?php
-
-
-// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
-$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:-2147483649;i:2;s:21:"(SFD2,147,483,649.00)";}');
-
-var_dump($unit_test_args);
-
-// execute the code from #testFormatTypeInt64Intl
-$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
-
-echo "== didn't crash ==".PHP_EOL;
-
-?>
---EXPECT--
-array(3) {
-  [0]=>
-  object(NumberFormatter)#1 (0) {
-  }
-  [1]=>
-  float(-2147483649)
-  [2]=>
-  string(21) "(SFD2,147,483,649.00)"
-}
-== didn't crash ==
diff --git a/ext/intl/tests/symfony_format_type_double_intl1.phpt 
b/ext/intl/tests/symfony_format_type_double_intl1.phpt
new file mode 100644
index 0000000..13a7ad7
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_double_intl1.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #1
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:1:"1";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeDoubleIntl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
+
+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/tests/symfony_format_type_double_intl2.phpt 
b/ext/intl/tests/symfony_format_type_double_intl2.phpt
new file mode 100644
index 0000000..6bff7cc
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_double_intl2.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #2
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:3:"1.1";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeDoubleIntl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
+
+echo "== didn't crash ==".PHP_EOL;
+
+?>
+--EXPECT--
+array(3) {
+  [0]=>
+  object(NumberFormatter)#1 (0) {
+  }
+  [1]=>
+  float(1.1)
+  [2]=>
+  string(3) "1.1"
+}
+== didn't crash ==
diff --git a/ext/intl/tests/symfony_format_type_double_intl3.phpt 
b/ext/intl/tests/symfony_format_type_double_intl3.phpt
new file mode 100644
index 0000000..3b0d576
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_double_intl3.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #3
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:7:"SFD1.00";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeDoubleIntl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
+
+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/tests/symfony_format_type_double_intl4.phpt 
b/ext/intl/tests/symfony_format_type_double_intl4.phpt
new file mode 100644
index 0000000..3476e10
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_double_intl4.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeDoubleIntl #4
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeDoubleIntl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:7:"SFD1.10";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeDoubleIntl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_DOUBLE);
+
+echo "== didn't crash ==".PHP_EOL;
+
+?>
+--EXPECT--
+array(3) {
+  [0]=>
+  object(NumberFormatter)#1 (0) {
+  }
+  [1]=>
+  float(1.1)
+  [2]=>
+  string(7) "SFD1.10"
+}
+== didn't crash ==
diff --git a/ext/intl/tests/symfony_format_type_int64_intl1.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl1.phpt
new file mode 100644
index 0000000..01f5820
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl1.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #1
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:1:"1";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+//$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+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/tests/symfony_format_type_int64_intl2.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl2.phpt
new file mode 100644
index 0000000..13d1cda
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl2.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #2
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:1:"1";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+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/tests/symfony_format_type_int64_intl3.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl3.phpt
new file mode 100644
index 0000000..a7c80b3
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl3.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #3
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:13:"2,147,483,648";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+echo "== didn't crash ==".PHP_EOL;
+
+?>
+--EXPECT--
+array(3) {
+  [0]=>
+  object(NumberFormatter)#1 (0) {
+  }
+  [1]=>
+  float(2147483648)
+  [2]=>
+  string(13) "2,147,483,648"
+}
+== didn't crash ==
diff --git a/ext/intl/tests/symfony_format_type_int64_intl4.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl4.phpt
new file mode 100644
index 0000000..f1a0801
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl4.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #4
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:-2147483649;i:2;s:14:"-2,147,483,649";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+echo "== didn't crash ==".PHP_EOL;
+
+?>
+--EXPECT--
+array(3) {
+  [0]=>
+  object(NumberFormatter)#1 (0) {
+  }
+  [1]=>
+  float(-2147483649)
+  [2]=>
+  string(14) "-2,147,483,649"
+}
+== didn't crash ==
diff --git a/ext/intl/tests/symfony_format_type_int64_intl5.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl5.phpt
new file mode 100644
index 0000000..dad8735
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl5.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #5
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;i:1;i:2;s:7:"SFD1.00";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+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/tests/symfony_format_type_int64_intl6.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl6.phpt
new file mode 100644
index 0000000..f038cbd
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl6.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #6
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:1.1000000000000001;i:2;s:7:"SFD1.00";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+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/tests/symfony_format_type_int64_intl7.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl7.phpt
new file mode 100644
index 0000000..9c8853c
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl7.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #7
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:2147483648;i:2;s:19:"SFD2,147,483,648.00";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+echo "== didn't crash ==".PHP_EOL;
+
+?>
+--EXPECT--
+array(3) {
+  [0]=>
+  object(NumberFormatter)#1 (0) {
+  }
+  [1]=>
+  float(2147483648)
+  [2]=>
+  string(19) "SFD2,147,483,648.00"
+}
+== didn't crash ==
diff --git a/ext/intl/tests/symfony_format_type_int64_intl8.phpt 
b/ext/intl/tests/symfony_format_type_int64_intl8.phpt
new file mode 100644
index 0000000..5052497
--- /dev/null
+++ b/ext/intl/tests/symfony_format_type_int64_intl8.phpt
@@ -0,0 +1,30 @@
+--TEST--
+Symfony StubNumberFormatterTest#testFormatTypeInt64Intl #8
+--SKIPIF--
+<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+--FILE--
+<?php
+
+
+// PHP Unit's code to unserialize data passed as args to 
#testFormatTypeInt64Intl
+$unit_test_args = 
unserialize('a:3:{i:0;O:15:"NumberFormatter":0:{}i:1;d:-2147483649;i:2;s:21:"(SFD2,147,483,649.00)";}');
+
+var_dump($unit_test_args);
+
+// execute the code from #testFormatTypeInt64Intl
+$unit_test_args[0]->format($unit_test_args[1], \NumberFormatter::TYPE_INT64);
+
+echo "== didn't crash ==".PHP_EOL;
+
+?>
+--EXPECT--
+array(3) {
+  [0]=>
+  object(NumberFormatter)#1 (0) {
+  }
+  [1]=>
+  float(-2147483649)
+  [2]=>
+  string(21) "(SFD2,147,483,649.00)"
+}
+== didn't crash ==
-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to