\JFilterInputTest
JFilterInputTest
Synopsis
class JFilterInputTest
extends PHPUnit_Framework_TestCase
{
- // methods
- public array casesGeneric()
- public array casesCleanText()
- public void testCleanText()
- public array whitelist()
- public void testCleanByCallingMember()
- public array whitelistImg()
- public void testCleanWithImgWhitelisted()
- public array whitelistClass()
- public void testCleanWithClassWhitelisted()
- public array whitelistClassImg()
- public void testCleanWithImgAndClassWhitelisted()
- public array blacklist()
- public void testCleanWithDefaultBlackList()
- public array blacklistImg()
- public void testCleanWithImgBlackList()
- public array blacklistClass()
- public void testCleanWithClassBlackList()
Hierarchy
Extends
Methods
public
- blacklist() — Produces the array of test cases for the plain Blacklist test run.
- blacklistClass() — Produces the array of test cases for the Blacklist class attribute test run.
- blacklistImg() — Produces the array of test cases for the Blacklist img tag test run.
- casesCleanText() — Produces the array of test cases for the Clean Text test run.
- casesGeneric() — Produces the array of test cases common to all test runs.
- testCleanByCallingMember() — Execute a test case on clean() called as member with default filter settings (whitelist - no html).
- testCleanText() — Execute a cleanText test case.
- testCleanWithClassBlackList() — Execute a test case with clean() using custom class blacklist filter settings (strips bad tags).
- testCleanWithClassWhitelisted() — Execute a test case on clean() called as member with custom filter settings (whitelist).
- testCleanWithDefaultBlackList() — Execute a test case with clean() default blacklist filter settings (strips bad tags).
- testCleanWithImgAndClassWhitelisted() — Execute a test case on clean() called as member with custom filter settings (whitelist).
- testCleanWithImgBlackList() — Execute a test case with clean() using custom img blacklist filter settings (strips bad tags).
- testCleanWithImgWhitelisted() — Execute a test case on clean() called as member with custom filter settings (whitelist).
- whitelist() — Produces the array of test cases for plain Whitelist test run.
- whitelistClass() — Produces the array of test cases for the Whitelist class attribute test run.
- whitelistClassImg() — Produces the array of test cases for the Whitelist class attribute img tag test run.
- whitelistImg() — Produces the array of test cases for the Whitelist img tag test run.