Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesBaseTest.cpp90 void IptablesBaseTest::expectIptablesCommands(const std::vector<std::string>& expectedCmds) { in expectIptablesCommands() argument
92 for (auto cmd : expectedCmds) { in expectIptablesCommands()
98 void IptablesBaseTest::expectIptablesCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesCommands() argument
100 for (size_t i = 0; i < expectedCmds.size(); i ++) { in expectIptablesCommands()
101 auto target = expectedCmds[i].first; in expectIptablesCommands()
102 auto cmd = expectedCmds[i].second; in expectIptablesCommands()
115 void IptablesBaseTest::expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds) { in expectIptablesRestoreCommands() argument
117 for (auto cmd : expectedCmds) { in expectIptablesRestoreCommands()
123 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands() argument
124 EXPECT_EQ(expectedCmds.size(), sRestoreCmds.size()); in expectIptablesRestoreCommands()
[all …]
DIptablesBaseTest.h30 void expectIptablesCommands(const std::vector<std::string>& expectedCmds);
31 void expectIptablesCommands(const ExpectedIptablesCommands& expectedCmds);
32 void expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds);
33 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);