Go to the documentation of this file.
5 #ifndef RE2_TESTING_TESTER_H_
6 #define RE2_TESTING_TESTER_H_
13 #include "re2/stringpiece.h"
15 #include "re2/regexp.h"
17 #include "util/pcre.h"
40 e =
static_cast<Engine>(e+1);
44 return static_cast<Engine>(
static_cast<int>(e)+
i);
112 std::vector<TestInstance*>
v_;
123 #endif // RE2_TESTING_TESTER_H_
Tester & operator=(const Tester &)=delete
void RunSearch(Engine type, const StringPiece &text, const StringPiece &context, Prog::Anchor anchor, Result *result)
bool TestRegexpOnText(const StringPiece ®exp, const StringPiece &text)
std::vector< TestInstance * > v_
TestInstance(const StringPiece ®exp, Prog::MatchKind kind, Regexp::ParseFlags flags)
static Engine operator+(Engine e, int i)
bool TestInput(const StringPiece &text)
Regexp::ParseFlags flags_
const StringPiece regexp_str_
static void operator++(Engine &e, int unused)
void LogMatch(const char *prefix, Engine e, const StringPiece &text, const StringPiece &context, Prog::Anchor anchor)
bool TestInputInContext(const StringPiece &text, const StringPiece &context)
bool RunCase(const StringPiece &text, const StringPiece &context, Prog::Anchor anchor)
static const char prefix[]
TestInstance & operator=(const TestInstance &)=delete
bool TestCase(const StringPiece &text, const StringPiece &context, Prog::Anchor anchor)
Regexp::ParseFlags flags()
grpc::ClientContext context
Tester(const StringPiece ®exp)
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:32