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

Public Member Functions

 setUp ()
 
 simulateDisabledMatchAllConditionsFailsOnFaultyExpression ()
 
 simulateEnabledMatchAllConditionsSucceeds ()
 
 simulateEnabledMatchSpecificConditionsSucceeds ()
 
 conditionMatchesInternetExplorer7Windows ()
 
 conditionDoesNotMatchInternetExplorer7Windows ()
 
 conditionDoesMatchIosWithCorrectSystemKey ()
 
 conditionDoesMatchIosWithOldSystemKey ()
 
 conditionDoesMatchWindows2kWithNewSystemKey ()
 
 conditionDoesMatchWindows2kWithOldSystemKey ()
 
 conditionDoesMatchWindowsNtWithSystemKey ()
 
 conditionDoesMatchAndroidWithNewSystemKey ()
 
 conditionDoesMatchAndroidWithOldSystemKey ()
 
 deviceConditionMatchesRobot ()
 
 deviceConditionDoesNotMatchRobot ()
 
 languageConditionMatchesSingleLanguageExpression ()
 
 languageConditionMatchesMultipleLanguagesExpression ()
 
 languageConditionMatchesCompleteLanguagesExpression ()
 
 usergroupConditionMatchesSingleGroupId ()
 
 usergroupConditionMatchesMultipleUserGroupId ()
 
 usergroupConditionDoesNotMatchDefaulUserGroupIds ()
 
 loginUserConditionMatchesAnyLoggedInUser ()
 
 loginUserConditionMatchesSingleLoggedInUser ()
 
 loginUserConditionMatchesMultipleLoggedInUsers ()
 
 loginUserConditionDoesNotMatchIfNotUserIsLoggedId ()
 
 loginUserConditionMatchIfUserIsNotLoggedIn ()
 
 globalVarConditionMatchesOnEqualExpression ()
 
 globalVarConditionMatchesOnEqualExpressionWithMultipleValues ()
 
 globalVarConditionMatchesOnNotEqualExpression ()
 
 globalVarConditionDoesNotMatchOnNotEqualExpression ()
 
 globalVarConditionMatchesOnNotEqualExpressionWithMultipleValues ()
 
 globalVarConditionMatchesOnLowerThanExpression ()
 
 globalVarConditionMatchesOnLowerThanOrEqualExpression ()
 
 globalVarConditionMatchesOnGreaterThanExpression ()
 
 globalVarConditionMatchesOnGreaterThanOrEqualExpression ()
 
 globalVarConditionMatchesOnEmptyExpressionWithNoValueSet ()
 
 globalVarConditionDoesNotMatchOnEmptyExpressionWithValueSetToZero ()
 
 globalVarConditionMatchesOnArrayExpressionWithZeroAsKey ()
 
 globalStringConditionMatchesOnEqualExpression ()
 
 globalStringConditionMatchesOnEmptyExpressionWithValueSetToEmptyString ()
 
 globalStringConditionMatchesOnEmptyLiteralExpressionWithValueSetToEmptyString ()
 
 globalStringConditionMatchesWildcardExpression ()
 
 globalStringConditionMatchesRegularExpression ()
 
 globalStringConditionMatchesEmptyRegularExpression ()
 
 treeLevelConditionMatchesSingleValue ()
 
 treeLevelConditionMatchesMultipleValues ()
 
 treeLevelConditionDoesNotMatchFaultyValue ()
 
 PIDupinRootlineConditionMatchesSinglePageIdInRootline ()
 
 PIDupinRootlineConditionMatchesMultiplePageIdsInRootline ()
 
 PIDupinRootlineConditionDoesNotMatchPageIdNotInRootline ()
 
 PIDupinRootlineConditionDoesNotMatchLastPageIdInRootline ()
 
 PIDinRootlineConditionMatchesSinglePageIdInRootline ()
 
 PIDinRootlineConditionMatchesMultiplePageIdsInRootline ()
 
 PIDinRootlineConditionMatchesLastPageIdInRootline ()
 
 PIDinRootlineConditionDoesNotMatchPageIdNotInRootline ()
 
 compatVersionConditionMatchesOlderRelease ()
 
 compatVersionConditionMatchesSameRelease ()
 
 compatVersionConditionDoesNotMatchNewerRelease ()
 
 genericGetVariablesSucceedsWithNamespaceGP ()
 
 genericGetVariablesSucceedsWithNamespaceTSFE ()
 
 genericGetVariablesSucceedsWithNamespaceENV ()
 
 genericGetVariablesSucceedsWithNamespaceIENV ()
 
 genericGetVariablesSucceedsWithAnyGlobalNamespace ()
 

