mageekguy/atoum — Issue #26: Atoum tests failed with php 5.4.0beta1
Author: marmotz
Created: 2011-10-11 15:07:11+00:00
State: open

$ php -v
PHP 5.4.0beta1-dev (cli) (built: Sep 13 2011 08:42:11)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies

Test failed

Failure (111 tests, 787 methods, 1 failure, 0 error, 2 exceptions) !
> There is 1 failure:
=> mageekguy\atoum\tests\units\scripts\phar\generator::testRun():
In file phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php on line 516, mageekguy\atoum\asserters\exception::isInstanceOf() failed: object(LogicException) is not an instance of mageekguy\atoum\exceptions\logic
> There are 2 exceptions:
=> mageekguy\atoum\tests\units\scripts\phar\generator::testSetFileIteratorInjector():
==> Exception throwed in file phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php on line 323:
==> exception 'LogicException' with message 'In the constructor of mock\recursiveDirectoryIterator, parent::__construct() must be called and its exceptions cannot be cleared' in phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php:323
==> Stack trace:
==> #0 phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php(323): mock\recursiveDirectoryIterator->internal_construction_wrapper('4e945a9a84b59')
==> #1 phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/classes/test.php(490): mageekguy\atoum\tests\units\scripts\phar\generator->testSetFileIteratorInjector()
==> #2 -(1): mageekguy\atoum\test->runTestMethod('testSetFileIter...')
==> #3 {main}
=> mageekguy\atoum\tests\units\scripts\phar\generator::testSetPharInjector():
==> Exception throwed in file phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php on line 282:
==> exception 'LogicException' with message 'In the constructor of mock\phar, parent::__construct() must be called and its exceptions cannot be cleared' in phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php:282
==> Stack trace:
==> #0 phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/tests/units/classes/scripts/phar/generator.php(282): mock\phar->internal_construction_wrapper('4e945a9a98608')
==> #1 phar:///media/data/dev/friendsdiff/vendor/mageekguy.atoum.phar/classes/test.php(490): mageekguy\atoum\tests\units\scripts\phar\generator->testSetPharInjector()
==> #2 -(1): mageekguy\atoum\test->runTestMethod('testSetPharInje...')
==> #3 {main}