#include "unit.hpp"
#include <boost/filesystem.hpp>
#include "TaskContext.hpp"
#include "plugin/Plugin.hpp"
#include "plugin/PluginLoader.hpp"
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) |
BOOST_AUTO_TEST_CASE | ( | testExtensionVersion | ) |
Definition at line 57 of file plugins_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testLoadableLibrary | ) |
Definition at line 81 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 | ( | testTypePlugin | ) |
loads a single library/plugin with a given path.
Definition at line 207 of file plugins_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testServicePlugins | ) |
Definition at line 216 of file plugins_test.cpp.
BOOST_AUTO_TEST_CASE | ( | testServicePlugin | ) |
Definition at line 228 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
So for example returns true for ".1", ".12", ".123" returns false for ".a", "1", "123", ".123 ", "a", "", ".1.a", ".1a2"
Definition at line 114 of file PluginLoader.cpp.
RTT_API bool isLoadableLibrary | ( | const boost::filesystem::path & | filename | ) |