PHP 클래스 Codeception\Module\WPQueriesTest

상속: extends Codeception\TestCase\Test
파일 보기 프로젝트 열기: lucatume/wp-browser

보호된 프로퍼티들

프로퍼티 타입 설명
$backupGlobals
$config array
$constants tad\WPBrowser\Environment\Constants
$moduleContainer Codeception\Lib\ModuleContainer
$tester UnitTester
$wpdb wpdb

공개 메소드들

메소드 설명
it_should_allow_asserting_queries_by_action ( )
it_should_allow_asserting_queries_by_action_and_statement ( )
it_should_allow_asserting_queries_by_class_method ( )
it_should_allow_asserting_queries_by_class_method_and_statement ( )
it_should_allow_asserting_queries_by_filter ( )
it_should_allow_asserting_queries_by_filter_and_statement ( )
it_should_allow_asserting_queries_by_function ( )
it_should_allow_asserting_queries_by_function_and_statement ( )
it_should_allow_asserting_queries_by_statement ( )
it_should_allow_counting_the_queries ( )
it_should_allow_using_regexes_when_asserting_queries_by_statement ( )
it_should_be_instantiatable ( )
it_should_define_the_savequeries_constant_if_not_defined_already ( )
it_should_fail_if_asserting_no_queries_but_queries_were_made ( )
it_should_fail_if_asserting_wrong_queries_count ( )
it_should_filter_set_up_and_tear_down_queries_by_default ( )
it_should_not_fail_if_asserting_queries_and_there_were_queries ( )
it_should_return_false_if_asserting_queries_and_there_were_no_queries ( )
it_should_succeed_if_asserting_no_queries_and_no_queries_were_made ( )
it_should_throw_if_wploader_and_wpbootstrapper_modules_are_not_loaded_in_module_container ( )

보호된 메소드들

메소드 설명
_before ( )

비공개 메소드들

메소드 설명
make_instance ( ) : WPQueries

메소드 상세

_before() 보호된 메소드

protected _before ( )

it_should_allow_asserting_queries_by_action() 공개 메소드

it_should_allow_asserting_queries_by_action_and_statement() 공개 메소드

it_should_allow_asserting_queries_by_class_method() 공개 메소드

it_should_allow_asserting_queries_by_class_method_and_statement() 공개 메소드

it_should_allow_asserting_queries_by_filter() 공개 메소드

it_should_allow_asserting_queries_by_filter_and_statement() 공개 메소드

it_should_allow_asserting_queries_by_function() 공개 메소드

it_should_allow_asserting_queries_by_function_and_statement() 공개 메소드

it_should_allow_asserting_queries_by_statement() 공개 메소드

it_should_allow_counting_the_queries() 공개 메소드

it_should_allow_using_regexes_when_asserting_queries_by_statement() 공개 메소드

it_should_be_instantiatable() 공개 메소드

it_should_define_the_savequeries_constant_if_not_defined_already() 공개 메소드

it_should_fail_if_asserting_no_queries_but_queries_were_made() 공개 메소드

it_should_fail_if_asserting_wrong_queries_count() 공개 메소드

it_should_filter_set_up_and_tear_down_queries_by_default() 공개 메소드

it_should_not_fail_if_asserting_queries_and_there_were_queries() 공개 메소드

it_should_return_false_if_asserting_queries_and_there_were_no_queries() 공개 메소드

it_should_succeed_if_asserting_no_queries_and_no_queries_were_made() 공개 메소드

it_should_throw_if_wploader_and_wpbootstrapper_modules_are_not_loaded_in_module_container() 공개 메소드

프로퍼티 상세

$backupGlobals 보호되어 있는 프로퍼티

protected $backupGlobals

$config 보호되어 있는 프로퍼티

protected array $config
리턴 array

$constants 보호되어 있는 프로퍼티

protected Constants,tad\WPBrowser\Environment $constants
리턴 tad\WPBrowser\Environment\Constants

$moduleContainer 보호되어 있는 프로퍼티

protected ModuleContainer,Codeception\Lib $moduleContainer
리턴 Codeception\Lib\ModuleContainer

$tester 보호되어 있는 프로퍼티

protected UnitTester $tester
리턴 UnitTester

$wpdb 보호되어 있는 프로퍼티

protected wpdb $wpdb
리턴 wpdb