~ballot/wordpress/openstack-objectstorage-breaking-insight

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/TextUI/fatal.phpt

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
phpunit FatalTest ../_files/FatalTest.php
 
3
--FILE--
 
4
<?php
 
5
$_SERVER['argv'][1] = '--no-configuration';
 
6
$_SERVER['argv'][2] = 'FatalTest';
 
7
$_SERVER['argv'][3] = dirname(dirname(__FILE__)) . '/_files/FatalTest.php';
 
8
 
 
9
require __DIR__ . '/../bootstrap.php';
 
10
PHPUnit_TextUI_Command::main();
 
11
?>
 
12
--EXPECTF--
 
13
PHPUnit %s by Sebastian Bergmann.
 
14
 
 
15
 
 
16
Fatal error: Call to undefined function non_existing_function() in %s