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

Go to the source code of this file.

Namespaces

 re2
 

Macros

#define LOGGING   0
 

Functions

 DEFINE_FLAG (bool, show_regexps, false, "show regexps during testing")
 
 DEFINE_FLAG (int, 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

Definition at line 25 of file re2/re2/testing/exhaustive_tester.cc.

Function Documentation

◆ DEFINE_FLAG() [1/2]

DEFINE_FLAG ( bool  ,
show_regexps  ,
false  ,
"show regexps during testing"   
)

◆ DEFINE_FLAG() [2/2]

DEFINE_FLAG ( int  ,
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