Classes | Functions | Variables
utest.cpp File Reference
#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"
Include dependency graph for utest.cpp:

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 
)

Definition at line 339 of file utest.cpp.

void run ( class_loader::ClassLoader loader)

Definition at line 167 of file utest.cpp.

TEST ( ClassLoaderTest  ,
basicLoad   
)

Definition at line 47 of file utest.cpp.

TEST ( ClassLoaderTest  ,
correctNonLazyLoadUnload   
)

Definition at line 59 of file utest.cpp.

TEST ( ClassLoaderTest  ,
correctLazyLoadUnload   
)

Definition at line 77 of file utest.cpp.

TEST ( ClassLoaderTest  ,
nonExistentPlugin   
)

Definition at line 102 of file utest.cpp.

TEST ( ClassLoaderTest  ,
nonExistentLibrary   
)

Definition at line 123 of file utest.cpp.

TEST ( ClassLoaderTest  ,
invalidBase   
)

Definition at line 142 of file utest.cpp.

TEST ( ClassLoaderTest  ,
threadSafety   
)

Definition at line 175 of file utest.cpp.

TEST ( ClassLoaderTest  ,
loadRefCountingNonLazy   
)

Definition at line 208 of file utest.cpp.

TEST ( ClassLoaderTest  ,
loadRefCountingLazy   
)

Definition at line 244 of file utest.cpp.

TEST ( MultiClassLoaderTest  ,
lazyLoad   
)

Definition at line 305 of file utest.cpp.

TEST ( MultiClassLoaderTest  ,
lazyLoadSecondTime   
)

Definition at line 308 of file utest.cpp.

TEST ( MultiClassLoaderTest  ,
nonLazyLoad   
)

Definition at line 311 of file utest.cpp.

TEST ( MultiClassLoaderTest  ,
noWarningOnLazyLoad   
)

Definition at line 314 of file utest.cpp.

void testMultiClassLoader ( bool  lazy)

Definition at line 287 of file utest.cpp.

void wait ( int  seconds)

Definition at line 162 of file utest.cpp.

Variable Documentation

const char LIBRARY_1[] = "libclass_loader_TestPlugins1.so"

Definition at line 43 of file utest.cpp.

const char LIBRARY_2[] = "libclass_loader_TestPlugins2.so"

Definition at line 44 of file utest.cpp.



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