Namespaces | Functions
bloaty/third_party/re2/re2/testing/random_test.cc File Reference
#include <stdio.h>
#include <string>
#include <vector>
#include "util/test.h"
#include "re2/testing/exhaustive_tester.h"
Include dependency graph for bloaty/third_party/re2/re2/testing/random_test.cc:

Go to the source code of this file.

Namespaces

 re2
 

Functions

 DEFINE_int32 (regexpcount, 100, "How many random regexps to generate.")
 
 DEFINE_int32 (regexpseed, 404, "Random regexp seed.")
 
 DEFINE_int32 (stringcount, 100, "How many random strings to generate.")
 
 DEFINE_int32 (stringseed, 200, "Random string seed.")
 
static void re2::RandomTest (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)
 
 re2::TEST (Random, BigEgrepCaptures)
 
 re2::TEST (Random, BigEgrepLiterals)
 
 re2::TEST (Random, Complicated)
 
 re2::TEST (Random, SmallEgrepCaptures)
 
 re2::TEST (Random, SmallEgrepLiterals)
 

Function Documentation

◆ DEFINE_int32() [1/4]

DEFINE_int32 ( regexpcount  ,
100  ,
"How many random regexps to generate."   
)

◆ DEFINE_int32() [2/4]

DEFINE_int32 ( regexpseed  ,
404  ,
"Random regexp seed."   
)

◆ DEFINE_int32() [3/4]

DEFINE_int32 ( stringcount  ,
100  ,
"How many random strings to generate."   
)

◆ DEFINE_int32() [4/4]

DEFINE_int32 ( stringseed  ,
200  ,
"Random string seed."   
)


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