| 642 | } |
| 643 | |
| 644 | bool Tester::TestCase(const StringPiece& text, const StringPiece& context, |
| 645 | Prog::Anchor anchor) { |
| 646 | bool okay = true; |
| 647 | for (size_t i = 0; i < v_.size(); i++) |
| 648 | okay &= (!v_[i]->error() && v_[i]->RunCase(text, context, anchor)); |
| 649 | return okay; |
| 650 | } |
| 651 | |
| 652 | static Prog::Anchor anchors[] = { |
| 653 | Prog::kAnchored, |