Lines Matching refs:execute
116 int ret = con.execute(V4V6, Join(createCommands, "\n"), nullptr); in createTestChain()
129 con.execute(V4V6, Join(deleteCommands, "\n"), nullptr); in deleteTestChain()
164 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", nullptr)); in TEST_F()
169 EXPECT_EQ(0, con.execute(IptablesTarget::V6, "#Test\n", nullptr)); in TEST_F()
170 EXPECT_EQ(0, con.execute(IptablesTarget::V4, "#Test\n", nullptr)); in TEST_F()
172 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
186 ASSERT_EQ(-1, con.execute(target, "malformed command\n", output)) << in TEST_F()
188 ASSERT_EQ(0, con.execute(target, "#Test\n", output)) << in TEST_F()
197 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
211 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", nullptr)); in TEST_F()
245 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
249 EXPECT_EQ(-1, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
250 EXPECT_EQ(-1, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
253 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
271 EXPECT_EQ(0, con.execute(V4V6, IPTABLES_RESTORE_ADD, nullptr)); in TEST_F()
272 EXPECT_EQ(0, con.execute(V4V6, IPTABLES_RESTORE_DEL, nullptr)); in TEST_F()
301 EXPECT_EQ(-1, con.execute(V4V6, "malformed command\n", nullptr)); in TEST_F()
302 EXPECT_EQ(0, con.execute(V4V6, "#Test\n", nullptr)); in TEST_F()