Skip to content

Commit ac90923

Browse files
lucasccordeirotautschnig
authored andcommitted
implement get_coverage method
Signed-off-by: Lucas Cordeiro <[email protected]>
1 parent d93882d commit ac90923

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/goto-instrument/cover.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Date: May 2016
2222
#include <util/message.h>
2323
#include <util/string2int.h>
2424

25+
#include <json/json_parser.h>
26+
2527
class basic_blockst
2628
{
2729
public:

src/goto-instrument/cover.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ class message_handlert;
2222
class coverage_goalst
2323
{
2424
public:
25+
void get_coverage(const std::string &coverage,
26+
message_handlert &message_handler);
2527
void set_goals(std::string goal);
2628
bool is_existing_goal(source_locationt source_location);
2729

0 commit comments

Comments
 (0)