TsLibrary.cpp File Reference
#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"))
 

Function Documentation

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  )
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  )

Definition at line 168 of file TsLibrary.cpp.

References te::core::Library::getNativeName().

BOOST_AUTO_TEST_CASE ( test_addSearchDir  )
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 const std::string g_shared_library_name ( te::core::Library::getNativeName("terralib_unittest_core_lib_function")  )
static
static const std::string g_shared_library_path ( te::core::FindInTerraLibPath("example")  )
static