TYPO3  7.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
InstallUtilityTest Class Reference
Inheritance diagram for InstallUtilityTest:

Public Member Functions

 getExtensionData ()
 
 installCallsProcessRuntimeDatabaseUpdates ()
 
 installCallsLoadExtension ()
 
 installCallsFlushCachesIfClearCacheOnLoadIsSet ()
 
 installCallsFlushCachesIfClearCacheOnLoadCamelCasedIsSet ()
 
 installationOfAnExtensionWillCallEnsureThatDirectoriesExist ()
 
 installCallsReloadCaches ()
 
 installCallsSaveDefaultConfigurationWithExtensionKey ()
 
 uninstallCallsUnloadExtension ()
 
 processDatabaseUpdatesCallsUpdateDbWithExtTablesSql ()
 
 processDatabaseUpdatesCallsImportStaticSqlFile ()
 
 processDatabaseUpdatesCallsImportFileDataProvider ()
 
 processDatabaseUpdatesCallsImportFile ($fileName)
 
 importT3DFileDoesNotImportFileIfAlreadyImportedDataProvider ()
 
 importT3DFileDoesNotImportFileIfAlreadyImported ($fileName, $registryNameReturnsFalse, $registryNameReturnsTrue)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 createFakeExtension ()
 

Protected Attributes

 $extensionKey
 
 $extensionData = array()
 
 $fakedExtensions = array()
 
 $installMock
 

Detailed Description

Test case

Definition at line 20 of file InstallUtilityTest.php.

Member Function Documentation

createFakeExtension ( )
protected
getExtensionData ( )
Returns
array

Definition at line 87 of file InstallUtilityTest.php.

References InstallUtilityTest\$extensionData.

importT3DFileDoesNotImportFileIfAlreadyImported (   $fileName,
  $registryNameReturnsFalse,
  $registryNameReturnsTrue 
)
Parameters
string$fileName
string$registryNameReturnsFalse
string$registryNameReturnsTrue
Test:
importT3DFileDoesNotImportFileIfAlreadyImportedDataProvider

Definition at line 337 of file InstallUtilityTest.php.

References InstallUtilityTest\$installMock, and InstallUtilityTest\createFakeExtension().

importT3DFileDoesNotImportFileIfAlreadyImportedDataProvider ( )
Returns
array

Definition at line 303 of file InstallUtilityTest.php.

installationOfAnExtensionWillCallEnsureThatDirectoriesExist ( )
Test:

Definition at line 175 of file InstallUtilityTest.php.

installCallsFlushCachesIfClearCacheOnLoadCamelCasedIsSet ( )
Test:

Definition at line 163 of file InstallUtilityTest.php.

installCallsFlushCachesIfClearCacheOnLoadIsSet ( )
Test:

Definition at line 151 of file InstallUtilityTest.php.

installCallsLoadExtension ( )
Test:

Definition at line 139 of file InstallUtilityTest.php.

installCallsProcessRuntimeDatabaseUpdates ( )
Test:

Definition at line 124 of file InstallUtilityTest.php.

installCallsReloadCaches ( )
Test:

Definition at line 187 of file InstallUtilityTest.php.

installCallsSaveDefaultConfigurationWithExtensionKey ( )
Test:

Definition at line 199 of file InstallUtilityTest.php.

processDatabaseUpdatesCallsImportFile (   $fileName)
Parameters
string$fileName
Test:
processDatabaseUpdatesCallsImportFileDataProvider

Definition at line 281 of file InstallUtilityTest.php.

References InstallUtilityTest\$installMock, and InstallUtilityTest\createFakeExtension().

processDatabaseUpdatesCallsImportFileDataProvider ( )
Returns
array

Definition at line 264 of file InstallUtilityTest.php.

processDatabaseUpdatesCallsImportStaticSqlFile ( )
processDatabaseUpdatesCallsUpdateDbWithExtTablesSql ( )
setUp ( )
protected
Returns
void

Definition at line 45 of file InstallUtilityTest.php.

array List of created fake extensions to be deleted in tearDown ( )
protected
Returns
void

Definition at line 95 of file InstallUtilityTest.php.

uninstallCallsUnloadExtension ( )
Test:

Definition at line 211 of file InstallUtilityTest.php.

Member Data Documentation

$extensionData = array()
protected

Definition at line 30 of file InstallUtilityTest.php.

Referenced by InstallUtilityTest\getExtensionData().

$extensionKey
protected

Definition at line 25 of file InstallUtilityTest.php.

$fakedExtensions = array()
protected

Definition at line 35 of file InstallUtilityTest.php.

$installMock
protected