#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <iostream>
#include <class_loader/class_loader.h>
#include "base.h"
#include <gtest/gtest.h>
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) |
void | wait (int seconds) |
Variables |
const std::string | LIBRARY_1 = "libclass_loader_TestPlugins1.so" |
const std::string | 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 |
|
|
) |
| |
Variable Documentation
const std::string LIBRARY_1 = "libclass_loader_TestPlugins1.so" |
const std::string LIBRARY_2 = "libclass_loader_TestPlugins2.so" |