Fawkes API
Fawkes Development Version
|
Class for Tests of the RobotMemory. More...
#include <robot_memory_test.h>
Protected Member Functions | |
virtual void | SetUp () |
Setup for each test. More... | |
::testing::AssertionResult | contains_pairs (const bsoncxx::document::view_or_value &obj, const bsoncxx::document::view_or_value &exp) |
Function for testing if a document contains all key-value pairs of another document. More... | |
::testing::AssertionResult | contains_pairs (mongocxx::cursor &cursor, const bsoncxx::document::view_or_value &exp) |
Function for testing if a cursor to a query results contains all key-value pairs of another document. More... | |
Protected Attributes | |
RobotMemory * | robot_memory |
Access to Robot Memory. More... | |
fawkes::BlackBoard * | blackboard |
Access to blackboard. More... | |
Class for Tests of the RobotMemory.
Definition at line 73 of file robot_memory_test.h.
|
protected |
Function for testing if a document contains all key-value pairs of another document.
obj | Document that should be tested |
exp | Document containing all expected key-value pairs |
Definition at line 257 of file robot_memory_test.cpp.
|
protected |
Function for testing if a cursor to a query results contains all key-value pairs of another document.
cursor | Cursor to a query result that should be tested |
exp | Document containing all expected key-value pairs |
Definition at line 279 of file robot_memory_test.cpp.
|
protectedvirtual |
Setup for each test.
Definition at line 43 of file robot_memory_test.cpp.
References RobotMemoryTestEnvironment::blackboard, and RobotMemoryTestEnvironment::robot_memory.
|
protected |
Access to blackboard.
Definition at line 80 of file robot_memory_test.h.
|
protected |
Access to Robot Memory.
Definition at line 78 of file robot_memory_test.h.