TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest Class Reference
Inheritance diagram for TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 addExtensionToQueueAddsExtensionToDownloadStorageArray ()
 
 addExtensionToQueueAddsExtensionToUpdateStorageArray ()
 
 addExtensionToQueueThrowsExceptionIfUnknownStackIsGiven ()
 
 removeExtensionFromQueueRemovesExtension ()
 

Protected Attributes

 $downloadQueueMock
 
 $extensionMock
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Download queue test

Definition at line 21 of file DownloadQueueTest.php.

Member Function Documentation

◆ addExtensionToQueueAddsExtensionToDownloadStorageArray()

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::addExtensionToQueueAddsExtensionToDownloadStorageArray ( )
Test:
Returns
void

Definition at line 48 of file DownloadQueueTest.php.

◆ addExtensionToQueueAddsExtensionToUpdateStorageArray()

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::addExtensionToQueueAddsExtensionToUpdateStorageArray ( )
Test:
Returns
void

Definition at line 59 of file DownloadQueueTest.php.

◆ addExtensionToQueueThrowsExceptionIfUnknownStackIsGiven()

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::addExtensionToQueueThrowsExceptionIfUnknownStackIsGiven ( )
Test:
1342432103

Definition at line 71 of file DownloadQueueTest.php.

◆ removeExtensionFromQueueRemovesExtension()

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::removeExtensionFromQueueRemovesExtension ( )
Test:
Returns
void

Definition at line 95 of file DownloadQueueTest.php.

References TYPO3\CMS\Core\Tests\BaseTestCase\getAccessibleMock().

◆ setUp()

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::setUp ( )
Returns
void

Definition at line 36 of file DownloadQueueTest.php.

References TYPO3\CMS\Core\Tests\BaseTestCase\getAccessibleMock().

Member Data Documentation

◆ $downloadQueueMock

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::$downloadQueueMock
protected

Definition at line 26 of file DownloadQueueTest.php.

◆ $extensionMock

TYPO3\CMS\Extensionmanager\Tests\Unit\Domain\Model\DownloadQueueTest::$extensionMock
protected

Definition at line 31 of file DownloadQueueTest.php.