#include <class_loader/class_loader.hpp>
#include <class_loader/multi_library_class_loader.hpp>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
#include <functional>
#include <iostream>
#include <string>
#include <vector>
#include "./base.hpp"
Go to the source code of this file.
|
int | main (int argc, char **argv) |
|
void | run (ClassLoader *loader) |
|
| TEST (ClassLoaderUniquePtrTest, basicLoad) |
|
| TEST (ClassLoaderUniquePtrTest, correctLazyLoadUnload) |
|
| TEST (ClassLoaderUniquePtrTest, nonExistentPlugin) |
|
| TEST (ClassLoaderUniquePtrTest, threadSafety) |
|
| TEST (ClassLoaderUniquePtrTest, loadRefCountingLazy) |
|
| TEST (MultiClassLoaderUniquePtrTest, lazyLoad) |
|
| TEST (MultiClassLoaderUniquePtrTest, lazyLoadSecondTime) |
|
| TEST (MultiClassLoaderUniquePtrTest, nonLazyLoad) |
|
| TEST (MultiClassLoaderUniquePtrTest, noWarningOnLazyLoad) |
|
void | testMultiClassLoader (bool lazy) |
|
void | wait (int seconds) |
|
|
const char | LIBRARY_1 [] = "libclass_loader_TestPlugins1.so" |
|
const char | LIBRARY_2 [] = "libclass_loader_TestPlugins2.so" |
|
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
TEST |
( |
ClassLoaderUniquePtrTest |
, |
|
|
basicLoad |
|
|
) |
| |
TEST |
( |
ClassLoaderUniquePtrTest |
, |
|
|
correctLazyLoadUnload |
|
|
) |
| |
TEST |
( |
ClassLoaderUniquePtrTest |
, |
|
|
nonExistentPlugin |
|
|
) |
| |
TEST |
( |
ClassLoaderUniquePtrTest |
, |
|
|
threadSafety |
|
|
) |
| |
TEST |
( |
ClassLoaderUniquePtrTest |
, |
|
|
loadRefCountingLazy |
|
|
) |
| |
TEST |
( |
MultiClassLoaderUniquePtrTest |
, |
|
|
lazyLoad |
|
|
) |
| |
TEST |
( |
MultiClassLoaderUniquePtrTest |
, |
|
|
lazyLoadSecondTime |
|
|
) |
| |
TEST |
( |
MultiClassLoaderUniquePtrTest |
, |
|
|
nonLazyLoad |
|
|
) |
| |
TEST |
( |
MultiClassLoaderUniquePtrTest |
, |
|
|
noWarningOnLazyLoad |
|
|
) |
| |
void testMultiClassLoader |
( |
bool |
lazy | ) |
|
const char LIBRARY_1[] = "libclass_loader_TestPlugins1.so" |
const char LIBRARY_2[] = "libclass_loader_TestPlugins2.so" |