Searched defs:test (Results 1 - 15 of 15) sorted by relevance

/PHP_TRUNK/ext/phar/tests/files/
H A Dpear2coverage.phar.php44 if (isset($_GET['test'])) {
45 if ($_GET['test'] === 'TOC') {
49 return $this->view->fileCoverage($this->sqlite, $_GET['file'], $_GET['test']);
51 return $this->view->testTOC($this->sqlite, $_GET['test']);
63 function getFileLink($file, $test = null, $line = null)
68 if ($test) {
69 return $this->rooturl . '?file=' . urlencode($file) . '&test=' . $test;
74 function getTOCLink($test = false)
76 if ($test
605 $test = array_flip($xdebugs); variable
887 $test = array_flip($xdebugs); variable
[all...]
/PHP_TRUNK/win32/
H A Dfnmatch.c62 char c, test; local
107 while ((test = *string) != EOS) {
110 if (test == '/' && flags & FNM_PATHNAME)
153 rangematch(const char *pattern, char test, int flags) argument
169 test = tolower((unsigned char)test);
191 if ((unsigned char)c <= (unsigned char)test &&
192 (unsigned char)test <= (unsigned char)c2)
194 } else if (c == test)
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_log.c102 int token, test; local
119 test = 0;
121 test = 1;
126 if (!test) {
178 if (!test) {
182 if (!test) {
186 if (!test) {
195 if (!test) {
204 if (!test) {
210 if (!test) {
[all...]
/PHP_TRUNK/sapi/isapi/stresstest/
H A Dstresstest.cpp161 fprintf(stderr, "test %s\n",filename);
254 printf("No Files to test\n");
282 printf("No Files to test!\r\n");
298 // parse the test file
306 enum state {none, test, skipif, post, get, file, expect} parsestate = none; enumerator in enum:state
317 parsestate = test;
337 case test:
402 // got test file, parse it now
436 printf("No Files to test!\r\n");
475 " -d <directory> php directory (to run php test file
[all...]
/PHP_TRUNK/ext/soap/interop/
H A Dclient_round2_params.php58 // determine test type
176 $test = new SOAP_Test('echoString(utf-8)', array('inputString' => utf8_encode('ỗÈéóÒ₧⅜ỗỸ'))); variable
177 $test->encoding = 'UTF-8';
178 $soap_tests['base'][] = $test;
179 $test = new SOAP_Test('echoString(utf-8)', array('inputString' => soap_value('inputString',utf8_encode('ỗÈéóÒ₧⅜ỗỸ'),XSD_STRING))); variable
180 $test->encoding = 'UTF-8';
181 $soap_tests['base'][] = $test;
198 // empty array test
203 // null array test
264 $test variable
441 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=next)', NULL); variable
446 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=next)', NULL); variable
453 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=next)', NULL); variable
458 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=next)', NULL); variable
465 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=other)', NULL); variable
470 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=0 actor=other)', NULL); variable
477 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=other)', NULL); variable
482 $test = new SOAP_Test('echoVoid(echoMeStringRequest mustUnderstand=1 actor=other)', NULL); variable
490 $test = new SOAP_Test('echoVoid(echoMeStringRequest invalid namespace)', NULL); variable
496 $test = new SOAP_Test('echoVoid(echoMeStringRequest invalid namespace)', NULL); variable
507 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=next)', NULL); variable
514 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=next)', NULL); variable
524 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=next)', NULL); variable
531 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=next)', NULL); variable
541 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=other)', NULL); variable
547 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=0 actor=other)', NULL); variable
556 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=other)', NULL); variable
562 $test = new SOAP_Test('echoVoid(echoMeStructRequest mustUnderstand=1 actor=other)', NULL); variable
574 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=next)', NULL); variable
579 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=next)', NULL); variable
586 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=next)', NULL); variable
592 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=next)', NULL); variable
600 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=other)', NULL); variable
605 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=0 actor=other)', NULL); variable
612 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=other)', NULL); variable
617 $test = new SOAP_Test('echoVoid(echoMeUnknown mustUnderstand=1 actor=other)', NULL); variable
[all...]
H A Dclient_round2_interop.php23 require_once 'test.utility.php';
46 var $specificEndpoint = ''; // test only this endpoint
47 var $testMethod = ''; // test only this method
93 function _fetchEndpoints(&$soapclient, $test) {
94 $this->_getEndpoints($test, 1);
97 $endpointArray = $soapclient->__soapCall("GetEndpointInfo",array("groupName"=>$test),array('soapaction'=>"http://soapinterop.org/",'uri'=>"http://soapinterop.org/"));
108 if ($this->localEndpoint[$test]) {
109 array_push($endpointArray, $this->localEndpoint[$test]);
115 $res = $this->dbc->query("update endpoints set status = 0 where class='$test'");
125 $res = $this->dbc->query("insert into endpoints (endpointName,endpointURL,wsdlURL,class) values('{$v->endpointName}','{$v->endpointURL}','{$v->wsdlURL}','$test')");
151 $test = 'base'; variable
[all...]
/PHP_TRUNK/
H A Dserver-tests.php23 | (based on the PHP 3 test framework by Rasmus Lerdorf) |
46 | The test-suite requires that you have pcre extension |
54 | You are running the test-suite with "safe_mode" ENABLED ! |
56 | Chances are high that no test will work at all, |
68 | The test-suite requires that proc_open() is available. |
74 | The test-suite must be run with PHP 5 or later. |
75 | You can still test older extecutables by setting |
399 # a simple test case
408 * main test harness
422 'n' => array('NO_PHPTEST_SUMMARY' ,'' ,0 ,'do not print test summar
1612 $test = new testHarness(); variable
[all...]
/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php125 * Tests is the console programming API for the test suite
266 $test = sprintf('%s/%s', $path, $file); variable
268 if (preg_match('~\.test$~', $test)) {
269 yield new Test($this->config, $test);
276 * @param Test the test to log
278 public function logTest($path, Test $test) {
279 @$this->stats[$path][($result=$test->getResult())]++;
283 $test->name,
284 $test
[all...]
/PHP_TRUNK/ext/phar/
H A Dphar.c1247 phar_archive_data **test, *unused = NULL; local
1249 test = &unused;
1272 if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, is_data, options, test, &my_error TSRMLS_CC) == SUCCESS) {
1274 *pphar = *test;
1277 if ((*test)->is_data && !(*test)->is_tar && !(*test)->is_zip) {
1284 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)
1570 char *pos, test = '\\0'; local
1840 char test[51]; local
[all...]
H A Dstream.c642 char *test; local
652 test_len = spprintf(&test, MAXPATHLEN, "%s%s", entry->tmp, internal_file + keylen);
653 if (SUCCESS != php_stream_stat_path(test, &ssbi)) {
654 efree(test);
658 if (SUCCESS != phar_mount_entry(phar, test, test_len, internal_file, internal_file_len TSRMLS_CC)) {
659 efree(test);
662 efree(test);
H A Dutil.c255 char *path, *fname, *arch, *entry, *ret, *test; local
298 test = phar_fix_filepath(estrndup(filename, filename_len), &try_len, 1 TSRMLS_CC);
300 if (*test == '/') {
301 if (zend_hash_exists(&(phar->manifest), test + 1, try_len - 1)) {
302 spprintf(&ret, 0, "phar://%s%s", arch, test);
304 efree(test);
308 if (zend_hash_exists(&(phar->manifest), test, try_len)) {
309 spprintf(&ret, 0, "phar://%s/%s", arch, test);
311 efree(test);
315 efree(test);
1315 char *test; local
[all...]
H A Dphar_object.c1484 char *test = NULL; local
1495 test = spl_filesystem_object_get_path(intern, NULL TSRMLS_CC);
1496 fname_len = spprintf(&fname, 0, "%s%c%s", test, DEFAULT_SLASH, intern->u.dir.entry.d_name);
1505 test = expand_filepath(fname, NULL TSRMLS_CC);
1508 if (test) {
1509 fname = test;
3182 int test; local
3184 test = 1;
3185 zend_hash_apply_with_argument(manifest, phar_test_compression, &test TSRMLS_CC);
3186 return test;
[all...]
/PHP_TRUNK/ext/curl/tests/responder/
H A Dget.php2 $test = isset($_GET['test']) ? $_GET['test'] : null; variable
3 switch($test) {
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c257 int test = 0; local
288 test = sxe->iter.name != NULL;
292 test = 0;
309 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
320 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && !xmlStrcmp(attr->name, (xmlChar *)name) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
463 int test = 0; local
509 test = sxe->iter.name != NULL;
514 test = 0;
568 if ((!test || !xmlStrcmp(attr->name, sxe->iter.name)) && match_ns(sxe, (xmlNodePtr) attr, sxe->iter.nsprefix, sxe->iter.isprefix)) {
580 if ((!test || !xmlStrcm
742 int test = 0; local
873 int test = 0; local
1071 int test; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dtest.php21 function test($x, $y = 0) { function
40 foreach (test(1,2) as $gen)
82 $test = $obj->a; variable
85 $test -= 2;

Completed in 32 milliseconds