Classes | Functions
plugins_test.cpp File Reference
#include "unit.hpp"
#include <boost/filesystem.hpp>
#include "TaskContext.hpp"
#include "plugin/Plugin.hpp"
#include "plugin/PluginLoader.hpp"
#include "internal/GlobalService.hpp"
Include dependency graph for plugins_test.cpp:

Go to the source code of this file.

Classes

class  PluginsFixture
 

Functions

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

Function Documentation

BOOST_AUTO_TEST_CASE ( testExtensionVersion  )

Definition at line 58 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testLoadableLibrary  )

Definition at line 82 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testTypePlugins  )

loads a complete project with a given path

Definition at line 194 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testTypePlugin  )

loads a single library/plugin with a given path.

Definition at line 208 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testServicePlugins  )

Definition at line 217 of file plugins_test.cpp.

BOOST_AUTO_TEST_CASE ( testServicePlugin  )

Definition at line 234 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 105 of file PluginLoader.cpp.

RTT_API bool isLoadableLibrary ( const boost::filesystem::path &  filename)


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:45