#include <terralib/Defines.h>#include <terralib/core/lib/Exception.h>#include <terralib/core/lib/Library.h>#include <terralib/core/utils/Platform.h>#include <boost/test/unit_test.hpp>#include <boost/filesystem.hpp>#include <iostream>Go to the source code of this file.
Functions | |
| BOOST_AUTO_TEST_CASE (test_destructor) | |
| BOOST_AUTO_TEST_CASE (test_load) | |
| BOOST_AUTO_TEST_CASE (test_unload) | |
| BOOST_AUTO_TEST_CASE (test_isloaded) | |
| BOOST_AUTO_TEST_CASE (test_getFileName) | |
| BOOST_AUTO_TEST_CASE (test_getAddress) | |
| BOOST_AUTO_TEST_CASE (test_getNativeName) | |
| BOOST_AUTO_TEST_CASE (test_addSearchDir) | |
| BOOST_AUTO_TEST_CASE (test_resetSearchDir) | |
| BOOST_AUTO_TEST_SUITE (lib_test_case) BOOST_AUTO_TEST_CASE(test_constructor) | |
| static const std::string | g_shared_library_name (te::core::Library::getNativeName("terralib_unittest_core_lib_function")) |
| static const std::string | g_shared_library_path (te::core::FindInTerraLibPath("example")) |
| BOOST_AUTO_TEST_CASE | ( | test_destructor | ) |
Definition at line 75 of file TsLibrary.cpp.
References g_shared_library_name(), and g_shared_library_path().
| BOOST_AUTO_TEST_CASE | ( | test_load | ) |
Definition at line 90 of file TsLibrary.cpp.
References g_shared_library_name(), g_shared_library_path(), l1, l2, and te::core::Library::load().
| BOOST_AUTO_TEST_CASE | ( | test_unload | ) |
Definition at line 106 of file TsLibrary.cpp.
References g_shared_library_name(), g_shared_library_path(), l1, l2, l3, and te::core::Library::unload().
| BOOST_AUTO_TEST_CASE | ( | test_isloaded | ) |
Definition at line 123 of file TsLibrary.cpp.
References g_shared_library_name(), g_shared_library_path(), te::core::Library::isLoaded(), l1, l2, l3, te::core::Library::load(), and te::core::Library::unload().
| BOOST_AUTO_TEST_CASE | ( | test_getFileName | ) |
Definition at line 144 of file TsLibrary.cpp.
References g_shared_library_name(), g_shared_library_path(), te::core::Library::getFileName(), and l1.
| BOOST_AUTO_TEST_CASE | ( | test_getAddress | ) |
Definition at line 154 of file TsLibrary.cpp.
References g_shared_library_name(), g_shared_library_path(), te::core::Library::getAddress(), and l1.
| BOOST_AUTO_TEST_CASE | ( | test_getNativeName | ) |
Definition at line 168 of file TsLibrary.cpp.
References te::core::Library::getNativeName().
| BOOST_AUTO_TEST_CASE | ( | test_addSearchDir | ) |
Definition at line 200 of file TsLibrary.cpp.
References te::core::Library::addSearchDir(), te::core::FindInTerraLibPath(), and te::core::Library::getNativeName().
| BOOST_AUTO_TEST_CASE | ( | test_resetSearchDir | ) |
Definition at line 228 of file TsLibrary.cpp.
References te::core::Library::addSearchDir(), te::core::FindInTerraLibPath(), g_shared_library_name(), te::core::Library::load(), te::core::Library::resetSearchPath(), and te::core::Library::unload().
| BOOST_AUTO_TEST_SUITE | ( | lib_test_case | ) |
Definition at line 45 of file TsLibrary.cpp.
References g_shared_library_name(), g_shared_library_path(), and l1.
|
static |
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_SUITE().
|
static |
Referenced by BOOST_AUTO_TEST_CASE(), and BOOST_AUTO_TEST_SUITE().