PHP Class Phalcon\Test\Unit\EscaperTest

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

Public Methods

Method Description
testDetectEncoding ( ) Tests the detectEncoding
testEscapeAttrWithDifferentEncodings ( ) Tests the normalizeEncoding with various quote types
testEscapeCss ( ) Tests the escapeCss
testEscapeJs ( ) Tests the escapeJs
testEscapeUrl ( ) Tests the escapeUrl
testEscaperHtml ( ) Tests whether a key exists in the array
testGetSetEncoding ( ) Tests the getEncoding and setEncoding
testNormalizeEncoding ( ) Tests the normalizeEncoding

Method Details

testDetectEncoding() public method

Tests the detectEncoding
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])
public testDetectEncoding ( )

testEscapeAttrWithDifferentEncodings() public method

Tests the normalizeEncoding with various quote types
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])

testEscapeCss() public method

Tests the escapeCss
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])
public testEscapeCss ( )

testEscapeJs() public method

Tests the escapeJs
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])
public testEscapeJs ( )

testEscapeUrl() public method

Tests the escapeUrl
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])
public testEscapeUrl ( )

testEscaperHtml() public method

Tests whether a key exists in the array
Since: 2014-09-12
Author: Nikolaos Dimopoulos ([email protected])
public testEscaperHtml ( )

testGetSetEncoding() public method

Tests the getEncoding and setEncoding
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])
public testGetSetEncoding ( )

testNormalizeEncoding() public method

Tests the normalizeEncoding
Since: 2014-09-16
Author: Nikolaos Dimopoulos ([email protected])