TestClassScriptLoaderMapGoogleMaps
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pSubject : ScriptLoaderMapGoogleMaps
- $_pWPOptionWrapper : WPOptionWrapperTest
- $_pWPScriptStyle : WPScriptStyleTest
- $_scriptsExpectation : array<string|int, mixed>
- prepare() : mixed
- testEnqueue() : mixed
- testRegister() : mixed
Properties
$_pSubject
private
ScriptLoaderMapGoogleMaps
$_pSubject
= null
$_pWPOptionWrapper
private
WPOptionWrapperTest
$_pWPOptionWrapper
= null
$_pWPScriptStyle
private
WPScriptStyleTest
$_pWPScriptStyle
= null
$_scriptsExpectation
private
array<string|int, mixed>
$_scriptsExpectation
= ['google-maps' => ['deps' => [], 'ver' => false, 'inFooter' => false], 'gmapsinit' => ['deps' => ['google-maps'], 'ver' => false, 'inFooter' => false]]
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testEnqueue()
public
testEnqueue() : mixed
Return values
mixed —testRegister()
public
testRegister() : mixed