Package: Test\Helper
Encapsulates testing functionality for Omeka plugins.
Install and initialize a plugin.
Note: Normally used in the setUp() method of plugin tests.
Parameters: |
|
---|
Install a plugin
Parameters: |
|
---|---|
Returns: | Plugin |
Initializes the plugin hooks and filters fired in the core resources for a plugin Note: Normally used in the setUp() function of the subclasses that test plugins.
Parameters: |
|
---|---|
Returns: | void |
Run the response_contexts filter.
Returns: | void |
---|
Set the plugin loader for the helper to use.
Parameters: |
|
---|
Set the plugin INI reader for the helper to use.
Parameters: |
|
---|
Set the plugin broker for the helper to use.
Parameters: |
|
---|
Set the ACL for the helper to use.
Parameters: |
|
---|
Set the router for the helper to use.
Parameters: |
|
---|
Lazy-loading for helper properties.
When a property is not set, attempts to load a default through standardOmeka global state. If this state is unavailable or undesireable,use the set*() methods before calling any of the other public methodsof this class.
Parameters: |
|
---|---|
Returns: | mixed |