\GetRecordsCommandTest
Synopsis
class GetRecordsCommandTest
extends SapphireTest
{
- // members
- public static string $fixture_file = 'geocatalogue/tests/GetRecordsCommandTest.yml';
- protected $controller = NULL;
- // methods
- public void setUp()
- public void tearDown()
- public void testGetRecordsInISOCommand()
- public void testDefaultValuesForPaging()
- public void testDefaultValuesForSearchTerm()
- public void testDefaultValuesForRequestXML()
- public void testApostrophySearchTerm()
- public void testLessThanSearchTerm()
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.
- testApostrophySearchTerm() — Test the testApostrophySearchTerm
- testDefaultValuesForPaging() — Test the testDefaultValues
- testDefaultValuesForRequestXML() — Test the testDefaultValuesForSearchTerm
- testDefaultValuesForSearchTerm() — Test the testDefaultValuesForSearchTerm
- testGetRecordsInISOCommand() — Test the testGetRecordsInISOCommand
- testLessThanSearchTerm() — Test the testLessThanSearchTerm