Home
last modified time | relevance | path

Searched refs:expectedCmds (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DIptablesBaseTest.cpp141 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()
[all …]
DIptablesBaseTest.h38 void expectIptablesCommands(const std::vector<std::string>& expectedCmds);
39 void expectIptablesCommands(const ExpectedIptablesCommands& expectedCmds);
41 void expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds);
42 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);