PHP Class Acl\Test\TestCase\Controller\Component\AclComponentTest

Inheritance: extends Cake\TestSuite\TestCase
Datei anzeigen Open project: cakephp/acl

Public Methods

Method Description
setUp ( ) : void setUp method
tearDown ( ) : void tearDown method
testAdapter ( ) : void test that adapter() allows control of the internal implementation AclComponent uses.
testAdapterException ( ) : void test that adapter() whines when the class does not implement AclInterface
testConstrutorException ( ) : void test that constructor throws an exception when Acl.classname is a non-existent class

Method Details

setUp() public method

setUp method
public setUp ( ) : void
return void

tearDown() public method

tearDown method
public tearDown ( ) : void
return void

testAdapter() public method

test that adapter() allows control of the internal implementation AclComponent uses.
public testAdapter ( ) : void
return void

testAdapterException() public method

test that adapter() whines when the class does not implement AclInterface
public testAdapterException ( ) : void
return void

testConstrutorException() public method

test that constructor throws an exception when Acl.classname is a non-existent class
public testConstrutorException ( ) : void
return void