Lines Matching refs:expected
72 ExpectedIptablesCommands expected = { in TEST_F() local
198 expectIptablesRestoreCommands(expected); in TEST_F()
206 for (size_t i = 0; i < expected.size(); i++) { in TEST_F()
224 ASSERT_NE(std::string::npos, expected[7].second.find("*filter\n-S OUTPUT\n")); in TEST_F()
234 ASSERT_NE(std::string::npos, expected[9].second.find("*filter\n-S OUTPUT\n")); in TEST_F()
239 DELETE_SUBSTRING("-A OUTPUT -j oem_out\n", expected[10].second); in TEST_F()
240 DELETE_SUBSTRING("-A OUTPUT -j st_OUTPUT\n", expected[10].second); in TEST_F()
244 ASSERT_NE(std::string::npos, expected[13].second.find("*mangle\n-S POSTROUTING\n")); in TEST_F()
253 DELETE_SUBSTRING("-A POSTROUTING -j oem_mangle_post\n", expected[14].second); in TEST_F()
254 DELETE_SUBSTRING("-A POSTROUTING -j bw_mangle_POSTROUTING\n", expected[14].second); in TEST_F()
255 DELETE_SUBSTRING("-A POSTROUTING -j idletimer_mangle_POSTROUTING\n", expected[14].second); in TEST_F()
264 ASSERT_EQ(expectedCmd14, expected[14].second); in TEST_F()
268 expectIptablesRestoreCommands(expected); in TEST_F()