Lines Matching full:command
22 SessionCommand* command =
27 memcpy(command->contents(), data.data.c_str(), data.data.size());
28 return command;
41 void AssertCommandEqualsData(const TestData& data, SessionCommand* command) {
42 EXPECT_EQ(data.command_id, command->id());
43 EXPECT_EQ(data.data.size(), command->size());
45 memcmp(command->contents(), data.data.c_str(), command->size()) == 0);
176 // Writes a command, appends another command with reset to true, then reads
177 // making sure we only get back the second command.
187 // Write another command, this time resetting the file when appending.