Index
All Classes and Interfaces|All Packages|Constant Field Values
B
- buildClient() - Static method in class org.opengis.cite.sta10.util.ClientUtils
-
Builds a client component for interacting with HTTP endpoints.
- buildClientWithProxy(String, int) - Static method in class org.opengis.cite.sta10.util.ClientUtils
-
Constructs a client component that uses a specified web proxy.
- buildGetRequest(URI, Map<String, String>, MediaType...) - Method in class org.opengis.cite.sta10.CommonFixture
-
Builds an HTTP request message that uses the GET method.
- buildGetRequest(URI, Map<String, String>, MediaType...) - Static method in class org.opengis.cite.sta10.util.ClientUtils
-
Builds an HTTP request message that uses the GET method.
- buildURLString(String, List<String>, List<Long>, String) - Static method in class org.opengis.cite.sta10.util.ServiceURLBuilder
-
Build the URL String based on a chain of entity type hierarchy and ids, and the targeted property or query
- buildURLString(String, EntityType, long, EntityType, String) - Static method in class org.opengis.cite.sta10.util.ServiceURLBuilder
-
Build the URL String based on the entityType, parent EntityType and id, and the targeted property or query
C
- Capability1Tests - Class in org.opengis.cite.sta10.sensingCore
-
Includes various tests of "A.1 Sensing Core" Conformance class.
- Capability1Tests() - Constructor for class org.opengis.cite.sta10.sensingCore.Capability1Tests
- Capability2Tests - Class in org.opengis.cite.sta10.createUpdateDelete
-
Includes various tests of "A.3 Create Update Delete" Conformance class.
- Capability2Tests() - Constructor for class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
- Capability3Tests - Class in org.opengis.cite.sta10.filteringExtension
-
Includes various tests of "A.2 Filtering Extension" Conformance class.
- Capability3Tests() - Constructor for class org.opengis.cite.sta10.filteringExtension.Capability3Tests
- checkQueriesPriorityOrdering() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing the correct priority of the query options.
- checkResourcePaths() - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method is testing the resource paths based on specification to the specified level.
- checkServiceRootUri() - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method is testing the root URL of the service under test.
- clearMessages() - Method in class org.opengis.cite.sta10.CommonFixture
-
clearMessages.
- client - Variable in class org.opengis.cite.sta10.CommonFixture
-
HTTP client component (JAX-RS Client API).
- CLIENT - Enum constant in enum class org.opengis.cite.sta10.SuiteAttribute
-
A client component for interacting with HTTP endpoints.
- ClientUtils - Class in org.opengis.cite.sta10.util
-
Provides various utility methods for creating and configuring HTTP client components.
- ClientUtils() - Constructor for class org.opengis.cite.sta10.util.ClientUtils
- CommonFixture - Class in org.opengis.cite.sta10
-
A supporting base class that sets up a common test fixture.
- CommonFixture() - Constructor for class org.opengis.cite.sta10.CommonFixture
- ControlInformation - Class in org.opengis.cite.sta10.util
-
SensorThings common control information
- ControlInformation() - Constructor for class org.opengis.cite.sta10.util.ControlInformation
- createEntities() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing create or POST entities.
- createEntitiesWithDeepInsert() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing create or POST in the form of Deep Insert.
- createInvalidEntities() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing create or POST invalid entities.
- createInvalidEntitiesWithDeepInsert() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing create or POST with invalid Deep Insert.
D
- DATASTREAM - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- DATASTREAM_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for Datastream entity.
- deleteEntities() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing DELETE and its integrity constraint.
- deleteEverythings() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is run after all the tests of this class is run and clean the database.
- deleteEverythings() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is run after all the tests of this class is run and clean the database.
- deleteNoneexistentEntities() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing DELETE request for a nonexistent entity.
- doDelete(String) - Static method in class org.opengis.cite.sta10.util.HTTPMethods
-
Send HTTP DELETE request to the urlString and return response code
- doGet(String) - Static method in class org.opengis.cite.sta10.util.HTTPMethods
-
Send HTTP GET request to the urlString and return response code and response body
- doPatch(String, String) - Static method in class org.opengis.cite.sta10.util.HTTPMethods
-
Send HTTP PATCH request to the urlString with patchBody and return response code and response body
- doPost(String, String) - Static method in class org.opengis.cite.sta10.util.HTTPMethods
-
Send HTTP POST request to the urlString with postBody and return response code and response body
- doPut(String, String) - Static method in class org.opengis.cite.sta10.util.HTTPMethods
-
Send HTTP PUT request to the urlString with putBody and return response code and response body
- doTestRun(Document) - Method in class org.opengis.cite.sta10.TestNGController
E
- EntityPropertiesSampleValue - Class in org.opengis.cite.sta10.util
-
Provides list of sample values for each property of each entity for testing $filter.
- EntityPropertiesSampleValue() - Constructor for class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
- EntityType - Enum Class in org.opengis.cite.sta10.util
-
List of entity types in SensorThings API.
F
- FEATURE_OF_INTEREST - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- FEATURE_OF_INTEREST_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for FeatureOfInterest entity.
- filter(ClientRequestContext, ClientResponseContext) - Method in class org.opengis.cite.sta10.ReusableEntityFilter
G
- getCode() - Method in class org.opengis.cite.sta10.TestNGController
- getForRelation(String) - Static method in enum class org.opengis.cite.sta10.util.EntityType
-
getForRelation.
- getName() - Method in enum class org.opengis.cite.sta10.SuiteAttribute
-
getName.
- getProperties() - Method in enum class org.opengis.cite.sta10.util.EntityType
-
Getter for the field
properties
. - getPropertyValueFor(EntityType, int) - Static method in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Returning the sample property value for the properties[index] of the entityType
- getRelations() - Method in enum class org.opengis.cite.sta10.util.EntityType
-
Getter for the field
relations
. - getRequestMessageInfo(ClientRequest) - Method in class org.opengis.cite.sta10.TestFailureListener
-
Gets diagnostic information about a request message.
- getResponseEntityAsDocument(Response, String) - Method in class org.opengis.cite.sta10.CommonFixture
-
Obtains the (XML) response entity as a DOM Document.
- getResponseEntityAsDocument(Response, String) - Static method in class org.opengis.cite.sta10.util.ClientUtils
-
Obtains the (XML) response entity as a DOM Document and resets the entity input stream for subsequent reads.
- getResponseEntityAsSource(Response, String) - Static method in class org.opengis.cite.sta10.util.ClientUtils
-
Obtains the (XML) response entity as a JAXP Source object and resets the entity input stream for subsequent reads.
- getResponseMessageInfo(Response) - Method in class org.opengis.cite.sta10.TestFailureListener
-
Gets diagnostic information about a response message.
- getRootEntitySet() - Method in enum class org.opengis.cite.sta10.util.EntityType
-
getRootEntitySet.
- getTitle() - Method in class org.opengis.cite.sta10.TestNGController
- getType() - Method in enum class org.opengis.cite.sta10.SuiteAttribute
-
getType.
- getVersion() - Method in class org.opengis.cite.sta10.TestNGController
H
- HISTORICAL_LOCATION - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- HISTORICAL_LOCATION_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for HistoricalLocation entity.
- HTTPMethods - Class in org.opengis.cite.sta10.util
-
Sending HTTP Methods: GET, POST, PUT, PATCH, and DELETE
- HTTPMethods() - Constructor for class org.opengis.cite.sta10.util.HTTPMethods
I
- ICS - Enum constant in enum class org.opengis.cite.sta10.TestRunArg
-
An integer value denoting the conformance level to check.
- ID - Static variable in class org.opengis.cite.sta10.util.ControlInformation
-
The system-generated identifier of an entity.
- initCommonFixture(ITestContext) - Method in class org.opengis.cite.sta10.CommonFixture
-
Initializes the common test fixture with a client component for interacting with HTTP endpoints.
- invalidPatchEntities() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing invalid partial update or PATCH.
- isLoggable(Level) - Static method in class org.opengis.cite.sta10.util.TestSuiteLogger
-
Indicates if the logger is enabled at a given logging level.
- isPlural(String) - Static method in enum class org.opengis.cite.sta10.util.EntityType
-
isPlural.
- IUT - Enum constant in enum class org.opengis.cite.sta10.TestRunArg
-
An absolute URI that refers to a representation of the test subject or metadata about it.
L
- LEVEL - Enum constant in enum class org.opengis.cite.sta10.SuiteAttribute
-
An integer denoting the conformance level to check.
- LOCATION - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- LOCATION_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for Location entity.
- log(Level, String) - Static method in class org.opengis.cite.sta10.util.TestSuiteLogger
-
Logs a simple message at the specified logging level.
- log(Level, String, Exception) - Static method in class org.opengis.cite.sta10.util.TestSuiteLogger
-
Logs a message at the specified logging level with the given Exception object that represents a noteworthy error condition.
- log(Level, String, Object[]) - Static method in class org.opengis.cite.sta10.util.TestSuiteLogger
-
Logs a message at the specified logging level with the given message parameters.
M
- main(String[]) - Static method in class org.opengis.cite.sta10.TestNGController
-
A convenience method to facilitate test development.
N
- NAVIGATION_LINK - Static variable in class org.opengis.cite.sta10.util.ControlInformation
-
The relative URL that retrieves content of related entities.
O
- OBSERVATION - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- OBSERVATION_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for Observation entity.
- OBSERVED_PROPERTY - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- OBSERVED_PROPETY_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for ObservedProperty entity.
- obtainTestSubject(ITestContext) - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method will be run before starting the test for this conformance class.
- obtainTestSubject(ITestContext) - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method will be run before starting the test for this conformance class.
- obtainTestSubject(ITestContext) - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method will be run before starting the test for this conformance class.
- onExecutionFinish() - Method in class org.opengis.cite.sta10.TestRunListener
- onExecutionStart() - Method in class org.opengis.cite.sta10.TestRunListener
- onFinish(ISuite) - Method in class org.opengis.cite.sta10.SuiteFixtureListener
- onStart(ISuite) - Method in class org.opengis.cite.sta10.SuiteFixtureListener
- onTestFailure(ITestResult) - Method in class org.opengis.cite.sta10.TestFailureListener
-
Sets the "request" and "response" attributes of a test result.
- org.opengis.cite.sta10 - package org.opengis.cite.sta10
-
The root package includes supporting classes of general utility such as the main controller, listeners, and reporters.
- org.opengis.cite.sta10.createUpdateDelete - package org.opengis.cite.sta10.createUpdateDelete
-
Conformance Level 2 extends Level 1.
- org.opengis.cite.sta10.filteringExtension - package org.opengis.cite.sta10.filteringExtension
-
Conformance Level 3 includes extension.
- org.opengis.cite.sta10.sensingCore - package org.opengis.cite.sta10.sensingCore
-
Conformance Level 1 includes basic facilities.
- org.opengis.cite.sta10.util - package org.opengis.cite.sta10.util
-
This package includes miscellaneous utility classes to support testing.
P
- patchEntities() - Method in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
This method is testing partial update or PATCH.
- plural - Variable in enum class org.opengis.cite.sta10.util.EntityType
- processSuiteParameters(ISuite) - Method in class org.opengis.cite.sta10.SuiteFixtureListener
-
Processes test suite arguments and sets suite attributes accordingly.
R
- readEntitiesAndCheckResponse() - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method is testing GET entities.
- readEntitiesWithCountQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $count query option.
- readEntitiesWithExpandQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $expand query option.
- readEntitiesWithFilterQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $filter query option for <, <=, =, >=, > on properties.
- readEntitiesWithOrderbyQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $orderby query option.
- readEntitiesWithSelectQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $select query option.
- readEntitiesWithSkipQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $skip query option.
- readEntitiesWithTopQO() - Method in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
This method is testing $top query option.
- readEntityAndCheckResponse() - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method is testing GET for a specific entity with its id.
- readNonexistentEntity() - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method is testing GET when requesting a nonexistent entity.
- readPropertyOfEntityAndCheckResponse() - Method in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
This method is testing GET for a property of an entity.
- registerClientComponent(ISuite) - Method in class org.opengis.cite.sta10.SuiteFixtureListener
-
A client component is added to the suite fixture as the value of the
SuiteAttribute.CLIENT
attribute; it may be subsequently accessed via theITestContext.getSuite()
method. - removeParameters(MediaType) - Static method in class org.opengis.cite.sta10.util.ClientUtils
-
Creates a copy of the given MediaType object but without any parameters.
- request - Variable in class org.opengis.cite.sta10.CommonFixture
-
An HTTP request message.
- response - Variable in class org.opengis.cite.sta10.CommonFixture
-
An HTTP response message.
- ReusableEntityFilter - Class in org.opengis.cite.sta10
-
Buffers the (response) entity so it can be read multiple times.
- ReusableEntityFilter() - Constructor for class org.opengis.cite.sta10.ReusableEntityFilter
- ROOT_PKG_PATH - Static variable in class org.opengis.cite.sta10.CommonFixture
-
Root test suite package (absolute path).
- rootUri - Variable in class org.opengis.cite.sta10.createUpdateDelete.Capability2Tests
-
The root URL of the SensorThings service under the test
- rootUri - Variable in class org.opengis.cite.sta10.filteringExtension.Capability3Tests
-
The root URL of the SensorThings service under the test
- rootUri - Variable in class org.opengis.cite.sta10.sensingCore.Capability1Tests
-
The root URL of the SensorThings service under the test
S
- SELF_LINK - Static variable in class org.opengis.cite.sta10.util.ControlInformation
-
The absolute URL of an entity that is unique among all other entities.
- SENSOR - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- SENSOR_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for Sensor entity.
- ServiceURLBuilder - Class in org.opengis.cite.sta10.util
-
Utility class that helps preparing the URL string for the targeted entity.
- ServiceURLBuilder() - Constructor for class org.opengis.cite.sta10.util.ServiceURLBuilder
- singular - Variable in enum class org.opengis.cite.sta10.util.EntityType
- SuiteAttribute - Enum Class in org.opengis.cite.sta10
-
An enumerated type defining ISuite attributes that may be set to constitute a shared test fixture.
- SuiteFixtureListener - Class in org.opengis.cite.sta10
-
A listener that performs various tasks before and after a test suite is run, usually concerned with maintaining a shared test suite fixture.
- SuiteFixtureListener() - Constructor for class org.opengis.cite.sta10.SuiteFixtureListener
T
- TEST_SUBJECT - Enum constant in enum class org.opengis.cite.sta10.SuiteAttribute
-
A DOM Document representation of the test subject or metadata about it.
- TestFailureListener - Class in org.opengis.cite.sta10
-
A listener that augments a test result with diagnostic information in the event that a test method failed.
- TestFailureListener() - Constructor for class org.opengis.cite.sta10.TestFailureListener
- TestNGController - Class in org.opengis.cite.sta10
-
Main test run controller oversees execution of TestNG test suites.
- TestNGController() - Constructor for class org.opengis.cite.sta10.TestNGController
-
Default constructor uses the location given by the "user.home" system property as the root output directory.
- TestNGController(String) - Constructor for class org.opengis.cite.sta10.TestNGController
-
Construct a controller that writes results to the given output directory.
- TestRunArg - Enum Class in org.opengis.cite.sta10
-
An enumerated type defining all recognized test run arguments.
- TestRunListener - Class in org.opengis.cite.sta10
-
A listener that is invoked before and after a test run.
- TestRunListener() - Constructor for class org.opengis.cite.sta10.TestRunListener
- TestSuiteLogger - Class in org.opengis.cite.sta10.util
-
Logging utility class that provides simple access to the JDK Logging API.
- THING - Enum constant in enum class org.opengis.cite.sta10.util.EntityType
- THING_PROPERTIES_Values - Static variable in class org.opengis.cite.sta10.util.EntityPropertiesSampleValue
-
Sample properties for Thing entity.
- toString() - Method in enum class org.opengis.cite.sta10.SuiteAttribute
- toString() - Method in enum class org.opengis.cite.sta10.TestRunArg
V
- validateTestRunArgs(Document) - Method in class org.opengis.cite.sta10.TestNGController
-
Validates the test run arguments.
- valueOf(String) - Static method in enum class org.opengis.cite.sta10.SuiteAttribute
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.opengis.cite.sta10.TestRunArg
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.opengis.cite.sta10.util.EntityType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.opengis.cite.sta10.SuiteAttribute
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.opengis.cite.sta10.TestRunArg
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.opengis.cite.sta10.util.EntityType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values