jaulib v1.3.6
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
test_os_dynlinker.cpp File Reference
#include <cassert>
#include <cstring>
#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 37 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 41 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 48 of file test_os_dynlinker.cpp.

◆ test01DynamikLinkerAbs()

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

Definition at line 138 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 184 of file test_os_dynlinker.cpp.

◆ test10NativeLibrary()

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

Definition at line 198 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 356 of file test_os_dynlinker.cpp.

◆ TEST_CASE() [4/4]

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

Definition at line 361 of file test_os_dynlinker.cpp.