\OLMapObjectTest
- Author: Rainer Spittel (rainer at silverstripe dot com)
Synopsis
class OLMapObjectTest
extends SapphireTest
{
- // methods
- public void setUp()
- public void tearDown()
- public void testGetConfigurationArray()
- public void testGetConfigurationArray_NoLayers()
- public void testGetConfigurationArray_DisabledLayer()
- public void testGetConfigurationArray_EnabledLayer()
- public void testGetCMSFields()
Hierarchy
Extends
- SapphireTest
Methods
public
- setUp() — Initiate the controller and page classes and configure GeoNetwork service to use the mockup-controller for testing.
- tearDown() — Remove test controller from global controller-stack.
- testGetCMSFields() — Basic test to see if getCMSFields returns a fieldset.
- testGetConfigurationArray() — Test the configuration array generation for the map object only (layers will be tested below in this test-class.
- testGetConfigurationArray_DisabledLayer() — Test the configuration array generation for the map object with disabled layers.
- testGetConfigurationArray_EnabledLayer() — Test the configuration array generation for the map object with enabled layers.
- testGetConfigurationArray_NoLayers() — Test the configuration array generation for the map object with no layers.