‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest:

Public Member Functions

 addLockingStrategyAddsTheClassNameToTheInternalArray ()
 
 addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented ()
 
 getLockerReturnsExpectedClass ()
 
 getLockerReturnsClassWithHighestPriority ()
 
 setPriorityGetLockerReturnsClassWithHighestPriority ()
 
 getLockerThrowsExceptionIfNoMatchFound ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

LockFactory &MockObject &AccessibleObjectInterface $mockFactory
 
array $strategiesConfigBackup = array( )
 

Detailed Description

Testcase for \TYPO3\CMS\Core\Locking\LockFactory

Definition at line 35 of file LockFactoryTest.php.

Member Function Documentation

◆ addLockingStrategyAddsTheClassNameToTheInternalArray()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::addLockingStrategyAddsTheClassNameToTheInternalArray ( )

Definition at line 65 of file LockFactoryTest.php.

◆ addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented ( )

Definition at line 72 of file LockFactoryTest.php.

◆ getLockerReturnsClassWithHighestPriority()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::getLockerReturnsClassWithHighestPriority ( )

Definition at line 92 of file LockFactoryTest.php.

◆ getLockerReturnsExpectedClass()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::getLockerReturnsExpectedClass ( )

◆ getLockerThrowsExceptionIfNoMatchFound()

◆ setPriorityGetLockerReturnsClassWithHighestPriority()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::setPriorityGetLockerReturnsClassWithHighestPriority ( )

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::setUp ( )
protected

Definition at line 43 of file LockFactoryTest.php.

References $GLOBALS.

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::tearDown ( )
protected

Member Data Documentation

◆ $mockFactory

LockFactory& MockObject& AccessibleObjectInterface TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::$mockFactory
protected

Definition at line 37 of file LockFactoryTest.php.

◆ $strategiesConfigBackup

array TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::$strategiesConfigBackup = array( )
protected