Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542
This commit is contained in:
parent
3b2511d96d
commit
81ccda77eb
2155 changed files with 54307 additions and 46870 deletions
11
core/vendor/phpunit/php-code-coverage/tests/_files/CoverageFunctionParenthesesWhitespaceTest.php
vendored
Normal file
11
core/vendor/phpunit/php-code-coverage/tests/_files/CoverageFunctionParenthesesWhitespaceTest.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
class CoverageFunctionParenthesesWhitespaceTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers ::globalFunction ( )
|
||||
*/
|
||||
public function testSomething()
|
||||
{
|
||||
globalFunction();
|
||||
}
|
||||
}
|
11
core/vendor/phpunit/php-code-coverage/tests/_files/CoverageMethodOneLineAnnotationTest.php
vendored
Normal file
11
core/vendor/phpunit/php-code-coverage/tests/_files/CoverageMethodOneLineAnnotationTest.php
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
class CoverageMethodOneLineAnnotationTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/** @covers CoveredClass::publicMethod */
|
||||
public function testSomething()
|
||||
{
|
||||
$o = new CoveredClass;
|
||||
$o->publicMethod();
|
||||
}
|
||||
}
|
12
core/vendor/phpunit/php-code-coverage/tests/_files/CoverageMethodParenthesesWhitespaceTest.php
vendored
Normal file
12
core/vendor/phpunit/php-code-coverage/tests/_files/CoverageMethodParenthesesWhitespaceTest.php
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
class CoverageMethodParenthesesWhitespaceTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers CoveredClass::publicMethod ( )
|
||||
*/
|
||||
public function testSomething()
|
||||
{
|
||||
$o = new CoveredClass;
|
||||
$o->publicMethod();
|
||||
}
|
||||
}
|
15
core/vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassPublicTest.php
vendored
Normal file
15
core/vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassPublicTest.php
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
/**
|
||||
* @coversDefaultClass \Foo\CoveredClass
|
||||
*/
|
||||
class NamespaceCoverageCoversClassPublicTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers ::publicMethod
|
||||
*/
|
||||
public function testSomething()
|
||||
{
|
||||
$o = new Foo\CoveredClass;
|
||||
$o->publicMethod();
|
||||
}
|
||||
}
|
20
core/vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php
vendored
Normal file
20
core/vendor/phpunit/php-code-coverage/tests/_files/NamespaceCoverageCoversClassTest.php
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
/**
|
||||
* @coversDefaultClass \Foo\CoveredClass
|
||||
*/
|
||||
class NamespaceCoverageCoversClassTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @covers ::privateMethod
|
||||
* @covers ::protectedMethod
|
||||
* @covers ::publicMethod
|
||||
* @covers \Foo\CoveredParentClass::privateMethod
|
||||
* @covers \Foo\CoveredParentClass::protectedMethod
|
||||
* @covers \Foo\CoveredParentClass::publicMethod
|
||||
*/
|
||||
public function testSomething()
|
||||
{
|
||||
$o = new Foo\CoveredClass;
|
||||
$o->publicMethod();
|
||||
}
|
||||
}
|
35
core/vendor/phpunit/phpunit/tests/_files/ExceptionInSetUpTest.php
vendored
Normal file
35
core/vendor/phpunit/phpunit/tests/_files/ExceptionInSetUpTest.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
class ExceptionInSetUpTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public $setUp = false;
|
||||
public $assertPreConditions = false;
|
||||
public $assertPostConditions = false;
|
||||
public $tearDown = false;
|
||||
public $testSomething = false;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
$this->setUp = true;
|
||||
throw new Exception;
|
||||
}
|
||||
|
||||
protected function assertPreConditions()
|
||||
{
|
||||
$this->assertPreConditions = true;
|
||||
}
|
||||
|
||||
public function testSomething()
|
||||
{
|
||||
$this->testSomething = true;
|
||||
}
|
||||
|
||||
protected function assertPostConditions()
|
||||
{
|
||||
$this->assertPostConditions = true;
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
{
|
||||
$this->tearDown = true;
|
||||
}
|
||||
}
|
35
core/vendor/phpunit/phpunit/tests/_files/ExceptionInTest.php
vendored
Normal file
35
core/vendor/phpunit/phpunit/tests/_files/ExceptionInTest.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
class ExceptionInTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
public $setUp = false;
|
||||
public $assertPreConditions = false;
|
||||
public $assertPostConditions = false;
|
||||
public $tearDown = false;
|
||||
public $testSomething = false;
|
||||
|
||||
protected function setUp()
|
||||
{
|
||||
$this->setUp = true;
|
||||
}
|
||||
|
||||
protected function assertPreConditions()
|
||||
{
|
||||
$this->assertPreConditions = true;
|
||||
}
|
||||
|
||||
public function testSomething()
|
||||
{
|
||||
$this->testSomething = true;
|
||||
throw new Exception;
|
||||
}
|
||||
|
||||
protected function assertPostConditions()
|
||||
{
|
||||
$this->assertPostConditions = true;
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
{
|
||||
$this->tearDown = true;
|
||||
}
|
||||
}
|
Reference in a new issue