php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /opt/php-7.0.1/scripts/dev/generate-phpt/src/testcase/ |
files >> //opt/php-7.0.1/scripts/dev/generate-phpt/src/testcase/gtVariationContainerMethod.php |
<?php /** * Container for all possible variation test cases for a method */ class gtVariationContainerMethod extends gtVariationContainer { protected $method; protected $optionalSections; public function __construct($osl) { $this->optionalSections = $osl; } /** * Sets the method to be tested * * @param gtMethod $method */ public function setMethod(gtMethod $method) { $this->method = $method; } /** * Constructs all variation tests in $this_variationTests * */ public function constructAll() { $numberOfArguments = count($this->method->getMandatoryArgumentNames()) + count($this->method->getOptionalArgumentNames()); for($i = 1; $i <= $numberOfArguments; $i++) { foreach ($this->dataTypes as $d) { $testCase = gtVariationTestCase::getInstance($this->optionalSections, 'method'); $testCase->setUp($this->method, $i, $d); $testCase->constructTestCase(); $this->variationTests[] = $testCase->toString(); } } } } ?>y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`