public class TransactionFixture extends BaseFixture
Modifier and Type | Field and Description |
---|---|
protected DataSampler |
dataSampler |
protected org.apache.xerces.xs.XSModel |
model
An XSModel object representing the application schema supported by the
SUT.
|
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
TransactionFixture() |
Modifier and Type | Method and Description |
---|---|
void |
buildTransactionRequest()
Builds a DOM Document representing a Transaction request entity.
|
void |
initTransactionFixture(org.testng.ITestContext testContext)
Obtains a DataSampler object from the test run context (the value of the
SuiteAttribute.SAMPLER attribute ). |
(package private) void |
setModel(org.apache.xerces.xs.XSModel model)
This is intended only to facilitate unit testing.
|
Iterator<Object[]> |
trxTestParameters(org.testng.ITestContext testContext)
A DataProvider that supplies a collection of parameter tuples where each
tuple has two elements:
ProtocolBinding - a supported transaction request binding
QName - the name of a feature type for which data are available
|
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
protected DataSampler dataSampler
protected org.apache.xerces.xs.XSModel model
void setModel(org.apache.xerces.xs.XSModel model)
model
- A representation of an application schema.public void initTransactionFixture(org.testng.ITestContext testContext)
SuiteAttribute.SAMPLER attribute
). A
schema model (XSModel) is also obtained from the test context by
accessing the xsmodel
attribute.testContext
- The test run context.public void buildTransactionRequest()
public Iterator<Object[]> trxTestParameters(org.testng.ITestContext testContext)
testContext
- The ITestContext object for the test run.Copyright © 2022 Open Geospatial Consortium. All rights reserved.