TestClassGeoSearchBuilderFromInputVars
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_pAPIClientActionMock : APIClientActionGeneric
- $_pGeoPositionFieldHandler : GeoPositionFieldHandler
- $_pGeoSearchBuilderFromInputVars : GeoSearchBuilderFromInputVars
- $_pVariableReaderConfig : InputVariableReaderConfigTest
- prepare() : mixed
- testBuildParameters() : mixed
- testBuildParametersIncomplete() : mixed
- testEmptyRadiusParameterUsingDefaultRadius() : mixed
- testEmptyRadiusParameterUsingFallbackRadius() : mixed
- testMissingCountryParameter() : mixed
- testMissingRadiusParameter() : mixed
- testNoView() : mixed
- setActiveFields() : mixed
Properties
$_pAPIClientActionMock
private
APIClientActionGeneric
$_pAPIClientActionMock
= null
$_pGeoPositionFieldHandler
private
GeoPositionFieldHandler
$_pGeoPositionFieldHandler
= null
$_pGeoSearchBuilderFromInputVars
private
GeoSearchBuilderFromInputVars
$_pGeoSearchBuilderFromInputVars
= null
$_pVariableReaderConfig
private
InputVariableReaderConfigTest
$_pVariableReaderConfig
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testBuildParameters()
public
testBuildParameters() : mixed
Return values
mixed —testBuildParametersIncomplete()
public
testBuildParametersIncomplete() : mixed
Return values
mixed —testEmptyRadiusParameterUsingDefaultRadius()
public
testEmptyRadiusParameterUsingDefaultRadius() : mixed
Return values
mixed —testEmptyRadiusParameterUsingFallbackRadius()
public
testEmptyRadiusParameterUsingFallbackRadius() : mixed
Return values
mixed —testMissingCountryParameter()
public
testMissingCountryParameter() : mixed
Return values
mixed —testMissingRadiusParameter()
public
testMissingRadiusParameter() : mixed
Return values
mixed —testNoView()
public
testNoView() : mixed
Return values
mixed —setActiveFields()
private
setActiveFields([array<string|int, mixed> $blacklist = [] ]) : mixed
Parameters
- $blacklist : array<string|int, mixed> = []