Lines Matching refs:output
162 std::string output; in TEST_F() local
172 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
173 EXPECT_EQ("#Test\n#Test\n", output); // One for IPv4 and one for IPv6. in TEST_F()
185 std::string *output = (i % 2) ? &buffer : nullptr; in TEST_F() local
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()
194 std::string output; in TEST_F() local
197 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
243 std::string output; in TEST_F() local
245 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
246 EXPECT_EQ(expected, 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()
254 EXPECT_EQ(expected, output); in TEST_F()