Functions | Variables
unique_ptr_test.cpp File Reference
#include "base.h"
#include <class_loader/class_loader.h>
#include <class_loader/multi_library_class_loader.h>
#include <gtest/gtest.h>
#include <boost/thread.hpp>
#include <functional>
#include <iostream>
Include dependency graph for unique_ptr_test.cpp:

Go to the source code of this file.

Functions

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)

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 
)

Definition at line 250 of file unique_ptr_test.cpp.

void run ( ClassLoader loader)

Definition at line 95 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
basicLoad   
)

Definition at line 17 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
correctLazyLoadUnload   
)

Definition at line 32 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
nonExistentPlugin   
)

Definition at line 63 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
threadSafety   
)

Definition at line 104 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
loadRefCountingLazy   
)

Definition at line 139 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
lazyLoad   
)

Definition at line 209 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
lazyLoadSecondTime   
)

Definition at line 213 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
nonLazyLoad   
)

Definition at line 217 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
noWarningOnLazyLoad   
)

Definition at line 221 of file unique_ptr_test.cpp.

void testMultiClassLoader ( bool  lazy)

Definition at line 188 of file unique_ptr_test.cpp.

void wait ( int  seconds)

Definition at line 90 of file unique_ptr_test.cpp.


Variable Documentation

const std::string LIBRARY_1 = "libclass_loader_TestPlugins1.so"

Definition at line 11 of file unique_ptr_test.cpp.

const std::string LIBRARY_2 = "libclass_loader_TestPlugins2.so"

Definition at line 12 of file unique_ptr_test.cpp.



class_loader
Author(s): Mirza Shah
autogenerated on Fri Jul 28 2017 05:48:18