PHP Class Jyxo\HtmlTest

See also: Jyxo\Html
Author: Jaroslav HanslĂ­k
Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: jyxo/php

Public Methods

Method Description
testConstruct ( ) Tests the __construct() method.
testFromText ( ) Tests the fromText() method.
testGetBody ( ) Tests the getBody() method.
testIs ( ) Tests the is() method.
testLinkFromText ( ) Tests the linkFromText() method.
testRemoveAttributes ( ) Tests the removeAttributes() method.
testRemoveDangerous ( ) Tests the removeDangerous() method.
testRemoveInnerTags ( ) Tests the removeInnerTags() method.
testRemoveJavascriptEvents ( ) Tests the removeJavascriptEvents() method.
testRemoveRemoteImages ( ) Tests the removeRemoteImages() method.
testRemoveTags ( ) Tests the removeTags() method.
testRepair ( ) Tests the repair() method.
testToText ( ) Tests the toText() method.

Protected Methods

Method Description
setUp ( ) Prepares the testing environment.

Method Details

setUp() protected method

Prepares the testing environment.
protected setUp ( )

testConstruct() public method

Tests the __construct() method.
See also: Jyxo\Html::__construct()
public testConstruct ( )

testFromText() public method

Tests the fromText() method.
See also: Jyxo\Html::fromText()
public testFromText ( )

testGetBody() public method

Tests the getBody() method.
See also: Jyxo\Html::getBody()
public testGetBody ( )

testIs() public method

Tests the is() method.
See also: Jyxo\Html::is()
public testIs ( )

testLinkFromText() public method

Tests the linkFromText() method.
See also: Jyxo\Html::linkFromText()
public testLinkFromText ( )

testRemoveAttributes() public method

Tests the removeAttributes() method.
See also: Jyxo\Html::removeAttributes()

testRemoveDangerous() public method

Tests the removeDangerous() method.
See also: Jyxo\Html::removeDangerous()
public testRemoveDangerous ( )

testRemoveInnerTags() public method

Tests the removeInnerTags() method.
See also: Jyxo\Html::removeInnerTags()
public testRemoveInnerTags ( )

testRemoveJavascriptEvents() public method

Tests the removeJavascriptEvents() method.
See also: Jyxo\Html::removeJavascriptEvents()

testRemoveRemoteImages() public method

Tests the removeRemoteImages() method.
See also: Jyxo\Html::removeRemoteImages()

testRemoveTags() public method

Tests the removeTags() method.
See also: Jyxo\Html::removeTags()
public testRemoveTags ( )

testRepair() public method

Tests the repair() method.
See also: Jyxo\Html::repair()
public testRepair ( )

testToText() public method

Tests the toText() method.
See also: Jyxo\Html::toText()
public testToText ( )