Removing PHPUnit::execute Coverage Tags
This commit is contained in:
parent
f713d3ee0d
commit
36cb6a020d
7 changed files with 0 additions and 127 deletions
|
|
@ -166,9 +166,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testReturnsFalseWithoutArgs()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions();
|
||||
|
|
@ -181,9 +178,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals($expectedReturn, $returnValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testBuildsBasicEmails()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(['addresses' => ['test-receiver@example.com']], Build::STATUS_SUCCESS);
|
||||
|
|
@ -193,9 +187,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('test-receiver@example.com', $this->message['to']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testBuildsDefaultEmails()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(['default_mailto_address' => 'default-mailto-address@example.com'], Build::STATUS_SUCCESS);
|
||||
|
|
@ -205,9 +196,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('default-mailto-address@example.com', $this->message['to']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testExecute_UniqueRecipientsFromWithCommitter()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(['addresses' => ['test-receiver@example.com', 'test-receiver2@example.com']]);
|
||||
|
|
@ -221,9 +209,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('test-receiver2@example.com', $this->message['to']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testExecute_UniqueRecipientsWithCommitter()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions([
|
||||
|
|
@ -238,9 +223,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('committer@test.com', $this->message['to']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testCcDefaultEmails()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -267,9 +249,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testBuildsCommitterEmails()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -284,9 +263,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('committer-email@example.com', $this->message['to']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testMailSuccessfulBuildHaveProjectName()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -302,9 +278,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('Test-Project', $this->message['body']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testMailFailingBuildHaveProjectName()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -320,9 +293,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('Test-Project', $this->message['body']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testMailSuccessfulBuildHaveStatus()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -338,9 +308,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('successful', $this->message['body']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testMailFailingBuildHaveStatus()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -356,9 +323,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertContains('failed', $this->message['body']);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testMailDeliverySuccess()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
@ -374,9 +338,6 @@ class EmailTest extends \PHPUnit_Framework_TestCase
|
|||
$this->assertEquals(true, $returnValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers PHPUnit::execute
|
||||
*/
|
||||
public function testMailDeliveryFail()
|
||||
{
|
||||
$this->loadEmailPluginWithOptions(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue