Minsky
coverage.h
Go to the documentation of this file.
1
/*
2
Temporarily in Minsky for development purposes, but will be moved to EcoLab
3
*/
4
/*
5
Provides support for regression test coverage analysis of TCL code
6
*/
7
8
#include "
str.h
"
9
#include <cachedDBM.h>
10
namespace
minsky
11
{
12
using namespace
ecolab
;
13
struct
Coverage
:
public
cachedDBM<string,unsigned>
14
{
15
// copy operators just provide a default (inactive) db file
16
Coverage
&
operator=
(
const
Coverage
&) {
return
*
this
;}
17
Coverage
(
const
Coverage
&) {}
18
Coverage
() {}
19
static
string
key(
const
string
& file,
int
line);
20
// add a code coverage point to the database
21
void
add(
const
string
& file,
int
line);
22
};
23
}
24
25
#include "coverage.cd"
minsky::Coverage::Coverage
Coverage()
Definition:
coverage.h:18
str.h
minsky
Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state cha...
Definition:
constMap.h:22
minsky::Coverage
Definition:
coverage.h:13
minsky::Coverage::Coverage
Coverage(const Coverage &)
Definition:
coverage.h:17
ecolab
Definition:
intrusiveMap.h:186
minsky::Coverage::operator=
Coverage & operator=(const Coverage &)
Definition:
coverage.h:16
engine
coverage.h
Generated on Tue Mar 18 2025 13:00:33 for Minsky by
1.8.14