~canonical-sysadmins/wordpress/openstack-objectstorage-k8s

« back to all changes in this revision

Viewing changes to vendor/phpunit/phpunit/tests/Regression/GitHub/1472.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
GH-1472: assertEqualXMLStructure modifies the tested elements
 
3
--SKIPIF--
 
4
<?php
 
5
// See: https://github.com/facebook/hhvm/issues/4669
 
6
if (defined('HHVM_VERSION')) {
 
7
    print 'skip: HHVM does not support cloning DOM nodes';
 
8
}
 
9
?>
 
10
--FILE--
 
11
<?php
 
12
$_SERVER['argv'][1] = '--no-configuration';
 
13
$_SERVER['argv'][2] = 'Issue1472Test';
 
14
$_SERVER['argv'][3] = dirname(__FILE__) . '/1472/Issue1472Test.php';
 
15
 
 
16
require __DIR__ . '/../../bootstrap.php';
 
17
PHPUnit_TextUI_Command::main();
 
18
?>
 
19
--EXPECTF--
 
20
PHPUnit %s by Sebastian Bergmann.
 
21
 
 
22
.
 
23
 
 
24
Time: %s, Memory: %sMb
 
25
 
 
26
OK (1 test, 4 assertions)