/PHP-5.4/scripts/dev/generate-phpt/tests/ |
H A D | gtCommandLineOptionsTest.php | 13 $clo = new gtCommandLineOptions(); 14 $clo->parse(array('generate-phpt.php')); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-h')); 20 $this->assertTrue($clo->hasOption('h')); 24 $clo = new gtCommandLineOptions(); 26 $this->assertTrue($clo->hasOption('f')); 34 $clo = new gtCommandLineOptions(); 35 $clo->parse(array('generate-phpt.php', '-z')); 42 $clo = new gtCommandLineOptions(); [all …]
|
H A D | gtOptionalSectionsTest.php | 10 $clo = new gtCommandLineOptions(); 14 $opt->setOptions($clo); 25 $clo = new gtCommandLineOptions(); 26 $clo->parse(array('generate-phpt.php', '-s', 'blah')); 28 $opt->setOptions($clo); 32 $clo = new gtCommandLineOptions(); 35 $opt->setOptions($clo); 38 $opt->setOptions($clo); 45 $clo = new gtCommandLineOptions(); 48 $opt->setOptions($clo); [all …]
|
H A D | gtIfClassHasMethodTest.php | 10 $clo = new gtCommandLineOptions(); 11 $clo->parse(array('generate-phpt.php', '-c', 'blah', '-m', 'blah')); 13 $this->assertTrue($ch->check($clo)); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-c', 'blah')); 21 $this->assertFalse($ch->check($clo)); 26 $clo = new gtCommandLineOptions(); 27 $clo->parse(array('generate-phpt.php', '-b')); 29 $this->assertTrue($ch->check($clo)); 34 $clo = new gtCommandLineOptions(); [all …]
|
H A D | gtIsSpecifiedFunctionOrMethodTest.php | 10 $clo = new gtCommandLineOptions(); 11 $clo->parse(array('generate-phpt.php', '-m', 'blah')); 13 $this->assertTrue($ch->check($clo)); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-f', 'blah')); 21 $this->assertTrue($ch->check($clo)); 26 $clo = new gtCommandLineOptions(); 27 $clo->parse(array('generate-phpt.php', '-b')); 29 $this->assertFalse($ch->check($clo)); 35 $clo = new gtCommandLineOptions(); [all …]
|
H A D | gtIsValidClassTest.php | 10 $clo = new gtCommandLineOptions(); 11 $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument')); 13 $this->assertTrue($ch->check($clo)); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-c', 'blah')); 21 $this->assertFalse($ch->check($clo)); 26 $clo = new gtCommandLineOptions(); 27 $clo->parse(array('generate-phpt.php','-b')); 29 $this->assertTrue($ch->check($clo)); 34 $clo = new gtCommandLineOptions(); [all …]
|
H A D | gtIsValidFunctionTest.php | 10 $clo = new gtCommandLineOptions(); 11 $clo->parse(array('generate-phpt.php', '-f', 'cos')); 13 $this->assertTrue($ch->check($clo)); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-f', 'blah')); 21 $this->assertFalse($ch->check($clo)); 26 $clo = new gtCommandLineOptions(); 27 $clo->parse(array('generate-phpt.php','-b')); 29 $this->assertTrue($ch->check($clo)); 34 $clo = new gtCommandLineOptions(); [all …]
|
H A D | gtIsValidMethodTest.php | 10 $clo = new gtCommandLineOptions(); 11 $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument', '-m', 'createAttribute')); 13 $this->assertTrue($ch->check($clo)); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument', '-m', 'blah')); 21 $this->assertFalse($ch->check($clo)); 26 $clo = new gtCommandLineOptions(); 27 $clo->parse(array('generate-phpt.php','-b')); 29 $this->assertTrue($ch->check($clo)); 34 $clo = new gtCommandLineOptions(); [all …]
|
H A D | gtIsSpecifiedTestTypeTest.php | 10 $clo = new gtCommandLineOptions(); 11 $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument','-b')); 13 $this->assertTrue($ch->check($clo)); 18 $clo = new gtCommandLineOptions(); 19 $clo->parse(array('generate-phpt.php', '-c', 'DOMDocument')); 21 $this->assertFalse($ch->check($clo)); 26 $clo = new gtCommandLineOptions(); 27 $clo->parse(array('generate-phpt.php', '-c', 'blah'));
|
/PHP-5.4/scripts/dev/generate-phpt/src/setup/preconditions/ |
H A D | gtIsSpecifiedTestType.php | 9 public function check( $clo) { argument 10 if($clo->hasOption('b') || $clo->hasOption('e') || $clo->hasOption('v') ) {
|
H A D | gtIsValidMethod.php | 9 public function check( $clo) { argument 10 if($clo->hasOption('m') ) { 11 $className = $clo->getOption('c'); 15 if($clo->getOption('m') == $method->getName()) {
|
H A D | gtIsSpecifiedFunctionOrMethod.php | 9 public function check( $clo) { argument 10 if($clo->hasOption('f') || $clo->hasOption('m')) {
|
H A D | gtIfClassHasMethod.php | 9 public function check( $clo) { argument 10 if($clo->hasOption('c')) { 11 if(!$clo->hasOption('m')) {
|
H A D | gtIsValidClass.php | 9 public function check( $clo) { argument 10 if($clo->hasOption('c') ) { 11 $className = $clo->getOption('c');
|
H A D | gtIsValidFunction.php | 9 public function check( $clo) { argument 10 if($clo->hasOption('f') ) { 11 $function = $clo->getOption('f');
|
/PHP-5.4/scripts/dev/generate-phpt/src/setup/ |
H A D | gtPreConditionList.php | 23 public function check($clo) { argument 26 if(!$checkThis->check($clo)) {
|
H A D | gtPreCondition.php | 9 abstract public function check($clo); argument
|
/PHP-5.4/scripts/dev/ |
H A D | generate-phpt.phar | 519 public function check( $clo) { 520 if($clo->hasOption('f') ) { 543 public function check( $clo) { 544 if($clo->hasOption('b') || $clo->hasOption('e') || $clo->hasOption('v') ) { 563 public function check( $clo) { 564 if($clo->hasOption('c')) { 587 if($clo->hasOption('f') || $clo->hasOption('m')) { 606 public function check( $clo) { 607 if($clo->hasOption('m') ) { 634 if($clo->hasOption('c') ) { [all …]
|