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

445.phpt (646B)


      1 --TEST--
      2 GH-455: expectOutputString not working in strict mode
      3 --FILE--
      4 <?php
      5 
      6 $_SERVER['argv'][1] = '--no-configuration';
      7 $_SERVER['argv'][2] = '--disallow-test-output';
      8 $_SERVER['argv'][3] = 'Issue445Test';
      9 $_SERVER['argv'][4] = dirname(__FILE__) . '/445/Issue445Test.php';
     10 
     11 require __DIR__ . '/../../bootstrap.php';
     12 PHPUnit_TextUI_Command::main();
     13 ?>
     14 --EXPECTF--
     15 PHPUnit %s by Sebastian Bergmann and contributors.
     16 
     17 ..F
     18 
     19 Time: %s, Memory: %sMb
     20 
     21 There was 1 failure:
     22 
     23 1) Issue445Test::testNotMatchingOutput
     24 Failed asserting that two strings are equal.
     25 --- Expected
     26 +++ Actual
     27 @@ @@
     28 -'foo'
     29 +'bar'
     30 
     31 FAILURES!
     32 Tests: 3, Assertions: 3, Failures: 1.