CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
free_form_cmdline.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Unit test utilities
4
5Author: Diffblue Limited.
6
7\*******************************************************************/
8
9#ifndef CPROVER_TESTING_UTILS_FREE_FORM_CMDLINE_H
10#define CPROVER_TESTING_UTILS_FREE_FORM_CMDLINE_H
11
12#include <util/cmdline.h>
13
18{
19public:
20 void add_flag(std::string flag);
21 void add_option(std::string flag, std::string value);
22
23private:
24 void create_flag(const std::string &flag_name);
25};
26
27#endif // CPROVER_TESTING_UTILS_FREE_FORM_CMDLINE_H
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
An implementation of cmdlinet to be used in tests.
void create_flag(const std::string &flag_name)
Create a command line option that can be set.
void add_flag(std::string flag)
Equivalent to specifying –flag for the command line.
void add_option(std::string flag, std::string value)
Equivalent to specifying –flag value.