Lines Matching refs:interface
192 const std::string interface = "ifc0"; in TEST_F() local
196 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) in TEST_F()
208 mock_iptables.ApplyVpnSetup(usernames, interface, add)); in TEST_F()
213 const std::string interface = "ifc0"; in TEST_F() local
218 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) in TEST_F()
235 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F()
252 mock_iptables.ApplyVpnSetup(usernames, interface, add)); in TEST_F()
257 const std::string interface = "ifc0"; in TEST_F() local
262 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)) in TEST_F()
272 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F()
281 mock_iptables.ApplyVpnSetup(usernames, interface, add)); in TEST_F()
286 const std::string interface = "ifc0"; in TEST_F() local
291 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, _)).Times(0); in TEST_F()
299 ASSERT_FALSE(mock_iptables.ApplyVpnSetup(usernames, interface, add)); in TEST_F()
304 const std::string interface = "ifc0"; in TEST_F() local
309 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F()
319 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)).Times(0); in TEST_F()
323 ASSERT_TRUE(mock_iptables.ApplyVpnSetup(usernames, interface, remove)); in TEST_F()
328 const std::string interface = "ifc0"; in TEST_F() local
333 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, remove)) in TEST_F()
345 EXPECT_CALL(mock_iptables, ApplyMasquerade(interface, add)).Times(0); in TEST_F()
350 ASSERT_FALSE(mock_iptables.ApplyVpnSetup(usernames, interface, remove)); in TEST_F()