TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest:
TYPO3\CMS\Core\Tests\UnitTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 setUp ()
 
 tearDown ()
 
 matchingApplicationContextConditionsDataProvider ()
 
 notMatchingApplicationContextConditionsDataProvider ()
 
 evaluateConditionCommonDevIpMaskDataProvider ()
 
 testUserFuncIsCalled ()
 
 testUserFuncWithSingleArgument ()
 
 testUserFuncWithIntegerZeroArgument ()
 
 testUserFuncWithWhitespaceArgument ()
 
 testUserFuncWithMultipleArguments ()
 
 testUserFuncWithMultipleDifferentArgumentsNullBoolString ()
 
 testUserFuncWithMultipleDifferentArgumentsNullStringBool ()
 
 testUserFuncWithMultipleDifferentArgumentsStringBoolNull ()
 
 testUserFuncWithMultipleDifferentArgumentsStringNullBool ()
 
 testUserFuncWithMultipleDifferentArgumentsBoolNullString ()
 
 testUserFuncWithMultipleDifferentArgumentsBoolStringNull ()
 
 testUserFuncWithMultipleDifferentArgumentsNullBoolStringSingleQuotes ()
 
 testUserFuncWithMultipleDifferentArgumentsNullStringBoolSingleQuotes ()
 
 testUserFuncWithMultipleDifferentArgumentsStringBoolNullSingleQuotes ()
 
 testUserFuncWithMultipleDifferentArgumentsStringNullBoolSingleQuotes ()
 
 testUserFuncWithMultipleDifferentArgumentsBoolNullStringSingleQuotes ()
 
 testUserFuncWithMultipleDifferentArgumentsBoolStringNullSingleQuotes ()
 
 testUserFuncWithMultipleSingleQuotedArguments ()
 
 testUserFuncWithMultipleSoubleQuotedArguments ()
 

Protected Attributes

 $backupApplicationContext = NULL
 
 $conditionMatcher
 
 $evaluateConditionCommonMethod
 
- 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

Testcases for TYPO3

Author
Steffen Müller typo3.nosp@m.@t3n.nosp@m.ode.c.nosp@m.om

Definition at line 31 of file AbstractConditionMatcherTest.php.

Member Function Documentation

◆ evaluateConditionCommonDevIpMaskDataProvider()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::evaluateConditionCommonDevIpMaskDataProvider ( )

Data provider for evaluateConditionCommonEvaluatesIpAddressesCorrectly

Returns
array

Definition at line 164 of file AbstractConditionMatcherTest.php.

References $GLOBALS.

◆ matchingApplicationContextConditionsDataProvider()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::matchingApplicationContextConditionsDataProvider ( )

Data provider with matching applicationContext conditions.

Returns
array

Definition at line 71 of file AbstractConditionMatcherTest.php.

References TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\Fixtures\GeneralUtilityFixture\setApplicationContext().

◆ notMatchingApplicationContextConditionsDataProvider()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::notMatchingApplicationContextConditionsDataProvider ( )

Data provider with not matching applicationContext conditions.

Returns
array

Definition at line 117 of file AbstractConditionMatcherTest.php.

References TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\Fixtures\GeneralUtilityFixture\setApplicationContext().

◆ setUp()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::setUp ( )

◆ tearDown()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::tearDown ( )

◆ testUserFuncIsCalled()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncIsCalled ( )
Test:

Definition at line 246 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithIntegerZeroArgument()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithIntegerZeroArgument ( )
Test:

Definition at line 270 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleArguments()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleArguments ( )
Test:

Definition at line 294 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsBoolNullString()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsBoolNullString ( )
Test:

Definition at line 354 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsBoolNullStringSingleQuotes()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsBoolNullStringSingleQuotes ( )
Test:

Definition at line 426 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsBoolStringNull()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsBoolStringNull ( )
Test:

Definition at line 366 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsBoolStringNullSingleQuotes()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsBoolStringNullSingleQuotes ( )
Test:

Definition at line 438 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsNullBoolString()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsNullBoolString ( )
Test:

Definition at line 306 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsNullBoolStringSingleQuotes()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsNullBoolStringSingleQuotes ( )
Test:

Definition at line 378 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsNullStringBool()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsNullStringBool ( )
Test:

Definition at line 318 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsNullStringBoolSingleQuotes()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsNullStringBoolSingleQuotes ( )
Test:

Definition at line 390 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsStringBoolNull()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsStringBoolNull ( )
Test:

Definition at line 330 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsStringBoolNullSingleQuotes()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsStringBoolNullSingleQuotes ( )
Test:

Definition at line 402 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsStringNullBool()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsStringNullBool ( )
Test:

Definition at line 342 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleDifferentArgumentsStringNullBoolSingleQuotes()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleDifferentArgumentsStringNullBoolSingleQuotes ( )
Test:

Definition at line 414 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleSingleQuotedArguments()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleSingleQuotedArguments ( )
Test:

Definition at line 450 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithMultipleSoubleQuotedArguments()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithMultipleSoubleQuotedArguments ( )
Test:

Definition at line 462 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithSingleArgument()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithSingleArgument ( )
Test:

Definition at line 258 of file AbstractConditionMatcherTest.php.

◆ testUserFuncWithWhitespaceArgument()

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::testUserFuncWithWhitespaceArgument ( )
Test:

Definition at line 282 of file AbstractConditionMatcherTest.php.

Member Data Documentation

◆ $backupApplicationContext

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::$backupApplicationContext = NULL
protected

Definition at line 36 of file AbstractConditionMatcherTest.php.

◆ $conditionMatcher

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::$conditionMatcher
protected

Definition at line 41 of file AbstractConditionMatcherTest.php.

◆ $evaluateConditionCommonMethod

TYPO3\CMS\Core\Tests\Unit\Configuration\TypoScript\ConditionMatching\AbstractConditionMatcherTest::$evaluateConditionCommonMethod
protected

Definition at line 46 of file AbstractConditionMatcherTest.php.