SolrTest
extends TestCase
in package
Uses
ReflectionTrait
Solr autocomplete test class.
Tags
Table of Contents
- testSetConfig() : void
- Test that configuration is parsed correctly.
- testSetConfigDefaults() : void
- Test that configuration is parsed correctly.
- callMethod() : mixed
- Call protected or private method for side-effect and result.
- getMockOptions() : Options
- Get mock search options.
- getMockResults() : PluginManager
- Get mock results plugin manager.
- getMockResultsPluginManager() : PluginManager
- Get mock results plugin manager.
- getProperty() : mixed
- Return protected or private property.
- setProperty() : void
- Set protected or private property.
Methods
testSetConfig()
Test that configuration is parsed correctly.
public
testSetConfig() : void
Return values
void —testSetConfigDefaults()
Test that configuration is parsed correctly.
public
testSetConfigDefaults() : void
Return values
void —callMethod()
Call protected or private method for side-effect and result.
protected
callMethod(object|string $object, string $method[, array<string|int, mixed> $arguments = [] ]) : mixed
Uses PHP's reflection API in order to modify method accessibility.
Parameters
- $object : object|string
-
Object or class name
- $method : string
-
Method name
- $arguments : array<string|int, mixed> = []
-
Method arguments
Tags
Return values
mixed —getMockOptions()
Get mock search options.
protected
getMockOptions() : Options
Return values
Options —getMockResults()
Get mock results plugin manager.
protected
getMockResults() : PluginManager
Return values
PluginManager —getMockResultsPluginManager()
Get mock results plugin manager.
protected
getMockResultsPluginManager() : PluginManager
Return values
PluginManager —getProperty()
Return protected or private property.
protected
getProperty(object|string $object, string $property) : mixed
Uses PHP's reflection API in order to modify property accessibility.
Parameters
- $object : object|string
-
Object or class name
- $property : string
-
Property name
Tags
Return values
mixed —setProperty()
Set protected or private property.
protected
setProperty(object|string $object, string $property, mixed $value) : void
Uses PHP's reflection API in order to modify property accessibility.
Parameters
- $object : object|string
-
Object or class name
- $property : string
-
Property name
- $value : mixed
-
Property value