Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-f88cafdd675007b27ed397b60c5e424526086db5/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/php-phpspec-2.2.1-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-f88cafdd675007b27ed397b60c5e424526086db5/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/php-phpspec.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M1X48j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + /usr/bin/gzip -dc /builddir/build/SOURCES/phpspec-2.2.1-e9a4057.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (phpspec-rpm.patch): + echo 'Patch #0 (phpspec-rpm.patch):' + /usr/bin/cat /builddir/build/SOURCES/phpspec-rpm.patch + /usr/bin/patch -p0 -b --suffix .rpm --fuzz=0 patching file bin/phpspec + cp /builddir/build/SOURCES/phpspec-autoload.php src/PhpSpec/autoload.php + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yEn85O + umask 022 + cd /builddir/build/BUILD + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AlbnEn + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch ++ dirname /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + mkdir -p /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/php + cp -pr src/PhpSpec /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/php/PhpSpec + install -Dpm755 bin/phpspec /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/bin/phpspec + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.vS1efK + umask 022 + cd /builddir/build/BUILD + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + export LANG=en_GB.utf8 + LANG=en_GB.utf8 + /usr/bin/php -d include_path=.:src:/usr/share/php bin/phpspec run --format pretty --verbose --no-ansi PhpSpec\CodeGenerator\Generator\ClassGenerator 20 ��� is a generator (119ms) 25 ��� supports class generation 30 ��� does not support anything else 35 ��� its priority is 0 40 ��� generates class from resource and puts it into appropriate folder (56ms) 65 ��� uses template provided by templating system if there is one 90 ��� creates folder for class if needed 105 ��� asks confirmation if class already exists PhpSpec\CodeGenerator\Generator\MethodGenerator 20 ��� is a generator 25 ��� supports method generation 30 ��� does not support anything else 35 ��� its priority is 0 40 ��� generates class method from resource PhpSpec\CodeGenerator\Generator\NamedConstructorGenerator 19 ��� is a generator 24 ��� supports static constructor generation 29 ��� does not support anything else 34 ��� its priority is 0 39 ��� generates static constructor method from resource PhpSpec\CodeGenerator\Generator\ReturnConstantGenerator 19 ��� is a generator 24 ��� supports returnConstant generation 29 ��� does not support anything else 34 ��� its priority is 0 PhpSpec\CodeGenerator\Generator\SpecificationGenerator 20 ��� is a generator 25 ��� supports specification generations 30 ��� does not support anything else 35 ��� its priority is 0 40 ��� generates spec class from resource and puts it into appropriate folder 65 ��� uses template provided by templating system if there is one 90 ��� creates folder for spec if needed 105 ��� asks confirmation if spec already exists PhpSpec\CodeGenerator\GeneratorManager 13 ��� uses registered generators to generate code 24 ��� chooses generator by priority 42 ��� throws exception if no generator found PhpSpec\CodeGenerator\TemplateRenderer 17 ��� does not have registered locations by default 22 ��� has locations setter 28 ��� provides a method to prepend location 36 ��� provides a method to append location 44 ��� normalizes locations 54 ��� reads existing file from registered location 63 ��� reads existing file from first registered location 75 ��� replaces placeholders in template with provided values 86 ��� can render template from string 94 ��� returns null if template is not found in any registered locations PhpSpec\Config\OptionsConfig 10 ��� says rerun is enabled when setting is true 17 ��� says rerun is not enabled when setting is false 24 ��� says faking is enabled when setting is true 31 ��� says faking is not enabled when setting is false 38 ��� says bootstrap path is false when setting is false 45 ��� returns bootstrap path when one is specified PhpSpec\Console\Application 15 ��� is initializable PhpSpec\Console\IO 28 ��� has io interface 33 ��� is code generation ready if no input config says otherwise 38 ��� is not code generation ready if input is not interactive 45 ��� is not code generation ready if command line option is set 52 ��� is not code generation ready if config option is set 59 ��� will not stop on failure if no input config says otherwise 64 ��� will stop on failure if command line option is set 71 ��� will stop on failure if config option is set 78 ��� will enable rerunning if command line option is not set and config doesnt disallow 86 ��� will disable rerunning if command line option is set 94 ��� will disable rerunning if config option is set 102 ��� will disable faking if command line option and config flag are not set 110 ��� will enable faking if command line option is set 118 ��� will enable faking if config flag is set 126 ��� will report no bootstrap when there is none 134 ��� will report bootstrap path when one is in the config file 142 ��� will report bootstrap path when one is specified at the command line 150 ��� will report bootstrap path from cli when different paths are specified in config and cli 158 ��� defaults the block width 163 ��� sets the block width to the minimum when terminal is narrow 170 ��� sets the block width to the maximum when terminal is very wide 177 ��� sets the block width to narrower than the terminal width when terminal is in range PhpSpec\Console\ResultConverter 11 ��� converts passed result code into 0 16 ��� converts skipped result code into 0 21 ��� converts pending result code into 1 26 ��� converts failed result code into 1 31 ��� converts broken result code into 1 PhpSpec\Event\ExampleEvent 23 ��� is an event 29 ��� provides a link to example 34 ��� provides a link to specification 39 ��� provides a link to suite 44 ��� provides a link to time 49 ��� provides a link to result 54 ��� provides a link to exception PhpSpec\Event\ExpectationEvent 27 ��� is an event 33 ��� provides a link to matcher 38 ��� provides a link to example 43 ��� provides a link to specification 48 ��� provides a link to suite 53 ��� provides a link to subject 58 ��� provides a link to method 63 ��� provides a link to arguments 68 ��� provides a link to result 73 ��� provides a link to exception PhpSpec\Event\MethodCallEvent 26 ��� is an event 32 ��� provides a link to example 37 ��� provides a link to specification 42 ��� provides a link to suite 47 ��� provides a link to subject 52 ��� provides a link to method 57 ��� provides a link to arguments 62 ��� provides a link to return value PhpSpec\Event\SpecificationEvent 20 ��� is an event 26 ��� provides a link to suite 31 ��� provides a link to specification 36 ��� provides a link to time 41 ��� provides a link to result PhpSpec\Event\SuiteEvent 17 ��� is an event 23 ��� provides a link to suite 28 ��� provides a link to time 33 ��� provides a link to result 38 ��� defaults to saying suite is not worth rerunning 43 ��� can be told that the suite is worth rerunning PhpSpec\Exception\Example\NotEqualException 14 ��� is failure 19 ��� provides a link to expected 24 ��� provides a link to actual PhpSpec\Exception\Example\StopOnFailureException 16 ��� is an example exception 21 ��� has a the result of the last spec PhpSpec\Exception\ExceptionFactory 26 ��� creates a named constructor not found exception 41 ��� creates a method not found exception 56 ��� creates a method not visible exception (67ms) 72 ��� creates a class not found exception 85 ��� creates a property not found exception 99 ��� creates a calling method on non object exception 110 ��� creates a setting property on non object exception 121 ��� creates an accessing property on non object exception PhpSpec\Exception\Exception 11 ��� extends basic exception 16 ��� could have a cause PhpSpec\Exception\Fracture\ClassNotFoundException 14 ��� is fracture 19 ��� provides a link to classname PhpSpec\Exception\Fracture\InterfaceNotImplementedException 14 ��� is fracture 19 ��� provides a link to subject 24 ��� provides a link to interface PhpSpec\Exception\Fracture\MethodNotFoundException 14 ��� is fracture 19 ��� provides a link to subject 24 ��� provides a link to methodName 29 ��� provides a link to arguments PhpSpec\Exception\Fracture\MethodNotVisibleException 15 ��� is fracture 20 ��� provides a link to subject 25 ��� provides a link to methodName 30 ��� provides a link to arguments PhpSpec\Exception\Fracture\NamedConstructorNotFoundException 15 ��� is fracture 20 ��� provides a link to subject 25 ��� provides a link to methodName 30 ��� provides a link to arguments PhpSpec\Exception\Fracture\PropertyNotFoundException 14 ��� is fracture 19 ��� provides a link to subject 24 ��� provides a link to property PhpSpec\Formatter\BasicFormatter 21 ��� is an event subscriber 26 ��� returns a list of subscribed events PhpSpec\Formatter\DotFormatter 24 ��� is a console formatter 29 ��� outputs a dot for a passed example 41 ��� outputs a p for a pending example 53 ��� outputs an s for a skipped example 65 ��� outputs an f for a failed example 77 ��� outputs a b for a broken example 89 ��� outputs the progress every 50 examples (51ms) 105 ��� outputs exceptions for failed examples (92ms) 142 ��� outputs a suite summary (62ms) PhpSpec\Formatter\Html\HtmlPresenter 19 ��� is initializable 24 ��� presents the code around where exception was thrown PhpSpec\Formatter\Html\IO PhpSpec\Formatter\Html\ReportFailedItem 27 ��� writes a fail message for a failing example PhpSpec\Formatter\Html\ReportItemFactory 19 ��� creates a ReportPassedItem 25 ��� creates a ReportPendingItem 31 ��� creates a ReportFailedItem 37 ��� creates a ReportBrokenItem PhpSpec\Formatter\Html\ReportPassedItem 20 ��� writes a pass message for a passing example PhpSpec\Formatter\Html\ReportPendingItem 20 ��� writes a pass message for a passing example PhpSpec\Formatter\Html\Template 17 ��� renders the string as is 24 ��� renders a variable 30 ��� works for many instances of vars 39 ��� renders a file PhpSpec\Formatter\HtmlFormatter 24 ��� is an event subscriber 29 ��� delegates the reporting to the event type line reporter PhpSpec\Formatter\JUnitFormatter 26 ��� is an event subscriber 31 ��� stores a testcase node after passed example run (62ms) 50 ��� stores a testcase node after broken example run (63ms) 79 ��� stores a testcase node after failed example run (64ms) 108 ��� stores a testcase node after skipped example run (63ms) 133 ��� aggregates testcase nodes and store them after specification run 169 ��� aggregates testsuite nodes and display them after suite run PhpSpec\Formatter\Presenter\Differ\ArrayEngine 10 ��� is a diff engine 15 ��� supports arrays 20 ��� does not support anything else PhpSpec\Formatter\Presenter\Differ\Differ 10 ��� chooses proper engine based on values 28 ��� returns null if engine not found 33 ��� its constructor allows a list of engines PhpSpec\Formatter\Presenter\Differ\ObjectEngine 17 ��� is a differ engine 22 ��� does not support scalars 27 ��� only supports objects 32 ��� converts objects to string and diffs the result PhpSpec\Formatter\Presenter\Differ\StringEngine 9 ��� is a diff engine 14 ��� supports string values 19 ��� calculates strings diff PhpSpec\Formatter\Presenter\StringPresenter 15 ��� presents short string in quotes 20 ��� presents long string in quotes but trimmed 26 ��� presents only first line of multiline string 31 ��� presents simple type as typed value 37 ��� presents object as classname 42 ��� presents array as elements count 47 ��� presents boolean as string 53 ��� presents closure as type 58 ��� presents exception as class with constructor 64 ��� presents function callable as string 70 ��� presents method as string 77 ��� presents magic method as string 84 ��� presents static method as string 91 ��� presents static magic method as string 98 ��� presents invokable object as string 105 ��� presents string as string 110 ��� its presentValue displays invokable objects as objects PhpSpec\Formatter\Presenter\TaggedPresenter 15 ��� wraps value into tags 20 ��� wraps string into tags PhpSpec\Formatter\ProgressFormatter 19 ��� is an event subscriber 24 ��� outputs progress as 0 when 0 examples have run 43 ��� outputs progress as 0 when 0 examples have passed 62 ��� outputs progress as 100 when 1 of 3 examples have passed 81 ��� outputs progress as 33 when 3 of 3 examples have run and one passed PhpSpec\Formatter\TapFormatter 23 ��� is an event subscriber 28 ��� outputs version on beforesuite event 35 ��� outputs plan on aftersuite event (54ms) 48 ��� outputs progress on afterexample event (77ms) 70 ��� outputs failure progress on afterexample event (66ms) 86 ��� outputs skip progress on afterexample event (62ms) 102 ��� outputs todo progress on afterexample event (63ms) 118 ��� outputs broken progress on afterexample event (64ms) 134 ��� outputs undefined progress on afterexample event (62ms) PhpSpec\Listener\ClassNotFoundListener 28 ��� does not prompt for class generation if no exception was thrown 38 ��� does not prompt for class generation if non class exception was thrown 49 ��� prompts for class generation if prophecy classnotfoundexception was thrown and input is interactive (53ms) 60 ��� prompts for method generation if phpspec classnotfoundexception was thrown and input is interactive (51ms) 71 ��� does not prompt for class generation if input is not interactive PhpSpec\Listener\CollaboratorMethodNotFoundListener 37 ��� is an event subscriber 42 ��� listens to afterexample events 50 ��� does not prompt when no exception is thrown (55ms) 60 ��� prompts the user when a prophecy method exception is thrown (60ms) 73 ��� does not prompt when wrong exception is thrown (57ms) 83 ��� does not prompt when collaborator is not an interface (56ms) 96 ��� does not prompt when code generation is disabled (55ms) 111 ��� does not prompt if it cannot generate the resource (63ms) 126 ��� generates the method signature when user says yes at prompt (62ms) 142 ��� marks the suite as being worth rerunning when generation happens (60ms) PhpSpec\Listener\CollaboratorNotFoundListener 35 ��� listens to afterexample and aftersuite events 43 ��� prompts to generate missing collaborator (82ms) 55 ��� does not prompt to generate when there was no exception (55ms) 67 ��� does not prompt to generate when there was an exception of the wrong type (61ms) 79 ��� does not prompt when code generation is disabled (57ms) 91 ��� does not prompt when collaborator is in spec namespace (60ms) 103 ��� generates interface when prompt is answered with yes (166ms) 119 ��� does not generate interface when prompt is answered with no (92ms) PhpSpec\Listener\MethodNotFoundListener 26 ��� does not prompt for method generation if no exception was thrown 36 ��� does not prompt for method generation if non methodnotfoundexception was thrown (54ms) 47 ��� prompts for method generation if methodnotfoundexception was thrown and input is interactive (60ms) 58 ��� does not prompt for method generation if input is not interactive (60ms) PhpSpec\Listener\MethodReturnedNullListener 39 ��� is an event listener (51ms) 44 ��� listens to examples to spot failures (51ms) 49 ��� listens to suites to know when to prompt (50ms) 54 ��� listens to method calls to see what has failed (51ms) 59 ��� does not prompt when wrong type of exception is thrown (75ms) 71 ��� does not prompt when actual value is not null (81ms) 85 ��� does not prompt when expected value is an object (78ms) 99 ��� does not prompt if no method was called beforehand (65ms) 107 ��� does not prompt when there is a problem creating the resource (80ms) 119 ��� does not prompt when input is not interactive (79ms) 131 ��� does not prompt when method is not empty (103ms) 146 ��� does not prompt when multiple contradictory examples are found (104ms) 170 ��� does not prompt when io has faking disabled (80ms) 182 ��� prompts when correct type of exception is thrown (78ms) 192 ��� invokes method body generation when prompt is answered yes (84ms) PhpSpec\Listener\NamedConstructorNotFoundListener 25 ��� does not prompt for method generation if no exception was thrown 35 ��� does not prompt for method generation if non namedconstructornotfoundexception was thrown 46 ��� prompts for method generation if namedconstructornotfoundexception was thrown and input is interactive (54ms) 57 ��� does not prompt for method generation if input is not interactive (53ms) PhpSpec\Listener\RerunListener 17 ��� subscribes to aftersuite 23 ��� does not tell the rerunner to rerun if it is not worth doing so 32 ��� tells the rerunner to rerun if it is worth doing so PhpSpec\Listener\StatisticsCollector 21 ��� is an event listener 26 ��� listens to stats generating events 35 ��� knows no specs have run initially 40 ��� counts how many specs have run 48 ��� knows no examples have run initially 53 ��� counts how many examples have run 61 ��� logs all example events 72 ��� logs all example events by type 80 ��� counts example results by type 96 ��� returns the worst result as the global result 104 ��� records how many specs are in the suite PhpSpec\Listener\StopOnFailureListener 19 ��� is an event subscriber 24 ��� does not throw any exception when example succeeds 31 ��� does not throw any exception for unimplemented examples 38 ��� throws an exception when an example fails and option is set 46 ��� does not throw an exception when an example fails and option is not set 53 ��� throws an exception when an example breaks and option is set 61 ��� does not throw an exception when an example breaks and option is not set PhpSpec\Loader\Node\ExampleNode 19 ��� provides a link to title 24 ��� provides a link to function 29 ��� provides a link to specification 35 ��� is not pending by default 40 ��� is pending after marked as pending with no args 46 ��� is pending after marked as pending with true 52 ��� is not pending after marked as pending with false PhpSpec\Loader\Node\SpecificationNode 21 ��� is countable 26 ��� provides a link to title 31 ��� provides a link to class 36 ��� provides a link to resource 41 ��� provides a link to suite 47 ��� provides a link to examples 56 ��� provides a count of examples PhpSpec\Loader\Suite 12 ��� is countable 17 ��� provides a link to specifications 26 ��� provides a count of examples PhpSpec\Locator\PSR0\PSR0Locator 21 ��� is a locator 26 ��� its priority is zero 31 ��� generates fullSrcPath from srcPath plus namespace 40 ��� generates fullSrcPath from srcPath plus namespace cutting psr4 prefix 49 ��� generates proper fullSrcPath even from empty namespace 56 ��� generates fullSpecPath from specPath plus namespace 65 ��� generates fullSpecPath from specPath plus namespace cutting psr4 prefix 74 ��� generates proper fullSpecPath even from empty src namespace 83 ��� stores srcNamespace it was constructed with 90 ��� trims srcNamespace during construction 97 ��� supports empty namespace argument 104 ��� generates specNamespace using srcNamespace and specPrefix 111 ��� trims specNamespace during construction 118 ��� generates proper specNamespace for empty srcNamespace 125 ��� finds all resources from tracked specPath 141 ��� returns empty array if tracked specPath does not exist 152 ��� supports folder queries in srcPath 159 ��� supports srcPath queries 166 ��� supports file queries in srcPath 175 ��� supports folder queries in specPath 182 ��� supports specPath queries 189 ��� supports file queries in specPath 198 ��� does not support any other queries 205 ��� finds spec resources via srcPath 221 ��� finds spec resources with classname underscores via srcPath 237 ��� finds spec resources via fullSrcPath 253 ��� finds spec resources via specPath 269 ��� finds single spec via srcPath 284 ��� finds single spec via specPath 299 ��� returns empty array if nothing found 309 ��� throws an exception on no class definition 325 ��� does not throw an exception on no class definition if file not suffixed with spec 341 ��� throws an exception when spec class not in the base specs namespace 357 ��� supports classes from srcNamespace 364 ��� supports backslashed classes from srcNamespace 371 ��� supports classes from specNamespace 378 ��� supports backslashed classes from specNamespace 385 ��� supports any class if srcNamespace is empty 392 ��� does not support anything else 399 ��� creates resource from src class 409 ��� creates resource from backslashed src class 419 ��� creates resource from spec class 429 ��� creates resource from backslashed spec class 439 ��� creates resource from src class even if srcNamespace is empty 449 ��� throws an exception on non PSR0 resource 461 ��� throws an exception on PSR0 resource with double backslash 473 ��� throws an exception on PSR0 resource with slash on the end 485 ��� throws an exception on PSR4 prefix not matching namespace PhpSpec\Locator\PSR0\PSR0Resource 16 ��� uses last segment as name 21 ��� uses last segment plus Spec suffix as specName 26 ��� is a resource 31 ��� generates src filename from provided parts using locator 38 ��� generates src namespace from provided parts using locator 45 ��� generates proper src namespace even if there is only one part 53 ��� generates src classname from provided parts using locator 60 ��� generates proper src classname for empty locator namespace 67 ��� generates spec filename from provided parts using locator 74 ��� generates spec namespace from provided parts using locator 81 ��� generates proper spec namespace even if there is only one part 89 ��� generates spec classname from provided parts using locator PhpSpec\Locator\ResourceManager 18 ��� locates resources using all registered locators 36 ��� locates all locators resources if query string is empty 52 ��� returns empty array if registered locators do not support query 62 ��� creates resource from classname using locator with highest priority 76 ��� throws an exception if locators do not support classname 85 ��� does not allow two resources for the same spec 100 ��� uses the resource from the highest priority locator when duplicates occur PhpSpec\Matcher\ArrayContainMatcher 20 ��� is a matcher 25 ��� responds to contain 30 ��� matches array with specified value 35 ��� does not match array without specified value 42 ��� matches array without specified value PhpSpec\Matcher\ArrayCountMatcher 23 ��� is a matcher 28 ��� responds to haveCount 33 ��� matches proper array count 38 ��� matches proper countable count 45 ��� does not match wrong array count 51 ��� does not match proper countable count 59 ��� mismatches wrong array count 64 ��� mismatches wrong countable count PhpSpec\Matcher\ArrayKeyMatcher 22 ��� is a matcher 27 ��� responds to haveKey 32 ��� matches array with specified key 37 ��� matches array with specified key even if there is no value 42 ��� matches ArrayObject with provided offset 49 ��� does not match array without specified key 54 ��� does not match ArrayObject without provided offset 61 ��� matches array without specified key 66 ��� matches ArrayObject without specified offset (90ms) PhpSpec\Matcher\ArrayKeyValueMatcher 32 ��� is a matcher 37 ��� responds to haveKeyWithValue with array subject 42 ��� responds to haveKeyWithValue with array access subject 47 ��� does not respond to haveKeyWithValue with non array subject 52 ��� matches array with correct value for specified key 57 ��� does not match array with wrong value for specified key 62 ��� does not match array with missing key 67 ��� matches ArrayObject with correct value for specified offset 75 ��� does not match ArrayObject with missing key 80 ��� does not match ArrayObject with wrong value for specified offset 88 ��� matches array without specified key 93 ��� matches array with invalid key value 98 ��� matches ArrayObject without specified offset 105 ��� matches ArrayObject with invalid key value PhpSpec\Matcher\CallbackMatcher 20 ��� is a matcher 25 ��� supports same alias it was constructed with 30 ��� does not support anything else 35 ��� matches if callback returns true 42 ��� does not match if callback returns false PhpSpec\Matcher\ComparisonMatcher 20 ��� is a matcher 25 ��� responds to beLike 30 ��� matches empty string using comparison operator 35 ��� matches not empty string using comparison operator 40 ��� matches empty string with emptish values using comparison operator 45 ��� matches zero with emptish values using comparison operator 50 ��� matches null with emptish values using comparison operator 55 ��� matches false with emptish values using comparison operator 60 ��� does not match non empty different value 66 ��� mismatches empty string using comparison operator 72 ��� mismatches not empty string using comparison operator 78 ��� mismatches empty string with emptish values using comparison operator 84 ��� mismatches zero with emptish values using comparison operator 90 ��� mismatches null with emptish values using comparison operator 96 ��� mismatches false with emptish values using comparison operator 102 ��� mismatches on non empty different value PhpSpec\Matcher\IdentityMatcher 20 ��� is a matcher 25 ��� responds to return 30 ��� responds to be 35 ��� responds to equal 40 ��� responds to beEqualTo 45 ��� matches empty strings 50 ��� matches not empty strings 55 ��� does not match empty string with emptish values 61 ��� does not match zero with emptish values 67 ��� does not match null with emptish values 73 ��� does not match false with emptish values 79 ��� does not match non empty different value 85 ��� mismatches empty string 91 ��� mismatches not empty string 97 ��� mismatches empty string with emptish values 102 ��� mismatches zero with emptish values using identity operator 107 ��� mismatches null with emptish values using identity operator 112 ��� mismatches false with emptish values using identity operator 117 ��� mismatches on non empty different value PhpSpec\Matcher\ObjectStateMatcher 20 ��� is a matcher 25 ��� infers matcher alias name from methods prefixed with is 32 ��� throws exception if checker method not found 40 ��� matches if state checker returns true 47 ��� does not match if state checker returns false 55 ��� infers matcher alias name from methods prefixed with has 62 ��� throws exception if has checker method not found 70 ��� matches if has checker returns true 79 ��� does not match if has state checker returns false 87 ��� does not match if subject is callable PhpSpec\Matcher\StringEndMatcher 19 ��� is a matcher 24 ��� supports endWith keyword and string subject 29 ��� does not support anything else 34 ��� matches strings that start with specified prefix 39 ��� does not match strings that do not start with specified prefix 44 ��� matches strings that do not start with specified prefix 49 ��� does not match strings that do start with specified prefix PhpSpec\Matcher\StringRegexMatcher 19 ��� is a matcher 24 ��� supports match keyword and string subject 29 ��� does not support anything else 34 ��� matches strings that match specified regex 39 ��� does not match strings that do not match specified regex 44 ��� matches strings that do not match specified regex 49 ��� does not match strings that do match specified regex PhpSpec\Matcher\StringStartMatcher 19 ��� is a matcher 24 ��� supports startWith keyword and string subject 29 ��� does not support anything else 34 ��� matches strings that start with specified prefix 39 ��� does not match strings that do not start with specified prefix 44 ��� matches strings that do not start with specified prefix 49 ��� does not match strings that do start with specified prefix PhpSpec\Matcher\ThrowMatcher 23 ��� supports the throw alias for object and exception name 28 ��� accepts a method during which an exception should be thrown 35 ��� accepts a method during which an exception should not be thrown PhpSpec\Matcher\TypeMatcher 23 ��� is a matcher 28 ��� responds to beAnInstanceOf 33 ��� responds to returnAnInstanceOf 38 ��� responds to haveType 43 ��� matches subclass instance 49 ��� matches interface instance 55 ��� does not match wrong class 62 ��� does not match wrong interface 69 ��� matches other class 74 ��� matches other interface PhpSpec\Process\ReRunner\CompositeReRunner 22 ��� is a rerunner 27 ��� invokes the first supported child to rerun the suite even if later children are supported 41 ��� skips early child if it is not supported and invokes runsuite on later supported child PhpSpec\Process\ReRunner\OptionalReRunner 17 ��� reruns the suite if it is enabled in the config 26 ��� does not rerun the suite if it is disabled in the config PhpSpec\Process\ReRunner\PassthruRerunner 27 ��� is a rerunner 32 ��� is not supported when php process is not found PhpSpec\Process\ReRunner\PcntlReRunner 16 ��� is a rerunner 21 ��� is not supported when php process is not found PhpSpec\Runner\CollaboratorManager 20 ��� stores collaborators by name 26 ��� provides a method to check if collaborator exists 34 ��� throws CollaboratorException on attempt to get unexisting collaborator 40 ��� creates function arguments for ReflectionFunction 54 ��� creates null function arguments for ReflectionFunction if no collaborator found PhpSpec\Runner\ExampleRunner 34 ��� executes example in newly created context (92ms) 45 ��� dispatches ExampleEvent with pending status if example is pending (137ms) 58 ��� dispatches ExampleEvent with failed status if matcher throws exception (126ms) 76 ��� dispatches ExampleEvent with failed status if example throws exception (113ms) 93 ��� runs all supported maintainers before and after each example (88ms) 111 ��� runs let and letgo maintainer before and after each example if the example throws an exception (93ms) PhpSpec\Runner\Maintainer\MatchersMaintainer 16 ��� should add default matchers to the matcher manager PhpSpec\Runner\MatcherManager 18 ��� searches in registered matchers 27 ��� searches matchers by their priority 41 ��� throws MatcherNotFoundException if matcher not found PhpSpec\Runner\SpecificationRunner 21 ��� passes each specification example to ExampleRunner (305ms) 33 ��� returns examples max resultCode (202ms) 45 ��� returns 0 resultCode if no examples found 52 ��� dispatches SpecificationEvent before and after examples run PhpSpec\Runner\SuiteRunner 25 ��� runs all specs in the suite through the specrunner (204ms) 33 ��� stops running subsequent specs when a spec throws a StopOnFailureException (152ms) 42 ��� returns a successful result when all specs in suite pass (205ms) 50 ��� returns a broken result when one spec is broken (204ms) 58 ��� returns a failed result when one spec failed (206ms) 66 ��� dispatches events before and after the suite 79 ��� dispatches afterSuite event with result and time PhpSpec\ServiceContainer 9 ��� stores parameters 15 ��� returns null value for unexisting parameter 20 ��� returns custom default for unexisting parameter if provided 25 ��� stores services 31 ��� throws exception when trying to get unexisting service 36 ��� evaluates factory function set as service 48 ��� evaluates factory function only once for shared services 57 ��� provides a way to retrieve services by prefix 66 ��� provides a way to remove service by key 75 ��� supports custom service configurators PhpSpec\Util\Instantiator 10 ��� creates an instance 16 ��� creates an instance ignoring constructor 22 ��� creates an instance with properties 28 ��� complains if class does not exist PhpSpec\Util\MethodAnalyser 11 ��� identifies empty methods as empty 17 ��� identifies commented methods as empty 22 ��� identifies methods with code as not empty 27 ��� identifies methods without standard braces as non empty 35 ��� identifies internal classes as non empty 40 ��� identifies methods from traits 50 ��� finds the real declaring class of a method PhpSpec\Wrapper\Subject\Caller 26 ��� dispatches method call events (61ms) 44 ��� sets a property on the wrapped object 55 ��� proxies method calls to wrapped object (57ms) 63 ��� delegates throwing class not found exception 79 ��� delegates throwing method not found exception 100 ��� delegates throwing method not found exception for constructor (55ms) 123 ��� delegates throwing named constructor not found exception (50ms) 147 ��� delegates throwing method not visible exception (51ms) 168 ��� delegates throwing property not found exception 187 ��� delegates throwing calling method on non object exception 199 ��� delegates throwing setting property on non object exception 210 ��� delegates throwing getting property on non object exception PhpSpec\Wrapper\Subject\Expectation\ConstructorDecorator 19 ��� rethrows php errors as phpspec error exceptions 25 ��� rethrows fracture errors as phpspec error exceptions 31 ��� ignores any other exception PhpSpec\Wrapper\Subject\Expectation\Decorator 19 ��� returns the decorated expectation 24 ��� keeps looking for nested expectations PhpSpec\Wrapper\Subject\Expectation\DispatcherDecorator 22 ��� implements the interface of the decorated 27 ��� dispatches before and after events (60ms) 38 ��� decorates expectation with failed event (129ms) 52 ��� decorates expectation with broken event (66ms) PhpSpec\Wrapper\Subject\Expectation\Negative 18 ��� calls a negative match on matcher PhpSpec\Wrapper\Subject\Expectation\Positive 16 ��� calls a positive match on matcher PhpSpec\Wrapper\Subject\ExpectationFactory 21 ��� creates positive expectations 32 ��� creates negative expectations 43 ��� creates positive throw expectations 53 ��� creates negative throw expectations PhpSpec\Wrapper\Subject\WrappedObject 18 ��� instantiates object using classname 24 ��� keeps instantiated object 30 ��� can be instantiated with a factory method 42 ��� can be instantiated with a factory method with method name only 55 ��� throws an exception when factory method returns a non object 64 ��� throws an exception when trying to change constructor params after instantiation 73 ��� throws an exception when trying to change factory method after instantiation 83 ��� throws an exception when trying to change from constructor to factory method after instantiation 93 ��� throws an exception when trying to change from factory method to constructor after instantiation PhpSpec\Wrapper\Subject 23 ��� passes the created subject to expectation (54ms) 34 ��� passes the existing subject to expectation (54ms) 95 specs 592 examples (592 passed) 17756ms + /usr/bin/phpunit --verbose --bootstrap src/PhpSpec/autoload.php PHPUnit 4.8.36 by Sebastian Bergmann and contributors. Runtime: PHP 5.4.16 Configuration: /builddir/build/BUILD/phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8/phpunit.xml ....... Time: 1.04 seconds, Memory: 3.25MB OK (7 tests, 12 assertions) + exit 0 Processing files: php-phpspec-2.2.1-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.DzOaWu + umask 022 + cd /builddir/build/BUILD + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + DOCDIR=/builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/doc/php-phpspec-2.2.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/doc/php-phpspec-2.2.1 + cp -pr README.rst /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/doc/php-phpspec-2.2.1 + cp -pr CHANGES.md /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/doc/php-phpspec-2.2.1 + cp -pr composer.json /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/doc/php-phpspec-2.2.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JJ2Epj + umask 022 + cd /builddir/build/BUILD + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + LICENSEDIR=/builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/licenses/php-phpspec-2.2.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/licenses/php-phpspec-2.2.1 + cp -pr LICENSE /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch/usr/share/licenses/php-phpspec-2.2.1 + exit 0 Provides: php-composer(phpspec/phpspec) = 2.2.1 php-phpspec = 2.2.1-1.el7 phpspec = 2.2.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/env Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch Wrote: /builddir/build/RPMS/php-phpspec-2.2.1-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.2He6DD + umask 022 + cd /builddir/build/BUILD + cd phpspec-e9a40577323e67f1de2e214abf32976a0352d8f8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/php-phpspec-2.2.1-1.el7.noarch + exit 0 Child return code was: 0