Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesBaseTest.cpp99 void IptablesBaseTest::expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds) { in expectIptablesRestoreCommands() argument
101 for (const auto& cmd : expectedCmds) { in expectIptablesRestoreCommands()
107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands() argument
108 EXPECT_EQ(expectedCmds.size(), sRestoreCmds.size()); in expectIptablesRestoreCommands()
109 for (size_t i = 0; i < expectedCmds.size(); i++) { in expectIptablesRestoreCommands()
110 EXPECT_EQ(expectedCmds[i], sRestoreCmds[i]) << in expectIptablesRestoreCommands()
DIptablesBaseTest.h37 void expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds);
38 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);
DControllersTest.cpp51 ExpectedIptablesCommands expectedCmds = { in TEST_F() local
67 expectIptablesRestoreCommands(expectedCmds); in TEST_F()