PHP Класс lithium\tests\cases\template\helper\SecurityTest

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

Открытые свойства

Свойство Тип Описание
$context
$subject

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

Метод Описание
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.

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

hash() публичный статический Метод

public static hash ( $token )

key() публичный статический Метод

public static key ( $token )

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

public setUp ( )

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

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

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.
public testRequestToken ( )

Описание свойств

$context публичное свойство

public $context

$subject публичное свойство

public $subject