TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest Class Reference
Inheritance diagram for TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Attributes

 $backupPackageManager = NULL
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\UnitTestCase
 $backupGlobalsBlacklist = array('TYPO3_LOADED_EXT')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

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

Detailed Description

Test case

Definition at line 22 of file ExtensionCompatibilityTesterTest.php.

Member Function Documentation

◆ deleteProtocolFileDeletesFile()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::deleteProtocolFileDeletesFile ( )

◆ executeActionCallsDeleteProtocolFileIfForceCheckIsSet()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::executeActionCallsDeleteProtocolFileIfForceCheckIsSet ( )

◆ executeActionCallsGetExtensionsToLoad()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::executeActionCallsGetExtensionsToLoad ( )

◆ executeActionCallsLoadExtensions()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::executeActionCallsLoadExtensions ( )

◆ executeActionReturnsStringOkIfAllIsWell()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::executeActionReturnsStringOkIfAllIsWell ( )

◆ getExtensionsToExcludeReturnsArray()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::getExtensionsToExcludeReturnsArray ( )

◆ getExtensionsToLoadGetsExtensionsWithoutExcluded()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::getExtensionsToLoadGetsExtensionsWithoutExcluded ( )

◆ loadExtLocalconfForExtensionIncludesExtLocalconfPhp()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::loadExtLocalconfForExtensionIncludesExtLocalconfPhp ( )

◆ removeCurrentExtensionFromFileRemovesGivenExtension()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::removeCurrentExtensionFromFileRemovesGivenExtension (   $extensionToRemove,
  $extensions,
  $expectedExtensions 
)
Test:
removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider

Definition at line 254 of file ExtensionCompatibilityTesterTest.php.

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

◆ removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider ( )

removeCurrentExtensionFromFileRemovesGivenExtensionDataProvider

Returns
array

Definition at line 230 of file ExtensionCompatibilityTesterTest.php.

◆ setUp()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::setUp ( )

Set up

Returns
void

Definition at line 34 of file ExtensionCompatibilityTesterTest.php.

◆ tearDown()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::tearDown ( )

Tear down

Returns
void

Definition at line 46 of file ExtensionCompatibilityTesterTest.php.

◆ tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtLocalconfForExtension()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtLocalconfForExtension ( )

◆ tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtTablesForExtension()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsLoadExtTablesForExtension ( )

◆ tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsWriteCurrentExtensionToFile()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::tryToLoadExtLocalconfAndExtTablesOfExtensionsCallsWriteCurrentExtensionToFile ( )

◆ writeCurrentExtensionToFileWritesExtensionKeyToFile()

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::writeCurrentExtensionToFileWritesExtensionKeyToFile ( )

Member Data Documentation

◆ $backupPackageManager

TYPO3\CMS\Install\Tests\Unit\Controller\Action\Ajax\ExtensionCompatibilityTesterTest::$backupPackageManager = NULL
protected

Definition at line 27 of file ExtensionCompatibilityTesterTest.php.