Functions | Variables
gtest_factory.cpp File Reference
#include <gtest/gtest.h>
#include "action_test_node.h"
#include "condition_test_node.h"
#include "behaviortree_cpp/xml_parsing.h"
#include "../sample_nodes/crossdoor_nodes.h"
Include dependency graph for gtest_factory.cpp:

Go to the source code of this file.

Functions

 TEST (BehaviorTreeFactory, VerifyLargeTree)
 
 TEST (BehaviorTreeFactory, Subtree)
 
 TEST (BehaviorTreeFactory, Issue7)
 

Variables

const std::string xml_text
 
const std::string xml_text_subtree
 

Function Documentation

TEST ( BehaviorTreeFactory  ,
VerifyLargeTree   
)

Definition at line 80 of file gtest_factory.cpp.

TEST ( BehaviorTreeFactory  ,
Subtree   
)

Definition at line 126 of file gtest_factory.cpp.

TEST ( BehaviorTreeFactory  ,
Issue7   
)

Definition at line 165 of file gtest_factory.cpp.

Variable Documentation

const std::string xml_text

Definition at line 9 of file gtest_factory.cpp.

const std::string xml_text_subtree
Initial value:
= R"(
<root main_tree_to_execute = "MainTree" >
<BehaviorTree ID="CrossDoorSubtree">
<Sequence name="door_sequence">
<Decorator ID="Inverter">
<Action ID="IsDoorLocked" />
</Decorator>
<Action ID="OpenDoor" />
<Action ID="PassThroughDoor" />
<Action ID="CloseDoor" />
</Sequence>
</BehaviorTree>
<!-- This tree will include the other one -->
<BehaviorTree ID="MainTree">
<Fallback name="root_selector">
<SubTree ID="CrossDoorSubtree" />
<Action ID="PassThroughWindow" />
</Fallback>
</BehaviorTree>
</root>
)"

Definition at line 53 of file gtest_factory.cpp.



behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sun Feb 3 2019 03:14:32