Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 969) sorted by relevance

12345678910>>...39

/PHP-8.0/ext/skeleton/
H A D.gitignore.in29 run-tests.php
30 tests/*/*.diff
31 tests/*/*.out
32 tests/*/*.php
33 tests/*/*.exp
34 tests/*/*.log
35 tests/*/*.sh
/PHP-8.0/ext/standard/tests/math/
H A Dnumber_format_basic.phpt18 echo "\n number_format tests.....default\n";
24 echo "\n number_format tests.....with two dp\n";
30 echo "\n number_format tests.....English format\n";
36 echo "\n number_format tests.....French format\n";
43 number_format tests.....default
57 number_format tests.....with two dp
71 number_format tests.....English format
85 number_format tests.....French format
H A Dnumber_format_multichar.phpt18 echo " number_format tests.....multiple character decimal point\n";
24 echo "\n number_format tests.....multiple character thousand separator\n";
30 echo "\n number_format tests.....multiple character decimal and thousep\n";
37 number_format tests.....multiple character decimal point
51 number_format tests.....multiple character thousand separator
65 number_format tests.....multiple character decimal and thousep
H A Dpow-operator.phpt2 Various pow() tests
9 $tests = <<<TESTS
18 include(__DIR__ . '/../../../../tests/quicktester.inc');
H A Dabs.phpt2 Simple math tests
11 $tests = <<<TESTS
21 include(__DIR__ . '/../../../../tests/quicktester.inc');
H A Dlog_basic.phpt20 echo "\n LOG tests...no base\n";
26 echo "\n LOG tests...base\n";
33 LOG tests...no base
47 LOG tests...base
/PHP-8.0/ext/imap/tests/
H A DREADME.md1 # The imap extension tests
3 Many of the tests in this directory require a mail server to be running, if
6 To make the tests run parameters in the `skipif.inc` and `imap_include.inc`
9 The tests have been checked using dovecot (on Linux 32 and 64 bit systems) and
10 hMailServer on Windows. The tests are intended to be mailserver agnostic.
12 ## Set-up tests on Ubuntu (checked on Ubuntu 18.04 (Bionic))
21 Then run the set-up script `ext/imap/tests/setup/setup.sh` which will add the `vmail`
23 `ext/imap/tests/setup/dovecot.conf` and `ext/imap/tests/setup/dovecotpass` to the correct
/PHP-8.0/ext/standard/tests/strings/
H A Dnumber_format_basic.phpt20 echo "\n-- number_format tests.....default --\n";
26 echo "\n-- number_format tests.....with two dp --\n";
32 echo "\n-- number_format tests.....English format --\n";
38 echo "\n-- number_format tests.....French format --\n";
47 -- number_format tests.....default --
61 -- number_format tests.....with two dp --
75 -- number_format tests.....English format --
89 -- number_format tests.....French format --
H A Dstrnatcmp_basic.phpt17 echo "Less than tests\n";
31 echo "Equal too tests\n";
35 echo "Greater than tests\n";
50 Less than tests
61 Equal too tests
64 Greater than tests
/PHP-8.0/ext/tokenizer/tests/
H A Dtoken_get_all_heredoc_nowdoc.phpt22 $tests = [];
24 $tests[1] = <<<'OUTER_END'
29 $tests[2] = <<<'OUTER_END'
34 $tests[3] = <<<'OUTER_END'
39 $tests[4] = <<<'OUTER_END'
44 $tests[5] = <<<'OUTER_END'
49 $tests[6] = <<<'OUTER_END'
54 $tests[7] = <<<'OUTER_END'
60 $tests[8] = <<<CODE
67 $tests[9] = <<<'OUTER_END'
[all …]
/PHP-8.0/ext/standard/tests/file/
H A Drealpath_variation-win32-mb.phpt15 $filename = "$name_prefix/realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられま…
16 mkdir("$name_prefix/realpath_variation_私はガラスを食べられます/home/tests/", 0777, true);
30 …alpath_variation_私はガラスを食べられます/../././realpath_variation_私はガラスを食べられます/home/tests/realpath_variation…
38 "$name_prefix////realpath_variation_私はガラスを食べられます/home/tests/realpath_variation_私はガラスを食べられます.tmp",
39 …"$name_prefix/./realpath_variation_私はガラスを食べられます/home/../home//tests//..//..//..//home//realpath_va…
69 unlink("$name_prefix/home/tests/realpath_variation_私はガラスを食べられます.tmp");
70 rmdir("$name_prefix/home/tests/");
78 string(%d) "%s\realpath_variation_私はガラスを食べられます\home\tests\realpath_variation_私はガラスを食べられます.tmp"
82 string(%d) "%s\realpath_variation_私はガラスを食べられます\home\tests\realpath_variation_私はガラスを食べられます.tmp"
H A Drealpath_variation-win32.phpt15 $filename = "$name_prefix/realpath_variation/home/tests/realpath_variation.tmp";
16 mkdir("$name_prefix/realpath_variation/home/tests/", 0777, true);
30 $obj1 = new object_temp("$name_prefix/realpath_variation/../././realpath_variation/home/tests/realp…
38 "$name_prefix////realpath_variation/home/tests/realpath_variation.tmp",
39 "$name_prefix/./realpath_variation/home/../home//tests//..//..//..//home//realpath_variation.tmp/"
69 unlink("$name_prefix/home/tests/realpath_variation.tmp");
70 rmdir("$name_prefix/home/tests/");
78 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
82 string(%d) "%s\realpath_variation\home\tests\realpath_variation.tmp"
H A Dreadlink_realpath_variation2.phpt14 mkdir("$name_prefix/readlink_realpath_variation2/home/tests/link/", 0777, true);
16 $filename = "$name_prefix/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2…
22 …"$name_prefix////readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tm…
23 …"$name_prefix/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realp…
57 unlink("$name_prefix/home/tests/link/readlink_realpath_variation2.tmp");
58 rmdir("$name_prefix/home/tests/link/");
59 rmdir("$name_prefix/home/tests/");
70 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
71 string(%d) "%s/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2.tmp"
80 Warning: unlink(%s/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_r…
[all …]
H A Dreadlink_realpath_variation1.phpt13 $filename = "$name_prefix/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1…
14 mkdir("$name_prefix/readlink_realpath_variation1/home/tests/link/", 0777, true);
62 unlink("$name_prefix/home/tests/link/readlink_realpath_variation1.tmp");
63 rmdir("$name_prefix/home/tests/link/");
64 rmdir("$name_prefix/home/tests/");
75 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
76 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
78 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
79 string(%d) "%s/readlink_realpath_variation1/home/tests/link/readlink_realpath_variation1.tmp"
H A Dreadlink_realpath_variation2-win32.phpt17 mkdir("$name_prefix/readlink_realpath_variation2/home/tests/link/", 0777, true);
19 $filename = "$name_prefix/readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2…
25 …"$name_prefix////readlink_realpath_variation2/home/tests/link/readlink_realpath_variation2_link.tm…
26 …"$name_prefix/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_realp…
60 unlink("$name_prefix/home/tests/link/readlink_realpath_variation2.tmp");
61 rmdir("$name_prefix/home/tests/link/");
62 rmdir("$name_prefix/home/tests/");
83 Warning: unlink(%s/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_r…
97 Warning: unlink(%s/./readlink_realpath_variation2/home/../home//tests//..//..//..//home//readlink_r…
/PHP-8.0/ext/soap/tests/soap12/
H A DT38_1.phpt11 <test:Unknown xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:Unknown>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
26 …http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-tests"><env:Header><ns1:…
H A DT38_2.phpt11 <test:echoOk xmlns:test="http://example.org/ts-tests"
13 env:role="http://example.org/ts-tests/C">foo</test:echoOk>
14 <test:echoOk xmlns:test="http://example.org/ts-tests"
16 env:role="http://example.org/ts-tests/C">bar</test:echoOk>
26 …http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://example.org/ts-tests"><env:Header><ns1:…
/PHP-8.0/ext/snmp/tests/
H A DREADME.md1 # The snmp extension tests
3 To enable these tests, you must have:
18 SNMP_COMMUNITY_WRITE : community used for write tests (snmpset()).
26 make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`"
29 Running `run-tests.php` directly will clear your environment and therefore tests
44 SNMPv3 tests.
46 * Place `ext/snmp/tests/bigtest` near `snmpd.conf`, tune path to it in
/PHP-8.0/tests/
H A Dquicktester.inc3 Helper for simple tests to check return-value. Usage:
5 $tests = <<<TESTS
11 include( 'tests/quicktester.inc' );
19 $tests = explode("\n",$tests);
21 foreach ($tests as $n=>$test)
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_decrypt_basic.phpt2 openssl_decrypt() tests dependent on openssl_encrypt
7 $data = "openssl_encrypt() and openssl_decrypt() tests";
39 string(45) "openssl_encrypt() and openssl_decrypt() tests"
40 string(45) "openssl_encrypt() and openssl_decrypt() tests"
41 string(45) "openssl_encrypt() and openssl_decrypt() tests"
42 string(45) "openssl_encrypt() and openssl_decrypt() tests"
/PHP-8.0/ext/pdo_oci/tests/
H A Dbug41996.phpt6 require __DIR__.'/../../pdo/tests/pdo_test.inc';
11 require 'ext/pdo/tests/pdo_test.inc';
12 $db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
H A Dbug_33707.phpt6 require __DIR__.'/../../pdo/tests/pdo_test.inc';
11 require 'ext/pdo/tests/pdo_test.inc';
12 $db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
/PHP-8.0/ext/date/tests/
H A DDateTime_compare_basic1.phpt27 echo "\n-- All the following tests should compare equal --\n";
39 echo "\n-- All the following tests should now compare NOT equal --\n";
44 echo "\n-- All the following tests should again compare equal --\n";
55 -- All the following tests should compare equal --
67 -- All the following tests should now compare NOT equal --
72 -- All the following tests should again compare equal --
/PHP-8.0/.github/actions/setup-x64/
H A Daction.yml13 # Ensure local_infile tests can run.
22 sudo cp ext/snmp/tests/snmpd.conf /etc/snmp
23 sudo cp ext/snmp/tests/bigtest /etc/snmp
28 sudo cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf
29 sudo cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass
/PHP-8.0/ext/mysqli/tests/
H A DREADME.md1 # The mysqli extension tests
3 To run the tests, a test database must be created in the MySQL command-line:
8 …when testing is complete. Creating a dedicated table prior to running the tests is unnecessary. Th…
39 The MySQL user used to run the tests must have full permissions on the test database.

Completed in 29 milliseconds

12345678910>>...39