Skip to content

Commit 5cbfc37

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

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
@@ -20,6 +20,8 @@ Date: May 2016
2020
#include <util/message.h>
2121
#include <util/string2int.h>
2222

23+
#include <json/json_parser.h>
24+
2325
#include "cover.h"
2426

2527
class basic_blockst

src/goto-instrument/cover.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ Date: May 2016
2020
class coverage_goalst
2121
{
2222
public:
23+
void get_coverage(const std::string &coverage,
24+
message_handlert &message_handler);
2325
void set_goals(std::string goal);
2426
bool is_existing_goal(source_locationt source_location);
2527

0 commit comments

Comments
 (0)