Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
Functions
test_os_dynlinker.cpp File Reference
#include <cassert>
#include <cinttypes>
#include <cstring>
#include <memory>
#include <thread>
#include <pthread.h>
#include <jau/test/catch2_ext.hpp>
#include <jau/file_util.hpp>
#include <jau/environment.hpp>
#include <jau/os/dyn_linker.hpp>
#include <jau/os/native_lib.hpp>
Include dependency graph for test_os_dynlinker.cpp:

Go to the source code of this file.

Functions

static bool existsLibBasename (const std::string &libBasename, const std::string &relDir, std::string &libPath) noexcept
 
static bool existsPath (const std::string &libPath) noexcept
 
void test01DynamikLinkerAbs (const std::string &libBasename, const std::string &relDir)
 
void test10NativeLibrary (const std::string &libBasename, const std::string &libDirRel)
 
 TEST_CASE ("Test00", "[dll][os]")
 
 TEST_CASE ("Test01", "[dll][os]")
 
 TEST_CASE ("Test10", "[orig][NativeLibrary][dll][os]")
 
 TEST_CASE ("Test11", "[copy][NativeLibrary][dll][os]")
 

Function Documentation

◆ existsPath()

static bool existsPath ( const std::string &  libPath)
staticnoexcept

Definition at line 38 of file test_os_dynlinker.cpp.

Here is the caller graph for this function:

◆ existsLibBasename()

static bool existsLibBasename ( const std::string &  libBasename,
const std::string &  relDir,
std::string &  libPath 
)
staticnoexcept

Definition at line 42 of file test_os_dynlinker.cpp.

Here is the caller graph for this function:

◆ TEST_CASE() [1/4]

TEST_CASE ( "Test00"  ,
""  [dll][os] 
)

Definition at line 49 of file test_os_dynlinker.cpp.

◆ test01DynamikLinkerAbs()

void test01DynamikLinkerAbs ( const std::string &  libBasename,
const std::string &  relDir 
)

Definition at line 141 of file test_os_dynlinker.cpp.

Here is the caller graph for this function:

◆ TEST_CASE() [2/4]

TEST_CASE ( "Test01"  ,
""  [dll][os] 
)

Definition at line 187 of file test_os_dynlinker.cpp.

◆ test10NativeLibrary()

void test10NativeLibrary ( const std::string &  libBasename,
const std::string &  libDirRel 
)

Definition at line 201 of file test_os_dynlinker.cpp.

Here is the caller graph for this function:

◆ TEST_CASE() [3/4]

TEST_CASE ( "Test10"  ,
""  [orig][NativeLibrary][dll][os] 
)

Definition at line 359 of file test_os_dynlinker.cpp.

◆ TEST_CASE() [4/4]

TEST_CASE ( "Test11"  ,
""  [copy][NativeLibrary][dll][os] 
)

Definition at line 364 of file test_os_dynlinker.cpp.