"Fossies" - the Fresh Open Source Software Archive

Member "advanced/vendor/phpunit/phpunit/tests/end-to-end/regression/GitHub/2448-existing-test.phpt" (19 Nov 2019, 488 Bytes) of package /linux/www/yii-advanced-app-2.0.30.tgz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 --TEST--
    2 #2448: Weird error when trying to run `Test` from `Test.php` but `Test.php` does not exist
    3 --FILE--
    4 <?php
    5 $_SERVER['argv'][1] = '--no-configuration';
    6 $_SERVER['argv'][2] = 'Test';
    7 
    8 chdir(__DIR__.'/2448');
    9 
   10 require __DIR__ . '/../../../bootstrap.php';
   11 PHPUnit\TextUI\Command::main();
   12 ?>
   13 --EXPECTF--
   14 PHPUnit %s by Sebastian Bergmann and contributors.
   15 
   16 .                                                                   1 / 1 (100%)
   17 
   18 Time: %s, Memory: %s
   19 
   20 OK (1 test, 1 assertion)