Lines Matching refs:execute
114 int ret = con.execute(V4V6, Join(createCommands, "\n"), nullptr); in createTestChain()
127 con.execute(V4V6, Join(deleteCommands, "\n"), nullptr); in deleteTestChain()
162 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", nullptr)); in TEST_F()
167 EXPECT_EQ(0, con.execute(IptablesTarget::V6, "#Test\n", nullptr)); in TEST_F()
168 EXPECT_EQ(0, con.execute(IptablesTarget::V4, "#Test\n", nullptr)); in TEST_F()
170 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
184 ASSERT_EQ(-1, con.execute(target, "malformed command\n", output)) << in TEST_F()
186 ASSERT_EQ(0, con.execute(target, "#Test\n", output)) << in TEST_F()
195 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
209 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", nullptr)); in TEST_F()
243 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
247 EXPECT_EQ(-1, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
248 EXPECT_EQ(-1, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
251 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
269 EXPECT_EQ(0, con.execute(V4V6, IPTABLES_RESTORE_ADD, nullptr)); in TEST_F()
270 EXPECT_EQ(0, con.execute(V4V6, IPTABLES_RESTORE_DEL, nullptr)); in TEST_F()
299 EXPECT_EQ(-1, con.execute(V4V6, "malformed command\n", nullptr)); in TEST_F()
300 EXPECT_EQ(0, con.execute(V4V6, "#Test\n", nullptr)); in TEST_F()