‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest:

Public Member Functions

 getConfiguredApps ($globalsBinSetup, $expected)
 
 unQuoteFilenameUnquotesCorrectly (string $source, array $expectedQuoted)
 
 getCommandWithPhpReturnsPathToPhpExecutable ()
 

Static Public Member Functions

static getConfiguredAppsDataProvider ()
 
static unQuoteFilenameUnquotesCorrectlyDataProvider ()
 

Detailed Description

Definition at line 25 of file CommandUtilityTest.php.

Member Function Documentation

◆ getCommandWithPhpReturnsPathToPhpExecutable()

TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest::getCommandWithPhpReturnsPathToPhpExecutable ( )

Test to ensure that, the error isn't happening Error: Typed static property TYPO3\CMS\Core\Utility\CommandUtility::$paths must not be accessed before initialization

Definition at line 210 of file CommandUtilityTest.php.

◆ getConfiguredApps()

TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest::getConfiguredApps (   $globalsBinSetup,
  $expected 
)
Parameters
array$globalsBinSetup
array$expected
Todo:
‪When specifying parameter types test bench errors occur

Definition at line 83 of file CommandUtilityTest.php.

References $GLOBALS.

◆ getConfiguredAppsDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest::getConfiguredAppsDataProvider ( )
static

Data provider for getConfiguredApps

Definition at line 30 of file CommandUtilityTest.php.

◆ unQuoteFilenameUnquotesCorrectly()

TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest::unQuoteFilenameUnquotesCorrectly ( string  $source,
array  $expectedQuoted 
)

Tests if the commands are exploded and unquoted correctly

Definition at line 197 of file CommandUtilityTest.php.

◆ unQuoteFilenameUnquotesCorrectlyDataProvider()

static TYPO3\CMS\Core\Tests\Unit\Utility\CommandUtilityTest::unQuoteFilenameUnquotesCorrectlyDataProvider ( )
static

Data provider unQuoteFilenameUnquotesCorrectly

Definition at line 94 of file CommandUtilityTest.php.