Lines Matching refs:IptablesBaseTest
35 IptablesBaseTest::IptablesBaseTest() { in IptablesBaseTest() function in IptablesBaseTest
41 int IptablesBaseTest::fake_android_fork_exec(int argc, char* argv[], int *status, bool, bool) { in fake_android_fork_exec()
64 FILE *IptablesBaseTest::fake_popen(const char * /* cmd */, const char *type) { in fake_popen()
74 int IptablesBaseTest::fakeExecIptablesRestoreWithOutput(IptablesTarget target, in fakeExecIptablesRestoreWithOutput()
87 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) { in fakeExecIptablesRestore()
91 int IptablesBaseTest::fakeExecIptablesRestoreCommand(IptablesTarget target, in fakeExecIptablesRestoreCommand()
99 void IptablesBaseTest::expectIptablesRestoreCommands(const std::vector<std::string>& expectedCmds) { in expectIptablesRestoreCommands()
107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands()
116 std::vector<std::string> IptablesBaseTest::sCmds = {};
117 IptablesBaseTest::ExpectedIptablesCommands IptablesBaseTest::sRestoreCmds = {};
118 std::deque<std::string> IptablesBaseTest::sPopenContents = {};
119 std::deque<std::string> IptablesBaseTest::sIptablesRestoreOutput = {};
120 std::deque<int> IptablesBaseTest::sReturnValues = {};