Protected Attributes

 $testGlobalNamespace
 
 $matchCondition
 
- 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

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! Testcase for class .

Author
Oliver Hader olive.nosp@m.r@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 22 of file ConditionMatcherTest.php.

Member Function Documentation

◆ compatVersionConditionDoesNotMatchNewerRelease()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::compatVersionConditionDoesNotMatchNewerRelease ( )

Tests whether the compatibility version can be evaluated. (e.g. 4.9 is compatible to 4.0 but not to 5.0)

Test:

Definition at line 658 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ compatVersionConditionMatchesOlderRelease()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::compatVersionConditionMatchesOlderRelease ( )

Tests whether the compatibility version can be evaluated. (e.g. 4.9 is compatible to 4.0 but not to 5.0)

Test:

Definition at line 636 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ compatVersionConditionMatchesSameRelease()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::compatVersionConditionMatchesSameRelease ( )

Tests whether the compatibility version can be evaluated. (e.g. 4.9 is compatible to 4.0 but not to 5.0)

Test:

Definition at line 647 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ conditionDoesMatchAndroidWithNewSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchAndroidWithNewSystemKey ( )

Tests whether a condition does match Android with the correct and more recent 'android'

Test:

Definition at line 162 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesMatchAndroidWithOldSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchAndroidWithOldSystemKey ( )

Tests whether a condition does match Android with the old 'linux'

Test:

Definition at line 173 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesMatchIosWithCorrectSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchIosWithCorrectSystemKey ( )

Tests whether a condition does match the iOS with the correct and more recent 'iOS'

Test:

Definition at line 107 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesMatchIosWithOldSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchIosWithOldSystemKey ( )

Tests whether a condition does match the iOS with the old 'mac'

Test:

Definition at line 118 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesMatchWindows2kWithNewSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchWindows2kWithNewSystemKey ( )

Tests whether a condition does match Windows 2000 with the correct and more recent 'win2k'

Test:

Definition at line 129 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesMatchWindows2kWithOldSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchWindows2kWithOldSystemKey ( )

Tests whether a condition does match Windows 2000 with the old 'winNT'

Test:

Definition at line 140 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesMatchWindowsNtWithSystemKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesMatchWindowsNtWithSystemKey ( )

Tests whether a condition does match Windows NT with 'winNT'

Test:

Definition at line 151 of file ConditionMatcherTest.php.

References $result.

◆ conditionDoesNotMatchInternetExplorer7Windows()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionDoesNotMatchInternetExplorer7Windows ( )

Tests whether a condition does not match Internet Explorer 7 on Windows.

Returns
void
Test:

Definition at line 96 of file ConditionMatcherTest.php.

References $result.

◆ conditionMatchesInternetExplorer7Windows()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::conditionMatchesInternetExplorer7Windows ( )

Tests whether a condition matches Internet Explorer 7 on Windows.

Returns
void
Test:

Definition at line 84 of file ConditionMatcherTest.php.

References $result.

◆ deviceConditionDoesNotMatchRobot()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::deviceConditionDoesNotMatchRobot ( )

Tests whether a device type condition does not match a crawler.

Test:

