gluon-web-remote

Web remote Administration for big size of gluon routers
git clone git://archive.git.mtrnord.blog/MTRNord/gluon-web-remote.git
Log | Files | Refs | README

74.phpt (692B)


      1 --TEST--
      2 GH-74: catchable fatal error in 3.5
      3 --FILE--
      4 <?php
      5 define('PHPUNIT_TESTSUITE', TRUE);
      6 
      7 $_SERVER['argv'][1] = '--no-configuration';
      8 $_SERVER['argv'][2] = '--process-isolation';
      9 $_SERVER['argv'][3] = 'Issue74Test';
     10 $_SERVER['argv'][4] = dirname(__FILE__).'/74/Issue74Test.php';
     11 
     12 require_once dirname(dirname(dirname(dirname(__FILE__)))) . '/PHPUnit/Autoload.php';
     13 PHPUnit_TextUI_Command::main();
     14 ?>
     15 --EXPECTF--
     16 PHPUnit %s by Sebastian Bergmann.
     17 
     18 E
     19 
     20 Time: %s, Memory: %sMb
     21 
     22 There was 1 error:
     23 
     24 1) Issue74Test::testCreateAndThrowNewExceptionInProcessIsolation
     25 NewException: Testing GH-74
     26 
     27 %s/Tests/Regression/GitHub/74/Issue74Test.php:7
     28 %s
     29 
     30 FAILURES!
     31 Tests: 1, Assertions: 0, Errors: 1.