Lines Matching refs:this

40     foreach($this->testCase as $line) {
54 return $this->testCase;
63 $this->testHeader();
65 if($this->optionalSections->hasSkipif()) {
66 $this->addSkipif();
69 if($this->optionalSections->hasIni()) {
70 $this->addIni();
73 $this->fileOpening();
82 $this->fileClosing();
84 if ($this->optionalSections->hasDone()) {
85 $this->addDone();
88 if ($this->optionalSections->hasClean()) {
89 $this->addClean();
92 $this->addExpectf();
100 $this->testCase[] = "--FILE--";
101 $this->testCase[] = "<?php";
102 $this->testCase = gtCodeSnippet::appendBlankLines(2, $this->testCase );
111 $conStatements = $this->subject->getConstructorInitStatements();
113 $this->testCase[] = $statement;
123 $constructorList = $this->subject->getConstructorArgumentList();
124 $this->testCase[] = "\$class = new ".$this->subject->getClassName()."( ".$constructorList." );";
125 $this->testCase = gtCodeSnippet::appendBlankLines(2, $this->testCase );
134 $statements = $this->subject->getInitialisationStatements();
136 $this->testCase[] = $statement;
138 $this->testCase = gtCodeSnippet::appendBlankLines(2, $this->testCase );
147 $this->testCase[] = "?>";
156 $this->testCase[] = "--SKIPIF--";
157 $this->testCase[] = "<?php";
158 if($this->optionalSections->hasSkipifKey()) {
159 $key = $this->optionalSections->getSkipifKey();
162 $this->testCase = gtCodeSnippet::append('skipifwin', $this->testCase);
165 $this->testCase = gtCodeSnippet::append('skipifnotwin', $this->testCase);
169 $this->testCase = gtCodeSnippet::append('skipif64b', $this->testCase);
173 $this->testCase = gtCodeSnippet::append('skipifnot64b', $this->testCase);
177 if($this->optionalSections->hasSkipifExt()) {
178 $ext = $this->optionalSections->getSkipifExt();
179 …$this->testCase[] = "if (!extension_loaded('$ext')) die ('skip $ext extension not available in thi…
181 $this->testCase[] = "?>";
190 $this->testCase[] = "--INI--";
191 $this->testCase[] = "";
200 $this->testCase[] = "--CLEAN--";
201 $this->testCase[] = "<?php";
202 $this->testCase[] = "?>";
211 $this->testCase[] = "===DONE===";
220 $this->testCase[] = "--EXPECTF--";
221 if ($this->optionalSections->hasDone() ){
222 $this->testCase[] = '===DONE===';
227 return $this->optionalSections;