PHP Класс li3_access\tests\cases\extensions\adapter\security\access\RulesTest

Наследование: extends lithium\test\Unit
Показать файл Открыть проект

Открытые методы

Метод Описание
testAdd ( )
testAllowAnyRule ( ) Tests that calls only fail when all rules fail if 'allowAny' is set.
testArrayBasedIpMatching ( )
testAutoUser ( ) Tests that user information is automatically retrieved via the closure in the 'user' config.
testCheck ( )
testCheckNoRules ( ) Test access checking with no passed or defined rules.
testInvalidRule ( ) Tests that checks against invalid rules return an invalid rule array.
testOptionsPassedToRule ( ) Tests that options passed to Rules::check() are passed to each rule doing the checking.
testPassingRules ( ) Tests checking against a list of rules that are passed on the fly.
testPatternBasedIpMatching ( )

Описание методов

testAdd() публичный Метод

public testAdd ( )

testAllowAnyRule() публичный Метод

Tests that calls only fail when all rules fail if 'allowAny' is set.
public testAllowAnyRule ( )

testArrayBasedIpMatching() публичный Метод

testAutoUser() публичный Метод

Tests that user information is automatically retrieved via the closure in the 'user' config.
public testAutoUser ( )

testCheck() публичный Метод

public testCheck ( )

testCheckNoRules() публичный Метод

Test access checking with no passed or defined rules.
public testCheckNoRules ( )

testInvalidRule() публичный Метод

Tests that checks against invalid rules return an invalid rule array.
public testInvalidRule ( )

testOptionsPassedToRule() публичный Метод

Tests that options passed to Rules::check() are passed to each rule doing the checking.

testPassingRules() публичный Метод

Tests checking against a list of rules that are passed on the fly.
public testPassingRules ( )

testPatternBasedIpMatching() публичный Метод