Go to the documentation of this file.
5 #ifndef RE2_TESTING_EXHAUSTIVE_TESTER_H_
6 #define RE2_TESTING_EXHAUSTIVE_TESTER_H_
12 #include "util/util.h"
13 #include "re2/testing/regexp_generator.h"
14 #include "re2/testing/string_generator.h"
20 #define __has_feature(x) 0
26 #elif __has_feature(address_sanitizer) || __has_feature(memory_sanitizer) || __has_feature(thread_sanitizer)
41 class ExhaustiveTester :
public RegexpGenerator {
45 const std::vector<std::string>&
alphabet,
46 const std::vector<std::string>&
ops,
48 const std::vector<std::string>& stralphabet,
52 strgen_(maxstrlen, stralphabet),
90 const std::vector<std::string>&
alphabet,
91 const std::vector<std::string>&
ops,
93 const std::vector<std::string>& stralphabet,
105 #endif // RE2_TESTING_EXHAUSTIVE_TESTER_H_
static const uint8_t seed[20]
void ExhaustiveTest(int maxatoms, int maxops, const std::vector< std::string > &alphabet, const std::vector< std::string > &ops, int maxstrlen, const std::vector< std::string > &stralphabet, const std::string &wrapper, const std::string &topwrapper)
static const char alphabet[]
ExhaustiveTester(int maxatoms, int maxops, const std::vector< std::string > &alphabet, const std::vector< std::string > &ops, int maxstrlen, const std::vector< std::string > &stralphabet, const std::string &wrapper, const std::string &topwrapper)
ExhaustiveTester & operator=(const ExhaustiveTester &)=delete
void EgrepTest(int maxatoms, int maxops, const std::string &alphabet, int maxstrlen, const std::string &stralphabet, const std::string &wrapper)
grpc_channel_wrapper * wrapper
const bool RE2_DEBUG_MODE
void HandleRegexp(const std::string ®exp)
void RandomStrings(int32_t seed, int32_t count)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:58:20