Lines Matching refs:expected
72 ExpectedIptablesCommands expected = { in TEST_F() local
196 expectIptablesRestoreCommands(expected); in TEST_F()
204 for (size_t i = 0; i < expected.size(); i++) { in TEST_F()
222 ASSERT_NE(std::string::npos, expected[7].second.find("*filter\n-S OUTPUT\n")); in TEST_F()
232 ASSERT_NE(std::string::npos, expected[9].second.find("*filter\n-S OUTPUT\n")); in TEST_F()
237 DELETE_SUBSTRING("-A OUTPUT -j oem_out\n", expected[10].second); in TEST_F()
238 DELETE_SUBSTRING("-A OUTPUT -j st_OUTPUT\n", expected[10].second); in TEST_F()
242 ASSERT_NE(std::string::npos, expected[13].second.find("*mangle\n-S POSTROUTING\n")); in TEST_F()
251 DELETE_SUBSTRING("-A POSTROUTING -j oem_mangle_post\n", expected[14].second); in TEST_F()
252 DELETE_SUBSTRING("-A POSTROUTING -j bw_mangle_POSTROUTING\n", expected[14].second); in TEST_F()
253 DELETE_SUBSTRING("-A POSTROUTING -j idletimer_mangle_POSTROUTING\n", expected[14].second); in TEST_F()
262 ASSERT_EQ(expectedCmd14, expected[14].second); in TEST_F()
266 expectIptablesRestoreCommands(expected); in TEST_F()