PHP Class Timber_UnitTestCase

Inheritance: extends WP_UnitTestCase
Datei anzeigen Open project: jarednova/timber Class Usage Examples

Public Methods

Method Description
enable_error_log ( $opt = true )
expectedDeprecated ( ) Overload WP_UnitTestcase to ignore deprecated notices thrown by use of wp_title() in Timber
resetPermalinks ( )
setPermalinkStructure ( $struc = '/%postname%/' )
tearDown ( )

Method Details

enable_error_log() public static method

public static enable_error_log ( $opt = true )

expectedDeprecated() public method

Overload WP_UnitTestcase to ignore deprecated notices thrown by use of wp_title() in Timber
public expectedDeprecated ( )

setPermalinkStructure() public static method

public static setPermalinkStructure ( $struc = '/%postname%/' )

tearDown() public method

public tearDown ( )