TestRegistry.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
13 //
14 // TESTREGISTRY.H
15 //
16 // TestRegistry is a singleton collection of all the tests to run in a system.
17 //
19 
20 #ifndef TESTREGISTRY_H
21 #define TESTREGISTRY_H
22 
23 
24 class Test;
25 class TestResult;
26 
27 
28 
30 {
31 public:
32  static void addTest (Test *test);
33  static int runAllTests (TestResult& result);
34 
35 private:
36 
37  static TestRegistry& instance ();
38  void add (Test *test);
39  int run (TestResult& result);
40 
41 
44 
45 };
46 
47 
48 
49 
50 #endif
static int runAllTests(TestResult &result)
int run(TestResult &result)
Definition: test.py:1
Definition: Test.h:30
Test * lastTest
Definition: TestRegistry.h:43
static void addTest(Test *test)
void add(Test *test)
Values result
static TestRegistry & instance()
Test * tests
Definition: TestRegistry.h:42


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:39:15