Home
last modified time | relevance | path

Searched refs:clo (Results 1 – 18 of 18) sorted by relevance

/PHP-7.0/scripts/dev/generate-phpt/tests/
H A DgtCommandLineOptionsTest.php13 $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 DgtOptionalSectionsTest.php10 $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 DgtIfClassHasMethodTest.php10 $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 DgtIsSpecifiedFunctionOrMethodTest.php10 $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 DgtIsValidClassTest.php10 $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 DgtIsValidFunctionTest.php10 $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 DgtIsValidMethodTest.php10 $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 DgtIsSpecifiedTestTypeTest.php10 $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-7.0/scripts/dev/generate-phpt/src/setup/preconditions/
H A DgtIsSpecifiedTestType.php9 public function check( $clo) { argument
10 if($clo->hasOption('b') || $clo->hasOption('e') || $clo->hasOption('v') ) {
H A DgtIsValidMethod.php9 public function check( $clo) { argument
10 if($clo->hasOption('m') ) {
11 $className = $clo->getOption('c');
15 if($clo->getOption('m') == $method->getName()) {
H A DgtIsSpecifiedFunctionOrMethod.php9 public function check( $clo) { argument
10 if($clo->hasOption('f') || $clo->hasOption('m')) {
H A DgtIfClassHasMethod.php9 public function check( $clo) { argument
10 if($clo->hasOption('c')) {
11 if(!$clo->hasOption('m')) {
H A DgtIsValidClass.php9 public function check( $clo) { argument
10 if($clo->hasOption('c') ) {
11 $className = $clo->getOption('c');
H A DgtIsValidFunction.php9 public function check( $clo) { argument
10 if($clo->hasOption('f') ) {
11 $function = $clo->getOption('f');
/PHP-7.0/scripts/dev/generate-phpt/src/setup/
H A DgtPreConditionList.php23 public function check($clo) { argument
26 if(!$checkThis->check($clo)) {
H A DgtPreCondition.php9 abstract public function check($clo); argument
/PHP-7.0/scripts/dev/
H A Dgenerate-phpt.phar519 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 …]
/PHP-7.0/sapi/cli/tests/
H A Dbug70470.phpt24 fwrite($fp, "Connection: clo");

Completed in 40 milliseconds