Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
thread safe dynarray concept implementation
[simgrid.git] / win32_test_app / include / TTestRunner.h
1 #ifndef __TEST_RUNNER_H__
2 #define __TEST_RUNNER_H__
3
4 #include <TTestSuite.h>
5
6
7 /*
8  * Declaration of the s_TestRunner structure, which represents
9  * a test runner used to run suites of tests.
10  */
11 typedef struct s_TestRunner
12 {
13         Buffer_t buffer;                                        /* a single buffer                                              */
14         TestSuite_t testSuite;                  /* the test suite to run                                */
15                 
16 }s_TestRunner_t,*TestRunner_t;
17
18
19 /* 
20  * s_TestRunner structure connected functions.
21  */
22  
23 /* 
24  * Create an new s_TestRunner struct and 
25  * returns a pointer to self.
26  */
27 TestRunner_t TestRunner_new(void);
28
29 /* 
30  * Initialize the s_TestRunner struct.
31  */
32 errno_t TestRunner_initialize(TestRunner_t runner,int argc,char *argv[]);
33
34 /* 
35  * Launch the test runner.
36  */
37 void TestRunner_run(TestRunner_t runner);
38
39 /* 
40  * Free the s_TestRunner.
41  */
42 void TestRunner_free(TestRunner_t runner);
43
44
45
46
47
48
49
50 #endif /* #ifndef __TestRunner_H__ */