6 #include <gtest/gtest.h> 23 dummy.
add(
"0#8200",
"701#00" ,
false);
25 std::list<std::string> expected;
28 expected.push_back(
"0#8200");
29 expected.push_back(
"701#00");
36 int main(
int argc,
char **argv){
37 testing::InitGoogleTest(&argc, argv);
38 return RUN_ALL_TESTS();
TEST_F(DummyInterfaceTest, testCase1)
std::string tostring(const Header &h, bool lc)
Frame toframe(const std::string &s)
std::list< std::string > responses
void handle(const can::Frame &f)
CommInterface::FrameListenerConstSharedPtr FrameListenerConstSharedPtr
can::FrameListenerConstSharedPtr listener
bool add(const std::string &k, const Frame &v, bool multi)
int main(int argc, char **argv)
can::DummyInterface dummy
virtual bool send(const Frame &msg)