![]() |
Kea 2.2.0
|
Test fixture for testing loading and unloading of hook libraries. More...
#include <lib_load_test_fixture.h>
Public Member Functions | |
LibLoadTest () | |
Constructor. Unloads any previously loaded libraries. More... | |
~LibLoadTest () | |
Destructor. Unloads any previously loaded libraries. More... | |
void | addLibrary (const std::string &library, isc::data::ConstElementPtr parameters) |
Adds a library along with its parameters to the list of libraries to be loaded. More... | |
void | clearLibraries () |
bool | loadLibraries () |
Load all libraries. More... | |
bool | unloadLibraries () |
Unloads all libraries. More... | |
Public Attributes | |
isc::hooks::HookLibsCollection | libraries_ |
Libraries. More... | |
Test fixture for testing loading and unloading of hook libraries.
Definition at line 18 of file lib_load_test_fixture.h.
|
inline |
Constructor. Unloads any previously loaded libraries.
Definition at line 20 of file lib_load_test_fixture.h.
References unloadLibraries().
|
inline |
Destructor. Unloads any previously loaded libraries.
Definition at line 25 of file lib_load_test_fixture.h.
References unloadLibraries().
|
inline |
Adds a library along with its parameters to the list of libraries to be loaded.
library | the path to the library to be loaded |
parameters | the library's parameters in Element format |
Definition at line 33 of file lib_load_test_fixture.h.
References libraries_.
|
inline |
Definition at line 37 of file lib_load_test_fixture.h.
References libraries_.
|
inline |
Load all libraries.
Definition at line 45 of file lib_load_test_fixture.h.
References libraries_, and isc::hooks::HooksManager::loadLibraries().
|
inline |
Unloads all libraries.
Definition at line 55 of file lib_load_test_fixture.h.
References isc::hooks::HooksManager::unloadLibraries().
Referenced by LibLoadTest(), and ~LibLoadTest().
isc::hooks::HookLibsCollection isc::test::LibLoadTest::libraries_ |
Libraries.
Definition at line 62 of file lib_load_test_fixture.h.
Referenced by addLibrary(), clearLibraries(), and loadLibraries().