‪TYPO3CMS  9.5
TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest:

Public Member Functions

 splitHeaderLinesDataProvider ()
 
 splitHeaderLines (array $headers, array $expectedHeaders)
 
 unQuoteFilenamesUnquotesFileNamesDataProvider ()
 
 unQuoteFilenamesUnquotesFileNames ($source, $expectedQuoted, $expectedUnquoted)
 
array explodeUrl2ArrayDataProvider ()
 
 explodeUrl2ArrayTransformsParameterStringToNestedArray ($expected, $input)
 
 getSetWritesArrayToGetSystemVariable ()
 
 getSetWritesArrayToGlobalsHttpGetVars ()
 
 getSetForArrayDropsExistingValues ()
 
 getSetAssignsOneValueToOneKey ()
 
 getSetForOneValueDoesNotDropUnrelatedValues ()
 
 getSetCanAssignsAnArrayToASpecificArrayElement ()
 
 getSetCanAssignAStringValueToASpecificArrayChildElement ()
 
 getSetCanAssignAnArrayToASpecificArrayChildElement ()
 
 canSetNewGetInputValues ($input, $key, $expected, $getPreset=[])
 
array getSetDataProvider ()
 

Detailed Description

Testcase for the \TYPO3\CMS\Core\Utility\ClientUtility class.

Definition at line 28 of file GeneralUtilityTest.php.

Member Function Documentation

◆ canSetNewGetInputValues()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::canSetNewGetInputValues (   $input,
  $key,
  $expected,
  $getPreset = [] 
)
Test:
‪@dataProvider getSetDataProvider

Definition at line 377 of file GeneralUtilityTest.php.

◆ explodeUrl2ArrayDataProvider()

array TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::explodeUrl2ArrayDataProvider ( )

Data provider for explodeUrl2ArrayTransformsParameterStringToNestedArray

Returns
‪array

Definition at line 255 of file GeneralUtilityTest.php.

◆ explodeUrl2ArrayTransformsParameterStringToNestedArray()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::explodeUrl2ArrayTransformsParameterStringToNestedArray (   $expected,
  $input 
)
Test:
‪@dataProvider explodeUrl2ArrayDataProvider

Definition at line 269 of file GeneralUtilityTest.php.

◆ getSetAssignsOneValueToOneKey()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetAssignsOneValueToOneKey ( )
Test:

Definition at line 316 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetCanAssignAnArrayToASpecificArrayChildElement()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetCanAssignAnArrayToASpecificArrayChildElement ( )
Test:

Definition at line 361 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetCanAssignAStringValueToASpecificArrayChildElement()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetCanAssignAStringValueToASpecificArrayChildElement ( )
Test:

Definition at line 350 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetCanAssignsAnArrayToASpecificArrayElement()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetCanAssignsAnArrayToASpecificArrayElement ( )
Test:

Definition at line 339 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetDataProvider()

array TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetDataProvider ( )

Data provider for canSetNewGetInputValues

Returns
‪array

Definition at line 389 of file GeneralUtilityTest.php.

◆ getSetForArrayDropsExistingValues()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetForArrayDropsExistingValues ( )
Test:

Definition at line 304 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetForOneValueDoesNotDropUnrelatedValues()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetForOneValueDoesNotDropUnrelatedValues ( )
Test:

Definition at line 327 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetWritesArrayToGetSystemVariable()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetWritesArrayToGetSystemVariable ( )
Test:

Definition at line 280 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ getSetWritesArrayToGlobalsHttpGetVars()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::getSetWritesArrayToGlobalsHttpGetVars ( )
Test:

Definition at line 292 of file GeneralUtilityTest.php.

References $GLOBALS.

◆ splitHeaderLines()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::splitHeaderLines ( array  $headers,
array  $expectedHeaders 
)
Test:
‪@dataProvider splitHeaderLinesDataProvider
Parameters
array$headers
array$expectedHeaders

Definition at line 56 of file GeneralUtilityTest.php.

◆ splitHeaderLinesDataProvider()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::splitHeaderLinesDataProvider ( )

Definition at line 30 of file GeneralUtilityTest.php.

◆ unQuoteFilenamesUnquotesFileNames()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::unQuoteFilenamesUnquotesFileNames (   $source,
  $expectedQuoted,
  $expectedUnquoted 
)

Tests if the commands are exploded and unquoted correctly

@dataProvider unQuoteFilenamesUnquotesFileNamesDataProvider

Test:

Definition at line 242 of file GeneralUtilityTest.php.

◆ unQuoteFilenamesUnquotesFileNamesDataProvider()

TYPO3\CMS\Core\Tests\UnitDeprecated\Utility\GeneralUtilityTest::unQuoteFilenamesUnquotesFileNamesDataProvider ( )

Data provider for unQuoteFilenamesUnquotesFileNames

Definition at line 78 of file GeneralUtilityTest.php.