MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / TEST

Function TEST

extern/re2/re2/testing/exhaustive3_test.cc:19–24  ·  view source on GitHub ↗

Test simple character classes by themselves.

Source from the content-addressed store, hash-verified

17
18// Test simple character classes by themselves.
19TEST(CharacterClasses, Exhaustive) {
20 std::vector<std::string> atoms = Split(" ",
21 "[a] [b] [ab] [^bc] [b-d] [^b-d] []a] [-a] [a-] [^-a] [a-b-c] a b .");
22 ExhaustiveTest(2, 1, atoms, RegexpGenerator::EgrepOps(),
23 5, Explode("ab"), "", "");
24}
25
26// Test simple character classes inside a___b (for example, a[a]b).
27TEST(CharacterClasses, ExhaustiveAB) {

Callers

nothing calls this directly

Calls 4

SplitFunction · 0.85
ExhaustiveTestFunction · 0.85
ExplodeFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected