TestClassGeoPositionFieldHandler
extends WP_UnitTestCase
in package
Table of Contents
- $_pRecordManagerFactory : RecordManagerFactory
- $_record : array<string|int, stdClass>
- prepare() : mixed
- testDefaultValues() : mixed
- testGetActiveFieldsRespectingOrder() : mixed
- testGetActiveFieldsWithValue() : GeoPositionFieldHandler
- testGetGeoFieldsLogicException() : mixed
- testGetGeoFieldsOrdered() : mixed
- testGetGeoFieldsOrderedEmptyOrder() : mixed
- testGetRadiusValue() : mixed
- testGetRadiusValueIfNoneGivenInBackend() : mixed
- getRecordManagerMock() : RecordManagerRead
Properties
$_pRecordManagerFactory
private
RecordManagerFactory
$_pRecordManagerFactory
= null
$_record
private
array<string|int, stdClass>
$_record
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testDefaultValues()
public
testDefaultValues(GeoPositionFieldHandler $pGeoPositionFieldHandler) : mixed
Parameters
- $pGeoPositionFieldHandler : GeoPositionFieldHandler
Tags
Return values
mixed —testGetActiveFieldsRespectingOrder()
public
testGetActiveFieldsRespectingOrder() : mixed
Return values
mixed —testGetActiveFieldsWithValue()
public
testGetActiveFieldsWithValue() : GeoPositionFieldHandler
Return values
GeoPositionFieldHandler —testGetGeoFieldsLogicException()
public
testGetGeoFieldsLogicException() : mixed
Return values
mixed —testGetGeoFieldsOrdered()
public
testGetGeoFieldsOrdered() : mixed
Return values
mixed —testGetGeoFieldsOrderedEmptyOrder()
public
testGetGeoFieldsOrderedEmptyOrder() : mixed
Return values
mixed —testGetRadiusValue()
public
testGetRadiusValue() : mixed
Return values
mixed —testGetRadiusValueIfNoneGivenInBackend()
public
testGetRadiusValueIfNoneGivenInBackend() : mixed
Return values
mixed —getRecordManagerMock()
private
getRecordManagerMock() : RecordManagerRead