RobotTestingFramework
2.0.1
Robot Testing Framework
|
The PluginLoader is an abstract class for loading a test case plug-in and gives the direct access to the TestCase. More...
#include <robottestingframework/PluginLoader.h>
Public Member Functions | |
PluginLoader ()=default | |
PluginLoader constructor. More... | |
virtual | ~PluginLoader ()=default |
PluginLoader destructor. More... | |
virtual TestCase * | open (const std::string filename)=0 |
open Loads a test case plugin More... | |
virtual void | close ()=0 |
close Unloads the plugin and deletes any allocated memory. More... | |
virtual std::string | getLastError ()=0 |
getLastError gets the last error if any. More... | |
The PluginLoader is an abstract class for loading a test case plug-in and gives the direct access to the TestCase.
The PluginLoader class needs to be implemented by a plugin-specific loader.
Definition at line 36 of file PluginLoader.h.
|
default |
PluginLoader constructor.
|
virtualdefault |
PluginLoader destructor.
|
pure virtual |
close Unloads the plugin and deletes any allocated memory.
Implemented in robottestingframework::plugin::DllPluginLoader, robottestingframework::plugin::PythonPluginLoader, robottestingframework::plugin::RubyPluginLoader, and robottestingframework::plugin::LuaPluginLoader.
|
pure virtual |
getLastError gets the last error if any.
Implemented in robottestingframework::plugin::DllPluginLoader, robottestingframework::plugin::PythonPluginLoader, robottestingframework::plugin::RubyPluginLoader, and robottestingframework::plugin::LuaPluginLoader.
|
pure virtual |
open Loads a test case plugin
filename | the plugin filename |
Implemented in robottestingframework::plugin::DllPluginLoader, robottestingframework::plugin::PythonPluginLoader, robottestingframework::plugin::RubyPluginLoader, and robottestingframework::plugin::LuaPluginLoader.