RobotTestingFramework 2.0.1
Robot Testing Framework
Loading...
Searching...
No Matches
PythonPluginLoader.h
Go to the documentation of this file.
1/*
2 * Robot Testing Framework
3 *
4 * Copyright (C) 2015-2019 Istituto Italiano di Tecnologia (IIT)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21
22#ifndef ROBOTTESTINGFRAMEWORK_PYTHONPLUGINLOADER_H
23#define ROBOTTESTINGFRAMEWORK_PYTHONPLUGINLOADER_H
24
27
28#include <string>
29
30namespace robottestingframework {
31namespace plugin {
32
38{
39
40public:
45
50
57 TestCase* open(const std::string filename) override;
58
63 void close() override;
64
69 std::string getLastError() override;
70
71private:
73};
74
75} // namespace plugin
76} // namespace robottestingframework
77
78#endif // ROBOTTESTINGFRAMEWORK_PYTHONPLUGINLOADER_H
The base class to implememnt a test case.
Definition TestCase.h:42
The PluginLoader is an abstract class for loading a test case plug-in and gives the direct access to ...
The PythonPluginLoader loads a Python test case plug-in and gives the direct access to the TestCase.
PythonPluginLoader()
PythonPluginLoader constructor.
std::string getLastError() override
getLastError gets the last error if any.
void close() override
close Unloads the plugin and deletes any allocated memory.
virtual ~PythonPluginLoader()
PythonPluginLoader destructor.
TestCase * open(const std::string filename) override
open Loads a test case plugin