PHP Class lithium\tests\cases\template\helper\SecurityTest

Inheritance: extends lithium\test\Unit
Datei anzeigen Open project: unionofrad/lithium

Public Properties

Property Type Description
$context
$subject

Public Methods

Method Description
hash ( $token )
key ( $token )
setUp ( )
testConstruct ( ) Tests that the helper can be constructed with a custom configuration.
testFormSignatureGeneration ( ) Tests that the Security helper correctly binds to the Form helper to collect field information and generate a signature.
testFormSignatureWithLabelField ( )
testFormSignatureWithLockedAndExcluded ( )
testFormSignatureWithMethodPUT ( )
testRequestToken ( ) Tests that the helper correctly generates a security token field.

Method Details

hash() public static method

public static hash ( $token )

key() public static method

public static key ( $token )

setUp() public method

public setUp ( )

testConstruct() public method

Tests that the helper can be constructed with a custom configuration.
public testConstruct ( )

testFormSignatureGeneration() public method

Tests that the Security helper correctly binds to the Form helper to collect field information and generate a signature.

testFormSignatureWithLabelField() public method

testFormSignatureWithLockedAndExcluded() public method

testFormSignatureWithMethodPUT() public method

testRequestToken() public method

Tests that the helper correctly generates a security token field.
public testRequestToken ( )

Property Details

$context public_oe property

public $context

$subject public_oe property

public $subject