29 $defaultExpected = array(
32 'path' =>
'/usr/bin/',
37 'path' =>
'/usr/local/bin/',
42 'returns empty array for empty string' => array(
46 'separated by comma' => array(
47 'perl=/usr/bin/perl,unzip=/usr/local/bin/unzip',
50 'separated by new line' => array(
51 'perl=/usr/bin/perl ' . LF .
' unzip=/usr/local/bin/unzip',
54 'separated by new line with spaces' => array(
55 'perl = /usr/bin/perl ' . LF .
' unzip = /usr/local/bin/unzip',
58 'separated by new line with spaces and empty rows' => array(
59 LF .
'perl = /usr/bin/perl ' . LF . LF .
' unzip = /usr/local/bin/unzip' . LF,
62 'separated by char(10)' => array(
63 'perl=/usr/bin/perl' .
'\'.chr(10).\
'' .
'unzip=/usr/local/bin/unzip',
66 'separated by LF as string' => array(
67 'perl=/usr/bin/perl' .
'\' . LF . \
'' .
'unzip=/usr/local/bin/unzip',
80 $GLOBALS[
'TYPO3_CONF_VARS'][
'SYS'][
'binSetup'] = $globalsBinSetup;
81 $commandUtilityMock = $this->
getAccessibleMock(
'TYPO3\\CMS\\Core\\Utility\\CommandUtility', array(
'dummy'));
82 $result = $commandUtilityMock->_call(
'getConfiguredApps');
83 $this->assertSame($expected,
$result);
getConfiguredAppsDataProvider()
getConfiguredApps($globalsBinSetup, $expected)
getAccessibleMock( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
if($list_of_literals) if(!empty($literals)) if(!empty($literals)) $result
Analyse literals to prepend the N char to them if their contents aren't numeric.
if(!defined('TYPO3_MODE')) $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][]