#include <terralib/ws/ogc/wms/client/WMSClient.h>#include <terralib/ws/ogc/wms/client/DataTypes.h>#include <terralib/ws/core/Exception.h>#include <terralib/ws/ogc/wms/dataaccess/Config.h>#include <terralib/ws/ogc/wms/dataaccess/DataSourceFactory.h>#include <terralib/ws/ogc/wms/dataaccess/DataSource.h>#include <terralib/dataaccess/datasource/DataSource.h>#include <terralib/dataaccess/datasource/DataSourceFactory.h>#include <terralib/dataaccess/datasource/DataSourceManager.h>#include <terralib/qt/af/ApplicationController.h>#include <terralib/core/uri/Utils.h>#include <boost/test/unit_test.hpp>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (datasource_open_test) | |
| BOOST_AUTO_TEST_CASE (datasource_open_exception_test) | |
| BOOST_AUTO_TEST_CASE (datasource_getmap_test) | |
| BOOST_AUTO_TEST_CASE (datasource_savegetmap_test) | |
| BOOST_AUTO_TEST_CASE | ( | datasource_open_test | ) |
Definition at line 50 of file TsWMSDataAccess.cpp.
References te::da::DataSourceFactory::add(), te::ws::ogc::wms::da::Build(), ds, te::common::Singleton< ApplicationController >::getInstance(), te::da::DataSourceFactory::make(), TE_OGC_WMS_DRIVER_IDENTIFIER, and te::core::URIEncode().
| BOOST_AUTO_TEST_CASE | ( | datasource_open_exception_test | ) |
Definition at line 78 of file TsWMSDataAccess.cpp.
References ds, te::common::Singleton< ApplicationController >::getInstance(), te::da::DataSourceFactory::make(), and te::core::URIEncode().
| BOOST_AUTO_TEST_CASE | ( | datasource_getmap_test | ) |
Definition at line 140 of file TsWMSDataAccess.cpp.
References ds, te::common::Singleton< ApplicationController >::getInstance(), te::ws::ogc::wms::da::DataSource::getMap(), te::ws::ogc::wms::da::DataSource::getWMSClient(), te::ws::ogc::wms::WMSGetMapRequest::m_boundingBox, 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, te::da::DataSourceFactory::make(), request, and te::core::URIEncode().
| BOOST_AUTO_TEST_CASE | ( | datasource_savegetmap_test | ) |
Definition at line 208 of file TsWMSDataAccess.cpp.
References ds, te::common::Singleton< ApplicationController >::getInstance(), te::ws::ogc::wms::da::DataSource::getWMSClient(), te::ws::ogc::wms::WMSGetMapRequest::m_boundingBox, 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, te::da::DataSourceFactory::make(), request, te::ws::ogc::wms::da::DataSource::saveGetMap(), and te::core::URIEncode().