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

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Méthodes publiques

Свойство Type Description
$context
$subject

Méthodes publiques

Méthode 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 méthode

public static hash ( $token )

key() public static méthode

public static key ( $token )

setUp() public méthode

public setUp ( )

testConstruct() public méthode

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

testFormSignatureGeneration() public méthode

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

testFormSignatureWithLabelField() public méthode

testFormSignatureWithLockedAndExcluded() public méthode

testFormSignatureWithMethodPUT() public méthode

testRequestToken() public méthode

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