Lines Matching refs:output
160 std::string output; in TEST_F() local
170 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
171 EXPECT_EQ("#Test\n#Test\n", output); // One for IPv4 and one for IPv6. in TEST_F()
183 std::string *output = (i % 2) ? &buffer : nullptr; in TEST_F() local
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()
192 std::string output; in TEST_F() local
195 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output)); in TEST_F()
241 std::string output; in TEST_F() local
243 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output)); in TEST_F()
244 EXPECT_EQ(expected, 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()
252 EXPECT_EQ(expected, output); in TEST_F()