TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

 $mockFactory
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for

Definition at line 27 of file LockFactoryTest.php.

Member Function Documentation

◆ addLockingStrategyAddsTheClassNameToTheInternalArray()

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

Definition at line 45 of file LockFactoryTest.php.

◆ addLockingStrategyThrowsExceptionIfInterfaceIsNotImplemented()

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

Definition at line 56 of file LockFactoryTest.php.

◆ getLockerReturnsClassWithHighestPriority()

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

Definition at line 74 of file LockFactoryTest.php.

◆ getLockerReturnsExpectedClass()

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

◆ getLockerThrowsExceptionIfNoMatchFound()

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::getLockerThrowsExceptionIfNoMatchFound ( )
Test:

Definition at line 85 of file LockFactoryTest.php.

◆ setUp()

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

Set up the tests

Definition at line 37 of file LockFactoryTest.php.

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

Member Data Documentation

◆ $mockFactory

TYPO3\CMS\Core\Tests\Unit\Locking\LockFactoryTest::$mockFactory
protected

Definition at line 32 of file LockFactoryTest.php.