File: main.cc

package info (click to toggle)
kcov 11-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 464 kB
  • ctags: 526
  • sloc: cpp: 3,542; ansic: 770; python: 58; makefile: 41
file content (20 lines) | stat: -rw-r--r-- 287 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "test.hh"
#include "mocks/mock-engine.hh"

using namespace kcov;

IEngine &IEngine::getInstance()
{
	static MockEngine *instance;

	if (!instance)
		instance = new MockEngine();

	return *instance;
}


int main(int argc, const char *argv[])
{
	return crpcut::run(argc, argv);
}