Definition at line 195 of file ConditionMatcherTest.php.

References $result.

◆ deviceConditionMatchesRobot()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::deviceConditionMatchesRobot ( )

Tests whether a device type condition matches a crawler.

Test:

Definition at line 184 of file ConditionMatcherTest.php.

References $result.

◆ genericGetVariablesSucceedsWithAnyGlobalNamespace()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::genericGetVariablesSucceedsWithAnyGlobalNamespace ( )

Tests whether the generic fetching of variables works with any global namespace.

Test:

Definition at line 714 of file ConditionMatcherTest.php.

References $GLOBALS, and TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest\$testGlobalNamespace.

◆ genericGetVariablesSucceedsWithNamespaceENV()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::genericGetVariablesSucceedsWithNamespaceENV ( )

Tests whether the generic fetching of variables works with the namespace 'ENV'.

Test:

Definition at line 693 of file ConditionMatcherTest.php.

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

◆ genericGetVariablesSucceedsWithNamespaceGP()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::genericGetVariablesSucceedsWithNamespaceGP ( )

Tests whether the generic fetching of variables works with the namespace 'GP'.

Test:

Definition at line 668 of file ConditionMatcherTest.php.

◆ genericGetVariablesSucceedsWithNamespaceIENV()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::genericGetVariablesSucceedsWithNamespaceIENV ( )

Tests whether the generic fetching of variables works with the namespace 'IENV'.

Test:

Definition at line 704 of file ConditionMatcherTest.php.

References TYPO3\CMS\Core\Utility\GeneralUtility\getIndpEnv().

◆ genericGetVariablesSucceedsWithNamespaceTSFE()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::genericGetVariablesSucceedsWithNamespaceTSFE ( )

Tests whether the generic fetching of variables works with the namespace 'TSFE'.

Test:

Definition at line 680 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ globalStringConditionMatchesEmptyRegularExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalStringConditionMatchesEmptyRegularExpression ( )

Tests whether string comparison matches.

Test:

Definition at line 517 of file ConditionMatcherTest.php.

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

◆ globalStringConditionMatchesOnEmptyExpressionWithValueSetToEmptyString()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalStringConditionMatchesOnEmptyExpressionWithValueSetToEmptyString ( )

Tests whether string comparison matches.

Test:

Definition at line 472 of file ConditionMatcherTest.php.

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

◆ globalStringConditionMatchesOnEmptyLiteralExpressionWithValueSetToEmptyString()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalStringConditionMatchesOnEmptyLiteralExpressionWithValueSetToEmptyString ( )

Tests whether string comparison matches.

Test:

Definition at line 485 of file ConditionMatcherTest.php.

◆ globalStringConditionMatchesOnEqualExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalStringConditionMatchesOnEqualExpression ( )

Tests whether string comparison matches.

Test:

Definition at line 462 of file ConditionMatcherTest.php.

◆ globalStringConditionMatchesRegularExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalStringConditionMatchesRegularExpression ( )

Tests whether string comparison matches.

Test:

Definition at line 506 of file ConditionMatcherTest.php.

◆ globalStringConditionMatchesWildcardExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalStringConditionMatchesWildcardExpression ( )

Tests whether string comparison matches.

Test:

Definition at line 495 of file ConditionMatcherTest.php.

◆ globalVarConditionDoesNotMatchOnEmptyExpressionWithValueSetToZero()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionDoesNotMatchOnEmptyExpressionWithValueSetToZero ( )

Tests whether numerical comparison matches.

Test:

Definition at line 436 of file ConditionMatcherTest.php.

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

◆ globalVarConditionDoesNotMatchOnNotEqualExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionDoesNotMatchOnNotEqualExpression ( )

Tests whether numerical comparison does not match.

Test:

Definition at line 362 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnArrayExpressionWithZeroAsKey()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnArrayExpressionWithZeroAsKey ( )

Tests whether an array with zero as key matches its value

