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