Created
April 12, 2017 19:32
-
-
Save centerax/a9c65545a0403315d879d5edc52db8d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---- /var/www/magento2/dev/tests/unit> php /var/www/magento2/./vendor/phpunit/phpunit/phpunit | |
PHPUnit 4.1.0 by Sebastian Bergmann. | |
Configuration read from /var/www/magento2/dev/tests/unit/phpunit.xml.dist | |
........................................................... 59 / 21839 ( 0%) | |
........................................................... 118 / 21839 ( 0%) | |
........................................................... 177 / 21839 ( 0%) | |
........................................................... 236 / 21839 ( 1%) | |
........................................................... 295 / 21839 ( 1%) | |
........................................................... 354 / 21839 ( 1%) | |
........................................................... 413 / 21839 ( 1%) | |
........................................................... 472 / 21839 ( 2%) | |
........................................................... 531 / 21839 ( 2%) | |
........................................................... 590 / 21839 ( 2%) | |
........................................................... 649 / 21839 ( 2%) | |
........................................................... 708 / 21839 ( 3%) | |
........................................................... 767 / 21839 ( 3%) | |
........................................................... 826 / 21839 ( 3%) | |
........................................................... 885 / 21839 ( 4%) | |
........................................................... 944 / 21839 ( 4%) | |
........................................................... 1003 / 21839 ( 4%) | |
........................................................... 1062 / 21839 ( 4%) | |
........................................................... 1121 / 21839 ( 5%) | |
........................................................... 1180 / 21839 ( 5%) | |
........................................................... 1239 / 21839 ( 5%) | |
........................................................... 1298 / 21839 ( 5%) | |
........................................................... 1357 / 21839 ( 6%) | |
........................................................... 1416 / 21839 ( 6%) | |
........................................................... 1475 / 21839 ( 6%) | |
........................................................... 1534 / 21839 ( 7%) | |
........................................................... 1593 / 21839 ( 7%) | |
........................................................... 1652 / 21839 ( 7%) | |
........................................................... 1711 / 21839 ( 7%) | |
........................................................... 1770 / 21839 ( 8%) | |
........................................................... 1829 / 21839 ( 8%) | |
........................................................... 1888 / 21839 ( 8%) | |
........................................................... 1947 / 21839 ( 8%) | |
........................................................... 2006 / 21839 ( 9%) | |
........................................................... 2065 / 21839 ( 9%) | |
........................................................... 2124 / 21839 ( 9%) | |
........................................................... 2183 / 21839 ( 9%) | |
........................................................... 2242 / 21839 ( 10%) | |
........................................................... 2301 / 21839 ( 10%) | |
........................................................... 2360 / 21839 ( 10%) | |
...................................... | |
Fatal error: Class Mock_ProductOptionExtensionInterface_aa673688 contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (Magento\Quote\Api\Data\ProductOptionExtensionInterface::getGiftcardItemOption, Magento\Quote\Api\Data\ProductOptionExtensionInterface::setGiftcardItemOption) in /var/www/magento2/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php(290) : eval()'d code on line 1 | |
Call Stack: | |
0.0001 354168 1. {main}() /var/www/magento2/vendor/phpunit/phpunit/phpunit:0 | |
0.0162 1154896 2. PHPUnit_TextUI_Command::main() /var/www/magento2/vendor/phpunit/phpunit/phpunit:55 | |
0.0162 1154992 3. PHPUnit_TextUI_Command->run() /var/www/magento2/vendor/phpunit/phpunit/src/TextUI/Command.php:132 | |
33.4479 296163768 4. PHPUnit_TextUI_TestRunner->doRun() /var/www/magento2/vendor/phpunit/phpunit/src/TextUI/Command.php:179 | |
33.4537 296384168 5. PHPUnit_Framework_TestSuite->run() /var/www/magento2/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:426 | |
62.4676 406163968 6. PHPUnit_Framework_TestSuite->run() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 | |
62.4691 406164536 7. PHPUnit_Framework_TestCase->run() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestSuite.php:675 | |
62.4692 406164536 8. PHPUnit_Framework_TestResult->run() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestCase.php:753 | |
62.4692 406164536 9. PHPUnit_Framework_TestCase->runBare() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestResult.php:686 | |
62.4787 406352000 10. PHPUnit_Framework_TestCase->runTest() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestCase.php:817 | |
62.4787 406352296 11. ReflectionMethod->invokeArgs() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestCase.php:950 | |
62.4787 406352304 12. Magento\Bundle\Test\Unit\Model\CartItemProcessorTest->testConvertToBuyRequest() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestCase.php:950 | |
62.5179 406984264 13. PHPUnit_Framework_TestCase->getMock() /var/www/magento2/vendor/magento/module-bundle/Test/Unit/Model/CartItemProcessorTest.php:94 | |
62.5179 406984264 14. PHPUnit_Framework_MockObject_Generator->getMock() /var/www/magento2/vendor/phpunit/phpunit/src/Framework/TestCase.php:1296 | |
62.5211 406998328 15. PHPUnit_Framework_MockObject_Generator->getObject() /var/www/magento2/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php:214 | |
62.5211 406998328 16. PHPUnit_Framework_MockObject_Generator->evalClass() /var/www/magento2/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php:237 | |
62.5213 407014944 17. eval('class Mock_ProductOptionExtensionInterface_aa673688 implements PHPUnit_Framework_MockObject_MockObject, Magento\Quote\Api\Data\ProductOptionExtensionInterface | |
{ | |
private $__phpunit_invocationMocker; | |
private $__phpunit_originalObject; | |
public function __clone() | |
{ | |
$this->__phpunit_invocationMocker = clone $this->__phpunit_getInvocationMocker(); | |
} | |
public function getBundleOptions() | |
{ | |
$arguments = array(); | |
$count = func_num_args(); | |
if ($count > 0) { | |
$_arguments = func_get_args(); | |
for ($i = 0; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'getBundleOptions', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function getCustomOptions() | |
{ | |
$arguments = array(); | |
$count = func_num_args(); | |
if ($count > 0) { | |
$_arguments = func_get_args(); | |
for ($i = 0; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'getCustomOptions', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function setCustomOptions($customOptions) | |
{ | |
$arguments = array($customOptions); | |
$count = func_num_args(); | |
if ($count > 1) { | |
$_arguments = func_get_args(); | |
for ($i = 1; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'setCustomOptions', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function setBundleOptions($bundleOptions) | |
{ | |
$arguments = array($bundleOptions); | |
$count = func_num_args(); | |
if ($count > 1) { | |
$_arguments = func_get_args(); | |
for ($i = 1; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'setBundleOptions', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function getDownloadableOption() | |
{ | |
$arguments = array(); | |
$count = func_num_args(); | |
if ($count > 0) { | |
$_arguments = func_get_args(); | |
for ($i = 0; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'getDownloadableOption', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function setDownloadableOption(Magento\Downloadable\Api\Data\DownloadableOptionInterface $downloadableOption) | |
{ | |
$arguments = array($downloadableOption); | |
$count = func_num_args(); | |
if ($count > 1) { | |
$_arguments = func_get_args(); | |
for ($i = 1; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'setDownloadableOption', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function getConfigurableItemOptions() | |
{ | |
$arguments = array(); | |
$count = func_num_args(); | |
if ($count > 0) { | |
$_arguments = func_get_args(); | |
for ($i = 0; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'getConfigurableItemOptions', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function setConfigurableItemOptions($configurableItemOptions) | |
{ | |
$arguments = array($configurableItemOptions); | |
$count = func_num_args(); | |
if ($count > 1) { | |
$_arguments = func_get_args(); | |
for ($i = 1; $i < $count; $i++) { | |
$arguments[] = $_arguments[$i]; | |
} | |
} | |
$result = $this->__phpunit_getInvocationMocker()->invoke( | |
new PHPUnit_Framework_MockObject_Invocation_Object( | |
'Magento\Quote\Api\Data\ProductOptionExtensionInterface', 'setConfigurableItemOptions', $arguments, $this, FALSE | |
) | |
); | |
return $result; | |
} | |
public function expects(PHPUnit_Framework_MockObject_Matcher_Invocation $matcher) | |
{ | |
return $this->__phpunit_getInvocationMocker()->expects($matcher); | |
} | |
public function method() | |
{ | |
$any = new PHPUnit_Framework_MockObject_Matcher_AnyInvokedCount; | |
$expects = $this->expects($any); | |
return call_user_func_array(array($expects, 'method'), func_get_args()); | |
} | |
public function __phpunit_setOriginalObject($originalObject) | |
{ | |
$this->__phpunit_originalObject = $originalObject; | |
} | |
public function __phpunit_getInvocationMocker() | |
{ | |
if ($this->__phpunit_invocationMocker === NULL) { | |
$this->__phpunit_invocationMocker = new PHPUnit_Framework_MockObject_InvocationMocker; | |
} | |
return $this->__phpunit_invocationMocker; | |
} | |
public function __phpunit_hasMatchers() | |
{ | |
return $this->__phpunit_getInvocationMocker()->hasMatchers(); | |
} | |
public function __phpunit_verify() | |
{ | |
$this->__phpunit_getInvocationMocker()->verify(); | |
$this->__phpunit_invocationMocker = NULL; | |
} | |
} | |
') /var/www/magento2/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php:290 | |
---- /var/www/magento2/dev/tests/static/framework/tests/unit> php /var/www/magento2/./vendor/phpunit/phpunit/phpunit | |
PHPUnit 4.1.0 by Sebastian Bergmann. | |
Configuration read from /var/www/magento2/dev/tests/static/framework/tests/unit/phpunit.xml.dist | |
................................................................. 65 / 66 ( 98%) | |
. | |
Time: 419 ms, Memory: 8.00MB | |
[30;42mOK (66 tests, 89 assertions)[0m | |
---- /var/www/magento2/dev/tests/integration/framework/tests/unit> php /var/www/magento2/./vendor/phpunit/phpunit/phpunit | |
PHPUnit 4.1.0 by Sebastian Bergmann. | |
Configuration read from /var/www/magento2/dev/tests/integration/framework/tests/unit/phpunit.xml.dist | |
............................................................... 63 / 168 ( 37%) | |
............................................................... 126 / 168 ( 75%) | |
...................[36;1mS[0m...................... | |
Time: 1.15 seconds, Memory: 16.00MB | |
[30;43mOK, but incomplete, skipped, or risky tests![0m | |
[30;43mTests: 168, Assertions: 324, Skipped: 1. [0m | |
---------------------------------------------------------------------- | |
FAILED - 1 of 3: | |
- /var/www/magento2/dev/tests/unit> php /var/www/magento2/./vendor/phpunit/phpunit/phpunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment