Home
last modified time | relevance | path

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

/PHP-Parser/test/PhpParser/
H A DCodeTestParser.php26 $tests = [];
30 $tests[] = [$mode, array_merge($chunk, [$lastPart])];
33 return [$name, $tests];
36 public function reconstructTest($name, array $tests) { argument
38 foreach ($tests as list($mode, $parts)) {
H A DCodeTestAbstract.php10 list($name, $tests) = $parser->parseTest($fileContents, $chunksPerTest);
17 foreach ($tests as $i => list($mode, $parts)) {
/PHP-Parser/test/PhpParser/Node/Scalar/
H A DStringTest.php61 $tests = [
73 $tests[] = [$test[0], '"' . $test[1] . '"'];
77 return $tests;
/PHP-Parser/tools/fuzzing/
H A DgenerateCorpus.php24 list($_name, $tests) = $testParser->parseTest($code, 2);
25 foreach ($tests as list($_modeLine, list($input, $_expected))) {
/PHP-Parser/test/
H A DupdateTests.php19 list($name, $tests) = $testParser->parseTest($code, 2);
21 foreach ($tests as list($modeLine, list($input, $expected))) {
/PHP-Parser/
H A DCONTRIBUTING.md20 * Add tests for the emulation in `Lexer\EmulativeTest`. You'll want to modify
27 5. Add tests both in `test/code/parser` and `test/code/prettyPrinter`.
H A DUPGRADE-3.0.md155 If node dumper results are used in tests, updates may be needed to account for this.
/PHP-Parser/test/code/parser/stmt/function/
H A DdefaultValues.test1 Default values (static scalar tests)
/PHP-Parser/.github/workflows/
H A Dmain.yml31 tests:

Completed in 7 milliseconds