public class DeleteTests extends TransactionFixture
dataSampler, model
docBuilder, ETS_PKG, featureInfo, featureTypes, reqEntity, rspEntity, supportedBindings, TNS_PREFIX, wfsClient, wfsMetadata, wfsVersion
Constructor and Description |
---|
DeleteTests() |
Modifier and Type | Method and Description |
---|---|
void |
deleteFeature(ProtocolBinding binding,
QName featureType)
[
Test ] Submits a Transaction request to delete an existing
feature instance. |
void |
restoreDeletedFeatures()
Restores the WFS data store to its previous state by replacing all
deleted features with their previous representations.
|
buildTransactionRequest, initTransactionFixture, setModel, trxTestParameters
addAttributesOnTestFailure, allProtocolsAndFeatureTypes, bindingAndAvailFeatureTypeProductSet, extractBodyAsDocument, getFeatureTypes, getInstantiatedFeatureTypes, getProtocolBindings, initBaseFixture, initParser, setWfsClient
public void restoreDeletedFeatures()
public void deleteFeature(ProtocolBinding binding, QName featureType)
Test
] Submits a Transaction request to delete an existing
feature instance. The test is run for all supported transaction request
bindings and feature types. The response entity (wfs:TransactionResponse)
must be schema-valid and the wfs:TransactionSummary element shall report
the correct number of deleted features (totalDeleted).binding
- A supported message binding (POST preferred over SOAP).featureType
- A QName representing the qualified name of some feature type.Copyright © 2022 Open Geospatial Consortium. All rights reserved.