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

Public Member Functions

 getExtensionsToLoadGetsExtensionsWithoutExcluded ()
 
 executeActionReturnsStringOkIfAllIsWell ()
 
 executeActionCallsGetExtensionsToLoad ()
 
 executeActionCallsLoadExtensions ()
 
 executeActionCallsDeleteProtocolFileIfForceCheckIsSet ()
 
 deleteProtocolFileDeletesFile ()
 
 tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtTablesForExtension ()
 
 tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtLocalconfForExtension ()
 
 loadExtLocalconfForExtensionIncludesExtLocalconfPhp ()
 
 tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsWriteCurrentExtensionToFile ()
 
 writeCurrentExtensionToFileWritesExtensionKeyToFile ()
 
 getExtensionsToExcludeReturnsArray ()
 
 removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider ()
 
 removeCurrentExtensionFromFileRemovesGivenExtension ($extensionToRemove, $extensions, $expectedExtensions)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
- 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

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

Detailed Description

Test case

Definition at line 24 of file ExtensionCompatibilityTesterTest.php.

Member Function Documentation

deleteProtocolFileDeletesFile ( )
executeActionCallsDeleteProtocolFileIfForceCheckIsSet ( )
executeActionCallsGetExtensionsToLoad ( )
executeActionCallsLoadExtensions ( )
executeActionReturnsStringOkIfAllIsWell ( )
getExtensionsToExcludeReturnsArray ( )
getExtensionsToLoadGetsExtensionsWithoutExcluded ( )
loadExtLocalconfForExtensionIncludesExtLocalconfPhp ( )
removeCurrentExtensionFromFileRemovesGivenExtension (   $extensionToRemove,
  $extensions,
  $expectedExtensions 
)
Test:
removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider

Definition at line 261 of file ExtensionCompatibilityTesterTest.php.

References BaseTestCase\getAccessibleMock(), and GeneralUtility\writeFile().

removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider ( )

removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider

Returns
array

Definition at line 236 of file ExtensionCompatibilityTesterTest.php.

setUp ( )
protected
tearDown ( )
protected
tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtLocalconfForExtension ( )
tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtTablesForExtension ( )
tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsWriteCurrentExtensionToFile ( )
writeCurrentExtensionToFileWritesExtensionKeyToFile ( )

Member Data Documentation

$backupPackageManager = null
protected

Definition at line 29 of file ExtensionCompatibilityTesterTest.php.