UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
XMLTestScenario.h
1 /***************************************************************************
2  * Copyright (C) 2014 by Jan Stückrath <jan.stueckrath@uni-due.de> *
3  * *
4  * This program is free software; you can redistribute it and/or modify *
5  * it under the terms of the GNU General Public License as published by *
6  * the Free Software Foundation; either version 2 of the License, or *
7  * (at your option) any later version. *
8  * *
9  * This program is distributed in the hope that it will be useful, *
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12  * GNU General Public License for more details. *
13  * *
14  * You should have received a copy of the GNU General Public License *
15  * along with this program; if not, write to the *
16  * Free Software Foundation, Inc., *
17  * 51 Franklin St, Fifth Floor, Boston, MA 02110, USA *
18  ***************************************************************************/
19 
20 #ifndef XMLTESTSCENARIO_H_
21 #define XMLTESTSCENARIO_H_
22 
23 #include "../basic_types/Scenario.h"
24 
25 namespace uncover {
26  namespace scenarios {
27 
36 
37  public:
38 
43 
47  virtual ~XMLTestScenario();
48 
52  virtual void run() override;
53 
54  protected:
55 
56  virtual void initialize(unordered_map<string,string>& parameters) override;
57 
58  private:
59 
63  vector<string> gxlFilenames;
64 
68  vector<string> gtxlFilenames;
69 
70  };
71 
72  } /* namespace scenarios */
73 } /* namespace uncover */
74 
75 #endif
virtual void initialize(unordered_map< string, string > &parameters) override
Initializes the scenario with the given mapping, where the keys are parameter names.
Definition: XMLTestScenario.cpp:118
vector< string > gxlFilenames
A list of all GXL filenames to be read.
Definition: XMLTestScenario.h:63
virtual ~XMLTestScenario()
Destroys the XMLTestScenario.
Definition: XMLTestScenario.cpp:54
virtual void run() override
Imports and directly exports GXL and GTXL files as specified by the initialization parameters...
Definition: XMLTestScenario.cpp:56
XMLTestScenario()
Generates a new XMLTestScenario.
Definition: XMLTestScenario.cpp:40
A scenario is a subprogram using a set of input parameters to execute some algorithms, producing desired output.
Definition: Scenario.h:36
This Scenario tests the GTXLReader and GTXLWriter classes on correctness.
Definition: XMLTestScenario.h:35
vector< string > gtxlFilenames
A list of all GTXL filenames to be read.
Definition: XMLTestScenario.h:68