PHP Class Phalcon\Test\Unit\Flash\SessionTest

Author: Andres Gutierrez ([email protected])
Author: Nikolaos Dimopoulos ([email protected])
Inheritance: extends Phalcon\Test\Module\UnitTest
Datei anzeigen Open project: phalcon/cphalcon

Protected Properties

Property Type Description
$classes array

Public Methods

Method Description
testClearMessagesFormSession ( ) Tests clear method
testGetMessagesTypeRemoveMessages ( ) Test getMessages with specified type and removal activated, only removes the received messages.
testGetNonExistentType ( ) Tests getMessages in case of non existent type request
testMessageFormat ( ) Test output formatted messages
testShouldAutoEscapeHtml ( ) Tests auto escaping

Protected Methods

Method Description
getFlash ( ) Return flash instance

Method Details

getFlash() protected method

Return flash instance
protected getFlash ( )

testClearMessagesFormSession() public method

Tests clear method
Since: 2015-10-26
Author: Iván Guillén ([email protected])

testGetMessagesTypeRemoveMessages() public method

Test getMessages with specified type and removal activated, only removes the received messages.
Since: 2015-10-26
Author: Iván Guillén ([email protected])

testGetNonExistentType() public method

Tests getMessages in case of non existent type request
Since: 2016-07-03
Author: Serghei Iakovlev ([email protected])

testMessageFormat() public method

Test output formatted messages
Since: 2015-10-26
Author: Iván Guillén ([email protected])
public testMessageFormat ( )

testShouldAutoEscapeHtml() public method

Tests auto escaping
Since: 2016-06-15
Author: Serghei Iakovlev ([email protected])

Property Details

$classes protected_oe property

protected array $classes
return array