Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Enumerations
a
c
d
e
f
g
i
k
l
m
n
p
q
r
s
t
u
+
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
!
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Enumerations
a
b
c
d
f
k
l
m
n
o
p
r
s
t
v
z
+
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Related Functions
:
a
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
u
v
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
x
z
Enumerations
+
Enumerator
c
e
f
g
i
l
m
n
o
p
r
s
t
u
v
x
y
z
+
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
CppUnitLite
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
29
class
TestRegistry
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
42
Test
*
tests
;
43
Test
*
lastTest
;
44
45
};
46
47
48
49
50
#endif
TestRegistry::runAllTests
static int runAllTests(TestResult &result)
Definition:
TestRegistry.cpp:27
TestRegistry::run
int run(TestResult &result)
Definition:
TestRegistry.cpp:55
test
Definition:
test.py:1
Test
Definition:
Test.h:30
TestRegistry::lastTest
Test * lastTest
Definition:
TestRegistry.h:43
TestRegistry::addTest
static void addTest(Test *test)
Definition:
TestRegistry.cpp:21
TestRegistry::add
void add(Test *test)
Definition:
TestRegistry.cpp:40
result
Values result
Definition:
OdometryOptimize.cpp:8
TestRegistry::instance
static TestRegistry & instance()
Definition:
TestRegistry.cpp:33
TestRegistry::tests
Test * tests
Definition:
TestRegistry.h:42
TestRegistry
Definition:
TestRegistry.h:29
TestResult
Definition:
TestResult.h:26
gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:39:15