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();
virtual void init()
Initialize the thread.
Fawkes library namespace.
Thread class encapsulation of pthreads.
virtual void finalize()
Finalize the thread.
Logger * logger
This is the Logger member used to access the logger.
Environment for running Tests of the RobotMemory Necessary for making object such as the robot memory...
Thread aspect to use blocked timing.
const char * name() const
Get name of thread.
virtual void log_warn(const char *component, const char *format,...)=0
Log warning message.
RobotMemory * robot_memory
RobotMemory object for storing and querying information.
virtual void loop()
Code to execute in the thread.
BlackBoard * blackboard
This is the BlackBoard instance you can use to interact with the BlackBoard.