public class ReplaceTests extends TransactionFixture
dataSampler, model
docBuilder, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata
Constructor and Description |
---|
ReplaceTests() |
Modifier and Type | Method and Description |
---|---|
(package private) Element |
createReplacementFeature(Element originalFeature)
Creates a new feature representation by cloning and modifying the
original instance.
|
void |
replaceFeature(ProtocolBinding binding,
QName featureType)
[
Test ] Submits a Transaction request to replace an existing
feature instance. |
void |
restoreModifiedFeatures()
Restores the WFS data store to its previous state by replacing all
modified features with their original representations.
|
buildTransactionRequest, initTransactionFixture, trxTestParameters
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser
public void restoreModifiedFeatures()
public void replaceFeature(ProtocolBinding binding, QName featureType)
Test
] Submits a Transaction request to replace an existing
feature instance. The test is run for all supported protocol bindings
(except HTTP GET) and feature types. The response entity
(wfs:TransactionResponse) must be schema-valid and contain the
wfs:ReplaceResults element.binding
- A supported transaction request binding.featureType
- A QName representing the qualified name of some feature type.Element createReplacementFeature(Element originalFeature)
originalFeature
- The original feature instance (unmodified).Copyright © 2013. All Rights Reserved.