• Home
  • Raw
  • Download

Lines Matching refs:con

50   IptablesRestoreController con;  member in IptablesRestoreControllerTest
51 int mDefaultMaxRetries = con.MAX_RETRIES;
52 int mDefaultPollTimeoutMs = con.POLL_TIMEOUT_MS;
65 con.MAX_RETRIES = mDefaultMaxRetries; in TearDown()
66 con.POLL_TIMEOUT_MS = mDefaultPollTimeoutMs; in TearDown()
71 con.Init(); in Init()
75 return con.getIpRestorePid(type); in getIpRestorePid()
114 int ret = con.execute(V4V6, Join(createCommands, "\n"), nullptr); in createTestChain()
127 con.execute(V4V6, Join(deleteCommands, "\n"), nullptr); in deleteTestChain()
154 con.MAX_RETRIES = maxRetries; in setRetryParameters()
155 con.POLL_TIMEOUT_MS = pollTimeoutMs; in setRetryParameters()
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()