Class WmsAssertion

java.lang.Object
de.latlon.ets.wms13.core.assertion.WmsAssertion

public final class WmsAssertion extends Object
Provides WMS 1.3.0 specific test assertion methods
Author:
Lyn Goltz
  • Method Details

    • assertSimpleWMSCapabilities

      public static void assertSimpleWMSCapabilities(Document doc)
      Asserts that the given DOM document has the expected root element 'WMS_Capabilities' in namespace {http://www.opengis.net/wms}.
      Parameters:
      doc - A Document node having {http://www.opengis.net/wms} "WMS_Capabilities" as the root element.
    • assertVersion130

      public static void assertVersion130(Document response)
      Asserts that the actual content type matches the expected content type.
      Parameters:
      response - A Document node having {http://www.opengis.net/wms} "WMS_Capabilities" as the root element.