mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 08:16:13 +01:00

[CLEANUP] Drop the @test from the test methods

This commit is contained in:
Oliver Klee 2015-06-14 11:27:58 +02:00
parent 662026c630
commit 8073f83c8f
7 changed files with 0 additions and 28 deletions

View file

@ -54,7 +54,6 @@ class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function indexActionCanBeCalled() {
$this->subject->indexAction();
@ -62,7 +61,6 @@ class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function indexActionPassesAllTestimonialsAsTestimonialsToView() {
$allTestimonials = new ObjectStorage();

View file

@ -31,7 +31,6 @@ class AdditionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getTitleInitiallyReturnsEmptyString() {
self::assertSame(
@ -42,7 +41,6 @@ class AdditionTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setTitleSetsTitle() {
$this->subject->setTitle('foo bar');

View file

@ -31,7 +31,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getSizeInitiallyReturnsZero() {
self::assertSame(
@ -42,7 +41,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setSizeSetsSize() {
$this->subject->setSize(1234.56);
@ -55,7 +53,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getTypeInitiallyReturnsNull() {
self::assertNull(
@ -65,7 +62,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setTypeSetsType() {
$type = new \OliverKlee\Tea\Domain\Model\TeaType();
@ -79,7 +75,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getAdditionsInitiallyReturnsEmptyStorage() {
self::assertEquals(
@ -90,7 +85,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setAdditionsSetsAdditions() {
$items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
@ -104,7 +98,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function addAdditionAddsAddition() {
$items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
@ -120,7 +113,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function removeAdditionRemovesAddition() {
$items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
@ -137,7 +129,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getTestimonialsInitiallyReturnsEmptyStorage() {
self::assertEquals(
@ -148,7 +139,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setTestimonialsSetsTestimonials() {
$items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
@ -162,7 +152,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function addTestimonialAddsTestimonial() {
$items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
@ -178,7 +167,6 @@ class TeaBeverageTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function removeTestimonialRemovesTestimonial() {
$items = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();

View file

@ -31,7 +31,6 @@ class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getTitleInitiallyReturnsEmptyString() {
self::assertSame(
@ -42,7 +41,6 @@ class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setTitleSetsTitle() {
$this->subject->setTitle('foo bar');
@ -55,7 +53,6 @@ class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getCaffeinatedInitiallyReturnsFalse() {
self::assertSame(
@ -66,7 +63,6 @@ class TeaTypeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setCaffeinatedSetsCaffeinated() {
$this->subject->setCaffeinated(TRUE);

View file

@ -31,7 +31,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getDateOfPostingInitiallyReturnsNull() {
self::assertNull(
@ -41,7 +40,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setDateOfPostingSetsDateOfPosting() {
$date = new \DateTime();
@ -55,7 +53,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getNumberOfConsumedCupsInitiallyReturnsZero() {
self::assertSame(
@ -66,7 +63,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setNumberOfConsumedCupsSetsNumberOfConsumedCups() {
$this->subject->setNumberOfConsumedCups(123456);
@ -79,7 +75,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function getTextInitiallyReturnsEmptyString() {
self::assertSame(
@ -90,7 +85,6 @@ class TestimonialTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function setTextSetsText() {
$this->subject->setText('foo bar');

View file

@ -38,7 +38,6 @@ class TeaBeverageRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function canBeInstantiated() {
self::assertNotNull(

View file

@ -38,7 +38,6 @@ class TestimonialRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
* @return void
*/
public function canBeInstantiated() {
self::assertNotNull(