UnCoVer (Using Coverability for Verification)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
RulePreparerTest.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 RULEPREPARERTEST_H_
21 #define RULEPREPARERTEST_H_
22 
23 #include "../basic_types/Scenario.h"
24 #include "../analysis/RulePreparer.h"
25 #include "../graphs/GTS.h"
26 
27 namespace uncover {
28  namespace scenarios {
29 
34 
35  public:
36 
41 
45  virtual ~RulePreparerTest();
46 
50  virtual void run() override;
51 
52  protected:
53 
54  virtual void initialize(unordered_map<string,string>& parameters) override;
55 
56  private:
57 
61  string filename;
62 
67 
72 
73  };
74 
75  } /* namespace graphs */
76 } /* namespace uncover */
77 
78 #endif
shared_ptr< RulePreparer > RulePreparer_sp
Alias for a shared pointer of a RulePreparer.
Definition: RulePreparer.h:105
string filename
Stores the filename and path of the GTS loaded.
Definition: RulePreparerTest.h:61
graphs::GTS_sp gts
Stores the loaded GTS.
Definition: RulePreparerTest.h:66
RulePreparerTest()
Generates a new RulePreparerTest object.
Definition: RulePreparerTest.cpp:45
virtual void initialize(unordered_map< string, string > &parameters) override
Initializes the scenario with the given mapping, where the keys are parameter names.
Definition: RulePreparerTest.cpp:77
This scenario tests the rule preparation functionality.
Definition: RulePreparerTest.h:33
analysis::RulePreparer_sp rulePreparer
Stores the RulePreparer used for preparation.
Definition: RulePreparerTest.h:71
virtual ~RulePreparerTest()
Destroys this RulePreparerTest object.
Definition: RulePreparerTest.cpp:59
virtual void run() override
Prepares the rule set previously given with and without optimization and stores the results as XMl fi...
Definition: RulePreparerTest.cpp:61
A scenario is a subprogram using a set of input parameters to execute some algorithms, producing desired output.
Definition: Scenario.h:36
shared_ptr< GTS > GTS_sp
Alias for a shared pointer to a GTS object.
Definition: GTS.h:164