mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 06: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 * @test
* @return void
*/ */
public function indexActionCanBeCalled() { public function indexActionCanBeCalled() {
$this->subject->indexAction(); $this->subject->indexAction();
@ -62,7 +61,6 @@ class TestimonialControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/** /**
* @test * @test
* @return void
*/ */
public function indexActionPassesAllTestimonialsAsTestimonialsToView() { public function indexActionPassesAllTestimonialsAsTestimonialsToView() {
$allTestimonials = new ObjectStorage(); $allTestimonials = new ObjectStorage();

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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