You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, running the test suite on Windows using PHP 5.3.5 gives me 30 failures. Some of them seem to be Windows specific things like the directory seperator, but some seem very strange. Maybe someone can find out why this happens and how to solve the issues. Here is my test result:
Time: 01:35, Memory: 192.75Mb
There were 30 failures:
Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest::testCreateMap with data set #0 ('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Namespaced', array('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Namespaced/Bar.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Namespaced/Foo.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Namespaced/Baz.php'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest::testCreateMap with data set Untitled #1 ('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/beta/NamespaceCollision', array('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/beta/NamespaceCollision/A/B/Bar.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/beta/NamespaceCollision/A/B/Foo.php'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest::testCreateMap with data set Renaming "Entities" to "Entity" #2 ('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Pearlike', array('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Pearlike/Foo.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Pearlike/Bar.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/Pearlike/Baz.php'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest::testCreateMap with data set Untitled #3 ('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap', array('E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/sameNsMultipleClasses.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/sameNsMultipleClasses.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/multipleNs.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/multipleNs.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/multipleNs.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/multipleNs.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/SomeInterface.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/SomeParent.php', 'E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader/Fixtures/classmap/SomeClass.php'))
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest::testCreateMapFinderSupport
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
Symfony\Tests\Component\Form\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformerTest::testReverseTransformExpectsValidNumber
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\Form\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformerTest::testReverseTransformDisallowsNaN2
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\Form\Extension\Core\DataTransformer\NumberToLocalizedStringTransformerTest::testTransformWithRoundingMode
->transform() rounding-mode works
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1234,54'
+'1234,55'
Symfony\Tests\Component\Form\Extension\Core\DataTransformer\NumberToLocalizedStringTransformerTest::testReverseTransformExpectsValidNumber
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\Form\Extension\Core\DataTransformer\NumberToLocalizedStringTransformerTest::testReverseTransformDisallowsNaN2
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\HttpKernel\Debug\StopwatchEventTest::testTotalTime
Failed asserting that false is true.
Symfony\Tests\Component\Locale\Stub\StubIntlDateFormatterTest::testFormatWithTimezoneIntl with data set Fixes Fatal Error #17 (0, 'Australia/Eucla', '1970-01-01 08:45:00')
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-1970-01-01 08:45:00
+1970-01-01 00:00:00
Symfony\Tests\Component\Locale\Stub\StubIntlDateFormatterTest::testFormatWithTimezoneFormatOptionAndDifferentThanUtcIntl
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Fiji Time'
+'GMT+12:00'
Symfony\Tests\Component\Locale\Stub\StubNumberFormatterTest::testFormatTypeInt32Intl with data set [Form] Outstanding patches for Choice/Collection fields #6 (NumberFormatter, 2147483648, '(SFD2,147,483,648.00)', '->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range.')
->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'(SFD2,147,483,648.00)'
+'-SFD2,147,483,648.00'
Symfony\Tests\Component\Locale\Stub\StubNumberFormatterTest::testFormatTypeInt64Intl with data set Fix form file field enctype #7 (NumberFormatter, -2147483649, '(SFD2,147,483,649.00)')
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'(SFD2,147,483,649.00)'
+'-SFD2,147,483,649.00'
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testValidImage
Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) was not expected to be called.
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testValidSize
Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) was not expected to be called.
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testWidthTooSmall
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testWidthTooBig
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testHeightTooSmall
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testHeightTooBig
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testInvalidMinWidth
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testInvalidMaxWidth
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testInvalidMinHeight
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest::testInvalidMaxHeight
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\PhpFrameworkExtensionTest::testValidationPaths
Failed asserting that 'E:\Projekte\symfony\src\Symfony\Component\Form/Resources/config/validation.xml' ends with "Component/Form/Resources/config/validation.xml".
Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\XmlFrameworkExtensionTest::testValidationPaths
Failed asserting that 'E:\Projekte\symfony\src\Symfony\Component\Form/Resources/config/validation.xml' ends with "Component/Form/Resources/config/validation.xml".
Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\YamlFrameworkExtensionTest::testValidationPaths
Failed asserting that 'E:\Projekte\symfony\src\Symfony\Component\Form/Resources/config/validation.xml' ends with "Component/Form/Resources/config/validation.xml".
Hey, running the test suite on Windows using PHP 5.3.5 gives me 30 failures. Some of them seem to be Windows specific things like the directory seperator, but some seem very strange. Maybe someone can find out why this happens and how to solve the issues. Here is my test result:
Time: 01:35, Memory: 192.75Mb
There were 30 failures:
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
)
E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest.php:24
C:\xampp\php\phpunit:46
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
)
E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest.php:24
C:\xampp\php\phpunit:46
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
)
E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest.php:24
C:\xampp\php\phpunit:46
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
)
E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest.php:24
C:\xampp\php\phpunit:46
Failed asserting that two arrays are equal.
--- Expected
+++ Actual
@@ @@
Array (
)
E:\Projekte\symfony\tests\Symfony\Tests\Component\ClassLoader\ClassMapGeneratorTest.php:71
C:\xampp\php\phpunit:46
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
->transform() rounding-mode works
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'1234,54'
+'1234,55'
E:\Projekte\symfony\tests\Symfony\Tests\Component\Form\Extension\Core\DataTransformer\NumberToLocalizedStringTransformerTest.php:66
C:\xampp\php\phpunit:46
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that exception of type "Symfony\Component\Form\Exception\TransformationFailedException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that false is true.
E:\Projekte\symfony\tests\Symfony\Tests\Component\HttpKernel\Debug\StopwatchEventTest.php:82
C:\xampp\php\phpunit:46
Failed asserting that false is true.
E:\Projekte\symfony\tests\Symfony\Tests\Component\HttpKernel\Debug\StopwatchEventTest.php:104
C:\xampp\php\phpunit:46
Failed asserting that false is true.
E:\Projekte\symfony\tests\Symfony\Tests\Component\HttpKernel\Debug\StopwatchTest.php:55
C:\xampp\php\phpunit:46
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-1970-01-01 08:45:00
+1970-01-01 00:00:00
E:\Projekte\symfony\tests\Symfony\Tests\Component\Locale\Stub\StubIntlDateFormatterTest.php:310
C:\xampp\php\phpunit:46
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'Fiji Time'
+'GMT+12:00'
E:\Projekte\symfony\tests\Symfony\Tests\Component\Locale\Stub\StubIntlDateFormatterTest.php:362
C:\xampp\php\phpunit:46
->format() TYPE_INT32 formats inconsistently an integer if out of the 32 bit range.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'(SFD2,147,483,648.00)'
+'-SFD2,147,483,648.00'
E:\Projekte\symfony\tests\Symfony\Tests\Component\Locale\Stub\StubNumberFormatterTest.php:271
C:\xampp\php\phpunit:46
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'(SFD2,147,483,649.00)'
+'-SFD2,147,483,649.00'
E:\Projekte\symfony\tests\Symfony\Tests\Component\Locale\Stub\StubNumberFormatterTest.php:310
C:\xampp\php\phpunit:46
Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) was not expected to be called.
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\FileValidator.php:135
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\ImageValidator.php:27
E:\Projekte\symfony\tests\Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest.php:53
C:\xampp\php\phpunit:46
Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) was not expected to be called.
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\FileValidator.php:135
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\ImageValidator.php:27
E:\Projekte\symfony\tests\Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest.php:68
C:\xampp\php\phpunit:46
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\FileValidator.php:135
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\ImageValidator.php:27
E:\Projekte\symfony\tests\Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest.php:85
C:\xampp\php\phpunit:46
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\FileValidator.php:135
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\ImageValidator.php:27
E:\Projekte\symfony\tests\Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest.php:102
C:\xampp\php\phpunit:46
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\FileValidator.php:135
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\ImageValidator.php:27
E:\Projekte\symfony\tests\Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest.php:119
C:\xampp\php\phpunit:46
Expectation failed for method name is equal to string:addViolation when invoked 1 time(s)
Parameter 0 for invocation Symfony\Component\Validator\ExecutionContext::addViolation('This file is not a valid image', Array (...), null) does not match expected value.
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'myMessage'
+'This file is not a valid image'
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\FileValidator.php:135
E:\Projekte\symfony\src\Symfony\Component\Validator\Constraints\ImageValidator.php:27
E:\Projekte\symfony\tests\Symfony\Tests\Component\Validator\Constraints\ImageValidatorTest.php:136
C:\xampp\php\phpunit:46
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that exception of type "\Symfony\Component\Validator\Exception\ConstraintDefinitionException" is thrown.
C:\xampp\php\phpunit:46
Failed asserting that 'E:\Projekte\symfony\src\Symfony\Component\Form/Resources/config/validation.xml' ends with "Component/Form/Resources/config/validation.xml".
E:\Projekte\symfony\src\Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest.php:234
C:\xampp\php\phpunit:46
Failed asserting that 'E:\Projekte\symfony\src\Symfony\Component\Form/Resources/config/validation.xml' ends with "Component/Form/Resources/config/validation.xml".
E:\Projekte\symfony\src\Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest.php:234
C:\xampp\php\phpunit:46
Failed asserting that 'E:\Projekte\symfony\src\Symfony\Component\Form/Resources/config/validation.xml' ends with "Component/Form/Resources/config/validation.xml".
E:\Projekte\symfony\src\Symfony\Bundle\FrameworkBundle\Tests\DependencyInjection\FrameworkExtensionTest.php:234
C:\xampp\php\phpunit:46
Tests: 5489, Assertions: 11377, Failures: 30, Incomplete: 11, Skipped: 245.
The text was updated successfully, but these errors were encountered: