Main Page
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
+
Functions
a
b
c
d
e
f
g
i
m
o
p
r
s
t
u
v
w
Variables
Typedefs
Enumerations
Enumerator
+
Classes
Class List
Class Hierarchy
+
Class Members
+
All
_
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
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Typedefs
_
a
b
c
d
e
i
m
p
r
s
t
v
Enumerations
Enumerator
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
i
l
m
n
s
t
v
x
z
+
Functions
a
b
c
e
i
m
n
s
t
+
Variables
_
c
d
e
l
s
t
v
x
Typedefs
+
Macros
a
b
c
e
f
i
m
n
s
t
z
tests
include
environment.h
Go to the documentation of this file.
1
#ifndef ENVIRONMENT_H
2
#define ENVIRONMENT_H
3
4
#include <gtest/gtest.h>
5
6
#include "
filesystem/path.h
"
7
8
class
Environment
:
public
testing::Environment
9
{
10
public
:
11
Environment
(
int
argc,
char
** argv)
12
{
13
if
(argc >= 1)
14
{
15
executable_path
= filesystem::path(argv[0]).make_absolute();
16
}
17
}
18
19
// the absolute path to the test executable
20
filesystem::path
executable_path
;
21
};
22
23
// for accessing the environment within a test
24
extern
Environment
*
environment
;
25
26
#endif
Environment::executable_path
filesystem::path executable_path
Definition:
environment.h:20
path.h
Environment
Definition:
environment.h:8
environment
Environment * environment
Definition:
gtest_tree.cpp:122
Environment::Environment
Environment(int argc, char **argv)
Definition:
environment.h:11
behaviortree_cpp_v3
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Mon Jul 3 2023 02:50:14