Searched refs:this (Results 1 - 25 of 117) sorted by relevance

12345

/PHP_5_3/ext/phar/tests/files/
H A Dpear2coverage.phar.php26 $this->view = $view;
27 $view->setController($this);
28 $this->rooturl = $rooturl;
36 $this->sqlite = new \Sqlite3($_POST['setdatabase']);
38 return $this->view->TOC($this->sqlite);
41 return $this->getDatabase();
43 $this->sqlite = new \Sqlite3($_POST['setdatabase']);
46 return $this->view->testTOC($this
[all...]
/PHP_5_3/ext/phar/tests/tar/files/
H A Dmake_invalid_tar.php.inc6 fwrite($this->tmp, (binary)'oopsie');
7 fclose($this->tmp);
/PHP_5_3/ext/phar/tests/zip/files/
H A Dmake_invalid_tar.php.inc7 $fp = fopen($this->path, 'r+b');
/PHP_5_3/ext/reflection/tests/
H A Dexception.inc4 $this->errno = $_errno;
5 $this->errmsg = $_errmsg;
9 return $this->errno;
13 return $this->errmsg;
/PHP_5_3/ext/soap/interop/
H A Dclient_round2_interop.php9 // | that is bundled with this package in the file LICENSE, and is |
46 var $specificEndpoint = ''; // test only this endpoint
47 var $testMethod = ''; // test only this method
50 var $startAt = ''; // start in list at this endpoint
66 $this->DSN = $interopConfig['DSN'];
67 $this->baseURL = $interopConfig['baseURL'];
68 //$this->baseURL = 'http://'.$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF']);
70 $this->dbc = DB::connect($this->DSN, true);
72 if (DB::isError($this
[all...]
/PHP_5_3/ext/spl/internal/
H A Dcachingiterator.inc25 * already changed iterator. If you do not need this then it you should
26 * omit this flag because it costs unneccessary work and time.
54 $this->it = $it;
55 $this->flags = $flags & (0x0000FFFF);
56 $this->next();
63 $this->it->rewind();
64 $this->next();
71 if ($this->valid = $this->it->valid()) {
72 $this
[all...]
H A Dlimititerator.inc45 $this->it = $it;
46 $this->offset = $offset;
47 $this->count = $count;
48 $this->pos = 0;
57 if ($position < $this->offset) {
58 throw new exception('Cannot seek to '.$position.' which is below offset '.$this->offset);
60 if ($position > $this->offset + $this->count && $this->count != -1) {
61 throw new exception('Cannot seek to '.$position.' which is behind offset '.$this
[all...]
H A Dsplfileobject.inc44 $this->fp = fopen($file_name, $open_mode, $use_include_path, $context);
45 if (!$this->fp)
49 $this->fname = $file_name;
57 return eof($this->fp);
65 $this->freeLine();
66 $this->lnum++;
67 $buf = fgets($this->fp, $this->max_len);
79 $this->freeLine();
80 $this
[all...]
/PHP_5_3/scripts/dev/generate-phpt/src/
H A DgtFunction.php17 $this->functionName = $functionName;
26 $function= new ReflectionFunction($this->functionName);
30 $this->optionalArgumentNames[] = $param->getName();
32 $this->mandatoryArgumentNames[] = $param->getName();
44 return $this->functionName;
H A DgtMethod.php23 $this->className = $className;
24 $this->methodName = $methodName;
33 $reflectionClass = new ReflectionClass($this->className);
37 $this->constructorArgumentNames[] = $param->getName();
49 $methodClass = new reflectionMethod($this->className, $this->methodName);
54 $this->optionalArgumentNames[] = $param->getName();
56 $this->mandatoryArgumentNames[] = $param->getName();
69 return $this->constructorArgumentNames;
78 return $this
[all...]
H A DgtTestSubject.php22 return $this->mandatoryArgumentNames;
32 return $this->optionalArgumentNames;
36 $this->setValidArgumentLists();
37 $this->setExtraArgumentList();
38 $this->setShortArgumentList();
46 if(count ($this->mandatoryArgumentNames) > 0) {
47 for( $i = 0; $i < count( $this->mandatoryArgumentNames ); $i++) {
48 $this->extraArgumentList .= "\$".$this->mandatoryArgumentNames[$i].", ";
52 if(count ($this
[all...]
/PHP_5_3/scripts/dev/generate-phpt/src/setup/
H A DgtOptionalSections.php21 if(array_key_exists($option, $this->optSections )) {
22 $this->optSections[$option] = true;
29 $this->skipifKey = $commandLineOptions->getOption('k');
33 $this->skipifExt = $commandLineOptions->getOption('x');
42 return $this->optSections;
47 return $this->skipifKey;
51 return $this->skipifExt;
55 return $this->optSections['skipif'];
59 if($this->skipifKey != '') {
66 if($this
[all...]
/PHP_5_3/scripts/dev/generate-phpt/src/testcase/
H A DgtBasicTestCase.php28 $this->argInit();
29 $this->subjectCalls();
33 $this->testCase[] = "echo \"*** Test by calling method or function with its expected arguments ***\\n\";";
34 $this->testCase = gtCodeSnippet::appendBlankLines(1, $this->testCase );
H A DgtBasicTestCaseFunction.php11 $this->optionalSections = $opt;
20 $this->subject = $function;
24 $this->constructCommonHeaders();
26 $this->addBasicEcho();
28 $this->constructSubjectCalls();
30 $this->constructCommonClosing();
41 $this->testCase[] = "--TEST--";
42 $this->testCase[] = "Test function ".$this->subject->getName()."() by calling it with its expected arguments";
51 $lists = $this
[all...]
H A DgtBasicTestCaseMethod.php9 $this->optionalSections = $opt;
18 $this->subject = $method;
22 $this->constructCommonHeaders();
24 $this->addBasicEcho();
26 $this->constructorArgInit();
27 $this->constructorCreateInstance();
29 $this->constructSubjectCalls();
31 $this->constructCommonClosing();
36 $this->testCase[] = "--TEST--";
37 $this
[all...]
H A DgtErrorTestCase.php31 return $this->shortArgumentList;
35 return $this->longArgumentList;
39 $this->argInit();
42 $this->testCase[] = "\$extra_arg = ";
44 $this->subjectCalls();
48 $this->testCase[] = "echo \"*** Test by calling method or function with incorrect numbers of arguments ***\\n\";";
49 $this->testCase = gtCodeSnippet::appendBlankLines(1, $this->testCase );
H A DgtErrorTestCaseFunction.php10 $this->optionalSections = $opt;
19 $this->subject = $function;
28 $this->constructCommonHeaders();
30 $this->addErrorEcho();
32 $this->constructSubjectCalls();
34 $this->constructCommonClosing();
40 $this->testCase[] = "--TEST--";
41 $this->testCase[] = "Test function ".$this->subject->getName()."() by calling it more than or less than its expected arguments";
46 $list = $this
[all...]
H A DgtErrorTestCaseMethod.php10 $this->optionalSections = $opt;
20 $this->subject = $method;
29 $this->constructCommonHeaders();
31 $this->addErrorEcho();
33 $this->constructorArgInit();
34 $this->constructorCreateInstance();
36 $this->constructSubjectCalls();
38 $this->constructCommonClosing();
42 $this->testCase[] = "--TEST--";
43 $this
[all...]
H A DgtTestCase.php40 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
[all...]
H A DgtVariationContainerFunction.php12 $this->optionalSections = $osl;
21 $this->function = $function;
26 * Constucts all possible variation testcases in array $this->variationTests
32 $numberOfArguments = count($this->function->getMandatoryArgumentNames()) + count($this->function->getOptionalArgumentNames());
34 foreach ($this->dataTypes as $d) {
35 $testCase = gtVariationTestCase::getInstance($this->optionalSections);
36 $testCase->setUp($this->function, $i, $d);
38 $this->variationTests[] = $testCase->toString();
H A DgtVariationContainerMethod.php11 $this->optionalSections = $osl;
21 $this->method = $method;
31 $numberOfArguments = count($this->method->getMandatoryArgumentNames()) + count($this->method->getOptionalArgumentNames());
35 foreach ($this->dataTypes as $d) {
37 $testCase = gtVariationTestCase::getInstance($this->optionalSections, 'method');
38 $testCase->setUp($this->method, $i, $d);
40 $this->variationTests[] = $testCase->toString();
H A DgtVariationTestCase.php29 $statements = $this->subject->getInitialisationStatements();
31 if($i != ( $this->argumentNumber -1) ) {
32 $this->testCase[] = $statements[$i];
35 $this->testCase = gtCodeSnippet::appendBlankLines(2, $this->testCase );
39 $this->testCase = gtCodeSnippet::append($this->variationData, $this->testCase);
40 $this->testCase = gtCodeSnippet::appendBlankLines(2, $this
[all...]
H A DgtVariationTestCaseFunction.php13 $this->optionalSections = $opt;
23 $this->subject = $function;
24 $this->argumentNumber = $argumentNumber;
25 $this->variationData = $variationData;
35 $this->constructCommonHeaders();
37 $this->addVariationEcho();
39 $this->constructSubjectCalls();
41 $this->constructCommonClosing();
45 $this->testCase[] = "--TEST--";
46 $this
[all...]
H A DgtVariationTestCaseMethod.php14 $this->optionalSections = $opt;
25 $this->subject = $method;
26 $this->argumentNumber = $argumentNumber;
27 $this->variationData = $variationData;
36 $this->constructCommonHeaders();
38 $this->addVariationEcho();
40 $this->constructorArgInit();
41 $this->constructorCreateInstance();
43 $this->constructSubjectcalls();
44 $this
[all...]
/PHP_5_3/
H A Dserver-tests.php9 | that is bundled with this package in the file LICENSE, and is |
47 | enabled. To enable this extension either compile your PHP |
76 | TEST_PHP_EXECUTABLE and running this script with PHP 5. |
164 return $this->response_headers['Status']=='200';
268 multipart stuff must be prepared before calling this
273 $this->urlparts = @parse_url($URL);
274 $this->url = $URL;
275 $this->options = $options;
276 $this->headers = $headers;
277 $this
[all...]

Completed in 43 milliseconds

12345