Class DeleteTests


public class DeleteTests extends TransactionFixture
Tests the response to a Transaction request that includes one or more delete actions.
See Also:
  • "ISO 19142:2010, cl. 15.2.7: Delete action"
  • Constructor Details

    • DeleteTests

      public DeleteTests()
  • Method Details

    • restoreDeletedFeatures

      @AfterClass public void restoreDeletedFeatures()
      Restores the WFS data store to its previous state by replacing all deleted features with their previous representations.
    • deleteFeature

      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).
      Parameters:
      binding - A supported message binding (POST preferred over SOAP).
      featureType - A QName representing the qualified name of some feature type.
      See Also:
      • "ISO 19142:2010, cl. 15.3.3: TransactionSummary element"