#include <terralib/ws/ogc/wms/client/WMSClient.h>#include <terralib/ws/ogc/wms/client/DataTypes.h>#include <terralib/ws/core/Exception.h>#include <terralib/qt/af/ApplicationController.h>#include <boost/test/unit_test.hpp>#include <memory>#include <iostream>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (getcapabilities_test) | |
| BOOST_AUTO_TEST_CASE (getcapabilities_exception_test) | |
| BOOST_AUTO_TEST_CASE (not_supported_version_test) | |
| BOOST_AUTO_TEST_CASE (getmap_test) | |
| BOOST_AUTO_TEST_CASE (savegetmap_test) | |
| BOOST_AUTO_TEST_CASE | ( | getcapabilities_test | ) |
Definition at line 41 of file TsWMSClient.cpp.
References capabilities, te::ws::ogc::WMSClient::getCapabilities(), te::common::Singleton< ApplicationController >::getInstance(), te::ws::ogc::wms::Capability::m_layer, te::ws::ogc::wms::Layer::m_layers, and te::ws::ogc::WMSClient::updateCapabilities().
| BOOST_AUTO_TEST_CASE | ( | getcapabilities_exception_test | ) |
Definition at line 70 of file TsWMSClient.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::ws::ogc::WMSClient::updateCapabilities().
| BOOST_AUTO_TEST_CASE | ( | not_supported_version_test | ) |
Definition at line 93 of file TsWMSClient.cpp.
References te::common::Singleton< ApplicationController >::getInstance(), and te::ws::ogc::WMSClient::updateCapabilities().
| BOOST_AUTO_TEST_CASE | ( | getmap_test | ) |
Definition at line 113 of file TsWMSClient.cpp.
References capabilities, te::ws::ogc::WMSClient::getCapabilities(), te::common::Singleton< ApplicationController >::getInstance(), te::ws::ogc::WMSClient::getMap(), te::ws::ogc::wms::WMSGetMapRequest::m_boundingBox, te::ws::ogc::wms::WMSCapabilities::m_capability, te::ws::ogc::wms::BoundingBox::m_crs, te::ws::ogc::wms::Capability::m_layer, te::ws::ogc::wms::Layer::m_layers, te::ws::ogc::wms::WMSGetMapRequest::m_layers, te::ws::ogc::wms::BoundingBox::m_maxX, te::ws::ogc::wms::BoundingBox::m_maxY, te::ws::ogc::wms::BoundingBox::m_minX, te::ws::ogc::wms::BoundingBox::m_minY, te::ws::ogc::wms::WMSGetMapRequest::m_srs, te::ws::ogc::wms::WMSGetMapRequest::m_styles, request, and te::ws::ogc::WMSClient::updateCapabilities().
| BOOST_AUTO_TEST_CASE | ( | savegetmap_test | ) |
Definition at line 175 of file TsWMSClient.cpp.
References capabilities, te::ws::ogc::WMSClient::getCapabilities(), te::common::Singleton< ApplicationController >::getInstance(), te::ws::ogc::wms::WMSGetMapRequest::m_boundingBox, te::ws::ogc::wms::WMSCapabilities::m_capability, te::ws::ogc::wms::BoundingBox::m_crs, te::ws::ogc::wms::Capability::m_layer, te::ws::ogc::wms::Layer::m_layers, te::ws::ogc::wms::WMSGetMapRequest::m_layers, te::ws::ogc::wms::BoundingBox::m_maxX, te::ws::ogc::wms::BoundingBox::m_maxY, te::ws::ogc::wms::BoundingBox::m_minX, te::ws::ogc::wms::BoundingBox::m_minY, te::ws::ogc::wms::WMSGetMapRequest::m_srs, te::ws::ogc::wms::WMSGetMapRequest::m_styles, request, te::ws::ogc::WMSClient::saveGetMap(), and te::ws::ogc::WMSClient::updateCapabilities().