$search

plugins_test.cpp File Reference

#include "unit.hpp"
#include <boost/filesystem.hpp>
#include "TaskContext.hpp"
#include "plugin/Plugin.hpp"
#include "plugin/PluginLoader.hpp"
Include dependency graph for plugins_test.cpp:

Go to the source code of this file.

Classes

class  PluginsFixture

Functions

 BOOST_AUTO_TEST_CASE (testServicePlugin)
 BOOST_AUTO_TEST_CASE (testServicePlugins)
 BOOST_AUTO_TEST_CASE (testTypePlugin)
 BOOST_AUTO_TEST_CASE (testTypePlugins)
 BOOST_AUTO_TEST_CASE (testLoadableLibrary)
 BOOST_AUTO_TEST_CASE (testExtensionVersion)
RTT_API bool isExtensionVersion (const std::string &ext)
RTT_API bool isLoadableLibrary (const boost::filesystem::path &filename)

Function Documentation

BOOST_AUTO_TEST_CASE ( testServicePlugin   ) 

Definition at line 228 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testServicePlugins   ) 

Definition at line 216 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testTypePlugin   ) 

loads a single library/plugin with a given path.

Definition at line 207 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testTypePlugins   ) 

loads a complete project with a given path

Definition at line 193 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testLoadableLibrary   ) 

Definition at line 81 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testExtensionVersion   ) 

Definition at line 57 of file plugins_test.cpp.

RTT_API bool isExtensionVersion ( const std::string &  ext  ) 

Determine whether a file extension is actually part of a library version

Returns:
true if ext satisfies "^\.[:digit:]+$"

So for example returns true for ".1", ".12", ".123" returns false for ".a", "1", "123", ".123 ", "a", "", ".1.a", ".1a2"

Definition at line 103 of file PluginLoader.cpp.

RTT_API bool isLoadableLibrary ( const boost::filesystem::path &  filename  ) 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Mar 1 16:26:08 2013