blob: 5660944ae6735063ccf77846b0aa39af24796a34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* Include guard. */
#ifndef TEST_HARNESS_H
#define TEST_HARNESS_H
/* Required to build using older versions of g++. */
#include <cinttypes>
extern "C" {
#include "wiredtiger.h"
#include "wt_internal.h"
}
namespace test_harness {
class test {
public:
/*
* All tests will implement this initially, the return value from it will indicate whether the
* test was successful or not.
*/
virtual int run() = 0;
};
} // namespace test_harness
#endif
|