PHP Class Goetas\Twital\Tests\ContextAwareEscapingTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: goetas/twital

Méthodes publiques

Méthode Description
getData ( )
testHTML5SourceAdapter ( $source, $expected )
testHTML5SourceAdapterNotWrapped ( $source, $expected )
testXHTMLSourceAdapter ( $source, $expected )
testXMLSourceAdapter ( $source, $expected )

Méthodes protégées

Méthode Description
setUp ( ) Prepares the environment before running a test.
wrap ( $html, $addNs = true )

Method Details

getData() public méthode

public getData ( )

setUp() protected méthode

Prepares the environment before running a test.
protected setUp ( )

testHTML5SourceAdapter() public méthode

public testHTML5SourceAdapter ( $source, $expected )

testHTML5SourceAdapterNotWrapped() public méthode

public testHTML5SourceAdapterNotWrapped ( $source, $expected )

testXHTMLSourceAdapter() public méthode

public testXHTMLSourceAdapter ( $source, $expected )

testXMLSourceAdapter() public méthode

public testXMLSourceAdapter ( $source, $expected )

wrap() protected méthode

protected wrap ( $html, $addNs = true )