Lines Matching refs:expectedCmds
141 void IptablesBaseTest::expectIptablesCommands(const std::vector<std::string>& expectedCmds) { in expectIptablesCommands() argument
143 for (auto cmd : expectedCmds) { in expectIptablesCommands()
149 void IptablesBaseTest::expectIptablesCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesCommands() argument
151 for (size_t i = 0; i < expectedCmds.size(); i ++) { in expectIptablesCommands()
152 auto target = expectedCmds[i].first; in expectIptablesCommands()
153 auto cmd = expectedCmds[i].second; in expectIptablesCommands()
175 void IptablesBaseTest::expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds) { in expectIptablesRestoreCommands() argument
177 for (auto cmd : expectedCmds) { in expectIptablesRestoreCommands()
183 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands() argument
184 EXPECT_EQ(expectedCmds.size(), sRestoreCmds.size()); in expectIptablesRestoreCommands()
185 for (size_t i = 0; i < expectedCmds.size(); i++) { in expectIptablesRestoreCommands()
186 EXPECT_EQ(expectedCmds[i], sRestoreCmds[i]) << in expectIptablesRestoreCommands()