24 #include "robot_memory_test_thread.h"
26 #include <baseapp/run.h>
27 #include <core/exception.h>
28 #include <gtest/gtest.h>
37 RobotMemoryTestThread::RobotMemoryTestThread()
38 :
Thread(
"RobotMemoryTestThread",
Thread::OPMODE_WAITFORWAKEUP),
49 ::testing::AddGlobalTestEnvironment((testing::Environment *)test_env_);
56 test_result_ = RUN_ALL_TESTS();
60 fawkes::runtime::quit();
Environment for running Tests of the RobotMemory Necessary for making object such as the robot memory...
virtual void finalize()
Finalize the thread.
virtual void init()
Initialize the thread.
virtual void loop()
Code to execute in the thread.
BlackBoard * blackboard
This is the BlackBoard instance you can use to interact with the BlackBoard.
Thread aspect to use blocked timing.
virtual void log_warn(const char *component, const char *format,...)=0
Log warning message.
Logger * logger
This is the Logger member used to access the logger.
RobotMemory * robot_memory
RobotMemory object for storing and querying information.
Thread class encapsulation of pthreads.
const char * name() const
Get name of thread.
Fawkes library namespace.