#include <chrono>
#include <cstddef>
#include <functional>
#include <iostream>
#include <string>
#include <thread>
#include <vector>
#include "class_loader/class_loader.hpp"
#include "class_loader/multi_library_class_loader.hpp"
#include "gtest/gtest.h"
#include "./base.hpp"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
void | run (class_loader::ClassLoader *loader) |
|
| TEST (ClassLoaderTest, basicLoad) |
|
| TEST (ClassLoaderTest, correctLazyLoadUnload) |
|
| TEST (ClassLoaderTest, correctNonLazyLoadUnload) |
|
| TEST (ClassLoaderTest, invalidBase) |
|
| TEST (ClassLoaderTest, loadRefCountingLazy) |
|
| TEST (ClassLoaderTest, loadRefCountingNonLazy) |
|
| TEST (ClassLoaderTest, nonExistentLibrary) |
|
| TEST (ClassLoaderTest, nonExistentPlugin) |
|
| TEST (ClassLoaderTest, threadSafety) |
|
| TEST (MultiClassLoaderTest, lazyLoad) |
|
| TEST (MultiClassLoaderTest, lazyLoadSecondTime) |
|
| TEST (MultiClassLoaderTest, nonLazyLoad) |
|
| TEST (MultiClassLoaderTest, noWarningOnLazyLoad) |
|
void | testMultiClassLoader (bool lazy) |
|
void | wait (int seconds) |
|
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ run()
◆ TEST() [1/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
basicLoad |
|
|
) |
| |
◆ TEST() [2/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
correctLazyLoadUnload |
|
|
) |
| |
◆ TEST() [3/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
correctNonLazyLoadUnload |
|
|
) |
| |
◆ TEST() [4/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
invalidBase |
|
|
) |
| |
◆ TEST() [5/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
loadRefCountingLazy |
|
|
) |
| |
◆ TEST() [6/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
loadRefCountingNonLazy |
|
|
) |
| |
◆ TEST() [7/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
nonExistentLibrary |
|
|
) |
| |
◆ TEST() [8/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
nonExistentPlugin |
|
|
) |
| |
◆ TEST() [9/13]
TEST |
( |
ClassLoaderTest |
, |
|
|
threadSafety |
|
|
) |
| |
◆ TEST() [10/13]
TEST |
( |
MultiClassLoaderTest |
, |
|
|
lazyLoad |
|
|
) |
| |
◆ TEST() [11/13]
TEST |
( |
MultiClassLoaderTest |
, |
|
|
lazyLoadSecondTime |
|
|
) |
| |
◆ TEST() [12/13]
TEST |
( |
MultiClassLoaderTest |
, |
|
|
nonLazyLoad |
|
|
) |
| |
◆ TEST() [13/13]
TEST |
( |
MultiClassLoaderTest |
, |
|
|
noWarningOnLazyLoad |
|
|
) |
| |
◆ testMultiClassLoader()
void testMultiClassLoader |
( |
bool |
lazy | ) |
|
◆ wait()
◆ LIBRARY_1
◆ LIBRARY_2