Test:

Definition at line 449 of file ConditionMatcherTest.php.

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

◆ globalVarConditionMatchesOnEmptyExpressionWithNoValueSet()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnEmptyExpressionWithNoValueSet ( )

Tests whether numerical comparison matches.

Test:

Definition at line 425 of file ConditionMatcherTest.php.

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

◆ globalVarConditionMatchesOnEqualExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnEqualExpression ( )

Tests whether numerical comparison matches.

Test:

Definition at line 324 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnEqualExpressionWithMultipleValues()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnEqualExpressionWithMultipleValues ( )

Tests whether numerical comparison matches.

Test:

Definition at line 336 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnGreaterThanExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnGreaterThanExpression ( )

Tests whether numerical comparison matches.

Test:

Definition at line 403 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnGreaterThanOrEqualExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnGreaterThanOrEqualExpression ( )

Tests whether numerical comparison matches.

Test:

Definition at line 413 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnLowerThanExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnLowerThanExpression ( )

Tests whether numerical comparison matches.

Test:

Definition at line 381 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnLowerThanOrEqualExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnLowerThanOrEqualExpression ( )

Tests whether numerical comparison matches.

Test:

Definition at line 391 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnNotEqualExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnNotEqualExpression ( )

Tests whether numerical comparison matches.

Test:

Definition at line 352 of file ConditionMatcherTest.php.

◆ globalVarConditionMatchesOnNotEqualExpressionWithMultipleValues()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::globalVarConditionMatchesOnNotEqualExpressionWithMultipleValues ( )

Tests whether numerical comparison matches.

Test:

Definition at line 371 of file ConditionMatcherTest.php.

◆ languageConditionMatchesCompleteLanguagesExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::languageConditionMatchesCompleteLanguagesExpression ( )

Tests whether the language comparison matches.

Test:

Definition at line 228 of file ConditionMatcherTest.php.

◆ languageConditionMatchesMultipleLanguagesExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::languageConditionMatchesMultipleLanguagesExpression ( )

Tests whether the language comparison matches.

Test:

Definition at line 217 of file ConditionMatcherTest.php.

◆ languageConditionMatchesSingleLanguageExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::languageConditionMatchesSingleLanguageExpression ( )

Tests whether the language comparison matches.

Test:

Definition at line 206 of file ConditionMatcherTest.php.

◆ loginUserConditionDoesNotMatchIfNotUserIsLoggedId()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::loginUserConditionDoesNotMatchIfNotUserIsLoggedId ( )

Tests whether user comparison matches.

Test:

Definition at line 302 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ loginUserConditionMatchesAnyLoggedInUser()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::loginUserConditionMatchesAnyLoggedInUser ( )

Tests whether user comparison matches.

Test:

Definition at line 269 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ loginUserConditionMatchesMultipleLoggedInUsers()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::loginUserConditionMatchesMultipleLoggedInUsers ( )

Tests whether user comparison matches.

Test:

Definition at line 291 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ loginUserConditionMatchesSingleLoggedInUser()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::loginUserConditionMatchesSingleLoggedInUser ( )

Tests whether user comparison matches.

Test:

Definition at line 280 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ loginUserConditionMatchIfUserIsNotLoggedIn()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::loginUserConditionMatchIfUserIsNotLoggedIn ( )

Tests whether user is not logged in

Test:

Definition at line 314 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDinRootlineConditionDoesNotMatchPageIdNotInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDinRootlineConditionDoesNotMatchPageIdNotInRootline ( )

Tests whether a page Id is found in all rootline entries.

Test:

Definition at line 625 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDinRootlineConditionMatchesLastPageIdInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDinRootlineConditionMatchesLastPageIdInRootline ( )

Tests whether a page Id is found in all rootline entries.

Test:

Definition at line 615 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDinRootlineConditionMatchesMultiplePageIdsInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDinRootlineConditionMatchesMultiplePageIdsInRootline ( )

