Update to Drupal 8.0.0 beta 14. For more information, see https://drupal.org/node/2544542

This commit is contained in:
Pantheon Automation 2015-08-27 12:03:05 -07:00 committed by Greg Anderson
parent 3b2511d96d
commit 81ccda77eb
2155 changed files with 54307 additions and 46870 deletions

View file

@ -0,0 +1,11 @@
<?php
class CoverageFunctionParenthesesWhitespaceTest extends PHPUnit_Framework_TestCase
{
/**
* @covers ::globalFunction ( )
*/
public function testSomething()
{
globalFunction();
}
}

View file

@ -0,0 +1,11 @@
<?php
class CoverageMethodOneLineAnnotationTest extends PHPUnit_Framework_TestCase
{
/** @covers CoveredClass::publicMethod */
public function testSomething()
{
$o = new CoveredClass;
$o->publicMethod();
}
}

View file

@ -0,0 +1,12 @@
<?php
class CoverageMethodParenthesesWhitespaceTest extends PHPUnit_Framework_TestCase
{
/**
* @covers CoveredClass::publicMethod ( )
*/
public function testSomething()
{
$o = new CoveredClass;
$o->publicMethod();
}
}

View 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();
}
}

View 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();
}
}

View 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;
}
}

View 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;
}
}