Merge in build lp
[awesomized/libmemcached] / libtest / runner.h
1 /* uTest Copyright (C) 2011 Data Differential, http://datadifferential.com/
2 *
3 * Use and distribution licensed under the BSD license. See
4 * the COPYING file in the parent directory for full text.
5 */
6
7 #pragma once
8
9
10 namespace libtest {
11
12 /**
13 Structure which houses the actual callers for the test cases contained in
14 the collections.
15 */
16 class Runner {
17 public:
18 virtual test_return_t run(test_callback_fn* func, void *object);
19 virtual test_return_t pre(test_callback_fn* func, void *object);
20 virtual test_return_t post(test_callback_fn* func, void *object);
21
22 Runner();
23
24 virtual ~Runner() { }
25 };
26
27 } // namespace Runner