Home
last modified time | relevance | path

Searched refs:expect (Results 1 – 25 of 54) sorted by relevance

123

/PHP-7.4/sapi/cli/tests/
H A Dbug64529.phpt11 exec('which expect', $output, $ret);
13 die("skip no expect installed");
18 $expect_executable = trim(`which expect`);
20 $script = __DIR__ . "/expect.sh";
29 expect "php >"
34 expect eof
47 expect "Interactive mode enabled"
52 expect eof
/PHP-7.4/ext/pgsql/tests/
H A D08escape.phpt13 $expect = "ABC\\\\ABC\\'";
23 var_dump($expect);
28 $expect = "ABC\\\\\\\\ABC";
30 if ($expect === $after) {
37 var_dump($expect);
73 $expect = " E'ABC\\\\ABC\\\\'''";
75 if ($expect === $after) {
82 var_dump($expect);
86 $expect = "\"ABC\ABC\'\"";
88 if ($expect === $after) {
[all …]
/PHP-7.4/tests/lang/
H A Dengine_assignExecutionOrder_002.phpt30 // expect 30,30
46 // list of lists with just variable assignments - expect 100,200,300
53 // expect $x and $y to be null - this fails on php.net 5.2.1 (invalid opcode) - fixed in 5.2.3
58 // list of lists with blanks and nulls expect 10 20 40 50 60 70 80
68 // expect y and z to be undefined
72 // expect h to be defined and be 10
76 // expect cc and dd to be 10 and 30
80 // expect the inner array to be defined
/PHP-7.4/ext/pdo_mysql/tests/
H A Dpdo_mysql_fetch_both.phpt15 function fetch($offset, &$db, $query, $expect = null) {
34 if (!is_null($expect) && ($expect != $both)) {
36 var_dump($expect);
/PHP-7.4/ext/pdo_odbc/tests/
H A Dmax_columns.phpt34 $expect = str_repeat('i', $row[0]);
35 if (strcmp($expect, $row[1])) {
37 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data']));
38 echo bin2hex($expect) . "\n";
H A Dlong_columns.phpt81 $expect = alpha_repeat($row[0]);
82 if (strcmp($expect, $row[1])) {
84 printf("Expected %d bytes, got %d\n", strlen($expect), strlen($row['data']));
85 echo ($expect) . "\n";
/PHP-7.4/ext/standard/tests/general_functions/
H A D003.phpt6 function test_me($title,$expect,$text1,$text2,$cost1=0,$cost2=0,$cost3=0) {
13 if($result==$expect) return 0;
15 echo "$title: result is $result instead of $expect ";
/PHP-7.4/ext/pdo_dblib/tests/
H A Dtimeout.phpt28 // expect some kind of error code
41 // expect some kind of error code
53 // expect some kind of error code
65 // expect some kind of error code
H A Dbug_69757.phpt21 die('expect TRUE on nextRowset');
25 die('expect FALSE on nextRowset');
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug62593.phpt50 $expect = 'No errors found';
56 $expect = 'Invalid boolean found';
59 echo $expect;
/PHP-7.4/ext/zip/tests/
H A Dbug7658.phpt9 $expect = array(
46 $ar = array_diff($found, $expect);
H A Dbug70322.phpt24 // we don't expect the archive to be created, but clean up just in case...
/PHP-7.4/ext/standard/tests/file/
H A Dlstat_stat_basic.phpt61 var_dump( compare_self_stat($file_stat) ); //expect true
62 var_dump( compare_self_stat($dir_stat) ); //expect true
63 var_dump( compare_self_stat($link_stat) ); // expect true
66 var_dump( compare_self_stat($new_file_stat) ); //expect true
67 var_dump( compare_self_stat($new_dir_stat) ); // expect true
74 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
77 var_dump( compare_stats($file_stat, $new_file_stat, $all_stat_keys, "==", true) ); // expect true
H A Dstat_basic-win32-mb.phpt47 var_dump( compare_self_stat($file_stat) ); //expect true
48 var_dump( compare_self_stat($dir_stat) ); //expect true
51 var_dump( compare_self_stat($new_dir_stat) ); // expect true
58 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
H A Dstat_basic-win32.phpt47 var_dump( compare_self_stat($file_stat) ); //expect true
48 var_dump( compare_self_stat($dir_stat) ); //expect true
51 var_dump( compare_self_stat($new_dir_stat) ); // expect true
58 var_dump( compare_stats($dir_stat, $new_dir_stat, $affected_elements, '!=', true) ); // expect true
/PHP-7.4/ext/standard/tests/strings/
H A Dlevenshtein.phpt6 function test_me($title,$expect,$text1,$text2,$cost1="",$cost2="",$cost3="") {
17 if($result==$expect) return 0;
19 echo "$title: result is $result instead of $expect ";
H A Dstrncasecmp_variation7.phpt14 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
H A Dstrncmp_variation7.phpt14 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
/PHP-7.4/tests/classes/
H A Dobject_reference_001.phpt19 // In ZE1, we would expect "I'm Foo!"
/PHP-7.4/ext/filter/tests/
H A D034.phpt27 echo "$val failed,'$exp' expect, '$res' received.\n";
/PHP-7.4/ext/dom/tests/
H A DDOMDocument_relaxNGValidate_error1.phpt25 Warning: DOMDocument::relaxNGValidate(): Did not expect element pear there in %s on line %d
H A DDOMDocument_relaxNGValidateSource_error1.phpt40 Warning: DOMDocument::relaxNGValidateSource(): Did not expect element pear there in %s on line %d
/PHP-7.4/Zend/tests/
H A Dbug78406.phpt38 include $uri; // We expect one more "feature" output at line 3
/PHP-7.4/ext/com_dotnet/tests/
H A Dbug49192.phpt18 // get an accurate test run. its better to just not run the test or expect it to fail.
/PHP-7.4/ext/openssl/tests/
H A Dopenssl_pkey_export_basic.phpt33 // The details are the same for a public or private key, expect the private key parameter 'd

Completed in 31 milliseconds

123