#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <iostream>
#include <string>
#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.
Classes |
class | InvalidBase |
Functions |
int | main (int argc, char **argv) |
void | run (class_loader::ClassLoader *loader) |
| TEST (ClassLoaderTest, basicLoad) |
| TEST (ClassLoaderTest, correctNonLazyLoadUnload) |
| TEST (ClassLoaderTest, correctLazyLoadUnload) |
| TEST (ClassLoaderTest, nonExistentPlugin) |
| TEST (ClassLoaderTest, nonExistentLibrary) |
| TEST (ClassLoaderTest, invalidBase) |
| TEST (ClassLoaderTest, threadSafety) |
| TEST (ClassLoaderTest, loadRefCountingNonLazy) |
| TEST (ClassLoaderTest, loadRefCountingLazy) |
| TEST (MultiClassLoaderTest, lazyLoad) |
| TEST (MultiClassLoaderTest, lazyLoadSecondTime) |
| TEST (MultiClassLoaderTest, nonLazyLoad) |
| TEST (MultiClassLoaderTest, noWarningOnLazyLoad) |
void | testMultiClassLoader (bool lazy) |
void | wait (int seconds) |
Variables |
const char | LIBRARY_1 [] = "libclass_loader_TestPlugins1.so" |
const char | LIBRARY_2 [] = "libclass_loader_TestPlugins2.so" |
Function Documentation
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
basicLoad |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
correctNonLazyLoadUnload |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
correctLazyLoadUnload |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
nonExistentPlugin |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
nonExistentLibrary |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
invalidBase |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
threadSafety |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
loadRefCountingNonLazy |
|
|
) |
| |
TEST |
( |
ClassLoaderTest |
, |
|
|
loadRefCountingLazy |
|
|
) |
| |
TEST |
( |
MultiClassLoaderTest |
, |
|
|
lazyLoad |
|
|
) |
| |
TEST |
( |
MultiClassLoaderTest |
, |
|
|
lazyLoadSecondTime |
|
|
) |
| |
TEST |
( |
MultiClassLoaderTest |
, |
|
|
nonLazyLoad |
|
|
) |
| |
TEST |
( |
MultiClassLoaderTest |
, |
|
|
noWarningOnLazyLoad |
|
|
) |
| |
Variable Documentation
const char LIBRARY_1[] = "libclass_loader_TestPlugins1.so" |
const char LIBRARY_2[] = "libclass_loader_TestPlugins2.so" |