Namespaces | Macros | Functions
bloaty/third_party/re2/re2/testing/exhaustive_tester.cc File Reference
#include <stdio.h>
#include "util/test.h"
#include "util/logging.h"
#include "util/strutil.h"
#include "re2/testing/exhaustive_tester.h"
#include "re2/testing/tester.h"
Include dependency graph for bloaty/third_party/re2/re2/testing/exhaustive_tester.cc:

Go to the source code of this file.

Namespaces

 re2
 

Macros

#define LOGGING   0
 

Functions

 DEFINE_bool (show_regexps, false, "show regexps during testing")
 
 DEFINE_int32 (max_bad_regexp_inputs, 1, "Stop testing a regular expression after finding this many " "strings that break it.")
 
void re2::EgrepTest (int maxatoms, int maxops, const std::string &alphabet, int maxstrlen, const std::string &stralphabet, const std::string &wrapper)
 
static char * re2::escape (const StringPiece &sp)
 
void re2::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 void re2::PrintResult (const RE2 &re, const StringPiece &input, RE2::Anchor anchor, StringPiece *m, int n)
 

Macro Definition Documentation

◆ LOGGING

#define LOGGING   0

Function Documentation

◆ DEFINE_bool()

DEFINE_bool ( show_regexps  ,
false  ,
"show regexps during testing"   
)

◆ DEFINE_int32()

DEFINE_int32 ( max_bad_regexp_inputs  ,
,
"Stop testing a regular expression after finding this many " "strings that break it."   
)


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:12