Tests whether a page Id is found in all rootline entries.

Test:

Definition at line 605 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDinRootlineConditionMatchesSinglePageIdInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDinRootlineConditionMatchesSinglePageIdInRootline ( )

Tests whether a page Id is found in all rootline entries.

Test:

Definition at line 595 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDupinRootlineConditionDoesNotMatchLastPageIdInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDupinRootlineConditionDoesNotMatchLastPageIdInRootline ( )

Tests whether a page Id is found in the previous rootline entries.

Test:

Definition at line 585 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDupinRootlineConditionDoesNotMatchPageIdNotInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDupinRootlineConditionDoesNotMatchPageIdNotInRootline ( )

Tests whether a page Id is found in the previous rootline entries.

Test:

Definition at line 575 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDupinRootlineConditionMatchesMultiplePageIdsInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDupinRootlineConditionMatchesMultiplePageIdsInRootline ( )

Tests whether a page Id is found in the previous rootline entries.

Test:

Definition at line 565 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ PIDupinRootlineConditionMatchesSinglePageIdInRootline()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::PIDupinRootlineConditionMatchesSinglePageIdInRootline ( )

Tests whether a page Id is found in the previous rootline entries.

Test:

Definition at line 555 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ setUp()

◆ simulateDisabledMatchAllConditionsFailsOnFaultyExpression()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::simulateDisabledMatchAllConditionsFailsOnFaultyExpression ( )

Tests whether a faulty expression fails.

Test:

Definition at line 52 of file ConditionMatcherTest.php.

◆ simulateEnabledMatchAllConditionsSucceeds()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::simulateEnabledMatchAllConditionsSucceeds ( )

Tests whether simulating positive matches for all conditions succeeds.

Test:

Definition at line 62 of file ConditionMatcherTest.php.

◆ simulateEnabledMatchSpecificConditionsSucceeds()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::simulateEnabledMatchSpecificConditionsSucceeds ( )

Tests whether simulating positive matches for specific conditions succeeds.

Test:

Definition at line 72 of file ConditionMatcherTest.php.

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

◆ treeLevelConditionDoesNotMatchFaultyValue()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::treeLevelConditionDoesNotMatchFaultyValue ( )

Tests whether treeLevel comparison matches.

Test:

Definition at line 546 of file ConditionMatcherTest.php.

◆ treeLevelConditionMatchesMultipleValues()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::treeLevelConditionMatchesMultipleValues ( )

Tests whether treeLevel comparison matches.

Test:

Definition at line 537 of file ConditionMatcherTest.php.

◆ treeLevelConditionMatchesSingleValue()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::treeLevelConditionMatchesSingleValue ( )

Tests whether treeLevel comparison matches.

Test:

Definition at line 528 of file ConditionMatcherTest.php.

◆ usergroupConditionDoesNotMatchDefaulUserGroupIds()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::usergroupConditionDoesNotMatchDefaulUserGroupIds ( )

Tests whether usergroup comparison matches.

Test:

Definition at line 259 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ usergroupConditionMatchesMultipleUserGroupId()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::usergroupConditionMatchesMultipleUserGroupId ( )

Tests whether usergroup comparison matches.

Test:

Definition at line 249 of file ConditionMatcherTest.php.

References $GLOBALS.

◆ usergroupConditionMatchesSingleGroupId()

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::usergroupConditionMatchesSingleGroupId ( )

Tests whether usergroup comparison matches.

Test:

Definition at line 239 of file ConditionMatcherTest.php.

References $GLOBALS.

Member Data Documentation

◆ $matchCondition

TYPO3\CMS\Frontend\Tests\Unit\Configuration\TypoScript\ConditionMatching\ConditionMatcherTest::$matchCondition
protected

Definition at line 32 of file ConditionMatcherTest.php.

◆ $testGlobalNamespace