TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
TemplateServiceTest Class Reference
Inheritance diagram for TemplateServiceTest:
UnitTestCase BaseTestCase

Public Member Functions

 tearDown ()
 
 versionOlCallsVersionOlOfPageSelectClassWithGivenRow ()
 
 extensionStaticFilesAreNotProcessedIfNotExplicitlyRequested ()
 
 extensionStaticsAreProcessedIfExplicitlyRequested ()
 
 updateRootlineDataOverwritesOwnArrayData ()
 
 updateRootlineDataWithInvalidNewRootlineThrowsException ()
 
 getFileNameReturnsUrlCorrectly ()
 
 getFileNameReturnsFileCorrectly ()
 
 getFileNameReturnsNullIfDirectory ()
 
 getFileNameReturnsNullWithInvalidFileName ()
 
 splitConfDataProvider ()
 
 splitConfArraytest ($configuration, $splitCount, $expected)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 tearDown ()
 
- Protected Member Functions inherited from 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,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $templateService
 
 $templateServiceMock
 
 $backupPackageManager
 
- Protected Attributes inherited from UnitTestCase
 $backupGlobalsBlacklist = ['TYPO3_LOADED_EXT']
 
 $testFilesToDelete = []
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Testcase for

Definition at line 28 of file TemplateServiceTest.php.

Member Function Documentation

extensionStaticFilesAreNotProcessedIfNotExplicitlyRequested ( )
getFileNameReturnsFileCorrectly ( )
Test:

Definition at line 206 of file TemplateServiceTest.php.

getFileNameReturnsNullIfDirectory ( )
Test:

Definition at line 214 of file TemplateServiceTest.php.

getFileNameReturnsNullWithInvalidFileName ( )
Test:

Definition at line 222 of file TemplateServiceTest.php.

getFileNameReturnsUrlCorrectly ( )
Test:

Definition at line 197 of file TemplateServiceTest.php.

splitConfArraytest (   $configuration,
  $splitCount,
  $expected 
)
splitConfDataProvider ( )

Definition at line 228 of file TemplateServiceTest.php.

tearDown ( )

Tear down

Definition at line 61 of file TemplateServiceTest.php.

References ExtensionManagementUtility\setPackageManager().

updateRootlineDataOverwritesOwnArrayData ( )
Test:

Definition at line 149 of file TemplateServiceTest.php.

updateRootlineDataWithInvalidNewRootlineThrowsException ( )
Test:

Definition at line 175 of file TemplateServiceTest.php.

versionOlCallsVersionOlOfPageSelectClassWithGivenRow ( )
Test:

Definition at line 70 of file TemplateServiceTest.php.

References $GLOBALS.

Member Data Documentation

$backupPackageManager
protected

Definition at line 43 of file TemplateServiceTest.php.

$templateService
protected

Definition at line 33 of file TemplateServiceTest.php.

$templateServiceMock
protected

Definition at line 38 of file TemplateServiceTest.php.