\GetRecordByIdCommandTest
Synopsis
class GetRecordByIdCommandTest
extends SapphireTest
{
- // members
- public static string $fixture_file = 'geocatalogue/tests/GetRecordByIdCommandTest.yml';
- protected $controller = NULL;
- // methods
- public void setUp()
- public void tearDown()
- public void testGetRecordByIdCommand()
- public void testGetRecordByIdCommandWithoutID()
- public void testGetRecordByIdCommandWithLessThenInID()
- public void testGetRecordByIdCommandWithQuoteInID()
Hierarchy
Extends
- SapphireTest
Members
protected
- $controller
public
-
$fixture_file
Also uses SimpleNzctFixture in setUp()
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.
- testGetRecordByIdCommand() — Test the testGetRecordByIdCommand
- testGetRecordByIdCommandWithLessThenInID() — This test tests the cswGetRecordById_xml template only.
- testGetRecordByIdCommandWithQuoteInID() — This test tests the cswGetRecordById_xml template only.
- testGetRecordByIdCommandWithoutID() — This test tests the cswGetRecordById_xml template only.