#include <terralib/core/utils/Platform.h>#include <terralib/common.h>#include <terralib/dataaccess.h>#include <terralib/core/plugin.h>#include <memory>#include <map>#include <string>#include <gmock/gmock.h>#include <gtest/gtest.h>Go to the source code of this file.
Classes | |
| class | MockDataSource |
Functions | |
| void | CreateDataSource (te::da::DataSource *datasource) |
| TEST (DataSourceTest, CanCreateDataSource) | |
| void CreateDataSource | ( | te::da::DataSource * | datasource | ) |
Definition at line 193 of file ITsDataSource.cpp.
References ds, te::core::FindInTerraLibPath(), te::core::PluginManager::insert(), te::core::PluginManager::instance(), te::da::DataSource::isOpened(), te::core::JSONPluginInfoSerializer(), te::core::PluginManager::load(), te::da::DataSourceFactory::make(), and te::core::PluginInfo::name.
Referenced by TEST().
| TEST | ( | DataSourceTest | , |
| CanCreateDataSource | |||
| ) |
Definition at line 229 of file ITsDataSource.cpp.
References te::da::DataSource::close(), CreateDataSource(), TerraLib::finalize(), te::common::Singleton< TerraLib >::getInstance(), TerraLib::initialize(), te::da::DataSource::isOpened(), MockDataSource::MockDataSource(), and te::da::DataSource::open().