Functions | Variables
unique_ptr_test.cpp File Reference
#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"
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 char LIBRARY_1 [] = "libclass_loader_TestPlugins1.so"
 
const char LIBRARY_2 [] = "libclass_loader_TestPlugins2.so"
 

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 246 of file unique_ptr_test.cpp.

void run ( ClassLoader loader)

Definition at line 113 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
basicLoad   
)

Definition at line 50 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
correctLazyLoadUnload   
)

Definition at line 61 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
nonExistentPlugin   
)

Definition at line 86 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
threadSafety   
)

Definition at line 121 of file unique_ptr_test.cpp.

TEST ( ClassLoaderUniquePtrTest  ,
loadRefCountingLazy   
)

Definition at line 151 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
lazyLoad   
)

Definition at line 212 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
lazyLoadSecondTime   
)

Definition at line 215 of file unique_ptr_test.cpp.

TEST ( MultiClassLoaderUniquePtrTest  ,
nonLazyLoad   
)

Definition at line 218 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 194 of file unique_ptr_test.cpp.

void wait ( int  seconds)

Definition at line 108 of file unique_ptr_test.cpp.

Variable Documentation

const char LIBRARY_1[] = "libclass_loader_TestPlugins1.so"

Definition at line 44 of file unique_ptr_test.cpp.

const char LIBRARY_2[] = "libclass_loader_TestPlugins2.so"

Definition at line 45 of file unique_ptr_test.cpp.



class_loader
Author(s): Mirza Shah
autogenerated on Wed Jun 5 2019 22:08:15