Classes | Functions | Variables
utest.cpp File Reference
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <iostream>
#include <class_loader/class_loader.h>
#include "base.h"
#include <gtest/gtest.h>
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)
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 304 of file utest.cpp.

void run ( class_loader::ClassLoader loader)

Definition at line 168 of file utest.cpp.

TEST ( ClassLoaderTest  ,
basicLoad   
)

Definition at line 12 of file utest.cpp.

TEST ( ClassLoaderTest  ,
correctNonLazyLoadUnload   
)

Definition at line 28 of file utest.cpp.

TEST ( ClassLoaderTest  ,
correctLazyLoadUnload   
)

Definition at line 52 of file utest.cpp.

TEST ( ClassLoaderTest  ,
nonExistentPlugin   
)

Definition at line 83 of file utest.cpp.

TEST ( ClassLoaderTest  ,
nonExistentLibrary   
)

Definition at line 109 of file utest.cpp.

TEST ( ClassLoaderTest  ,
invalidBase   
)

Definition at line 134 of file utest.cpp.

TEST ( ClassLoaderTest  ,
threadSafety   
)

Definition at line 177 of file utest.cpp.

TEST ( ClassLoaderTest  ,
loadRefCountingNonLazy   
)

Definition at line 212 of file utest.cpp.

TEST ( ClassLoaderTest  ,
loadRefCountingLazy   
)

Definition at line 254 of file utest.cpp.

void wait ( int  seconds)

Definition at line 163 of file utest.cpp.


Variable Documentation

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

Definition at line 8 of file utest.cpp.

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

Definition at line 9 of file utest.cpp.



class_loader
Author(s): Mirza Shah
autogenerated on Sun Oct 5 2014 22:50:57