policy_opcodes_unittest.cc | 153 MatchContext mc1; local 165 EXPECT_EQ(EVAL_TRUE, op->Evaluate(&ppb1, 1, &mc1)); 246 MatchContext mc1; local 247 EXPECT_EQ(EVAL_TRUE, op1->Evaluate(&pp_tc1, 1, &mc1)); 248 EXPECT_TRUE(_countof(txt2) == mc1.position + 1); 251 EXPECT_EQ(EVAL_FALSE, op1->Evaluate(&pp_tc1, 1, &mc1)); 252 EXPECT_TRUE(_countof(txt2) == mc1.position + 1); 259 EXPECT_EQ(EVAL_TRUE, op3->Evaluate(&pp_tc1, 1, &mc1)); 260 EXPECT_TRUE(_countof(txt3) + _countof(txt2) == mc1.position + 2); 268 EXPECT_EQ(EVAL_TRUE, op4->Evaluate(&pp_tc1, 1, &mc1)); 317 MatchContext mc1; local 335 MatchContext mc1; local [all...] |