MCPcopy Create free account
hub / github.com/cpputest/cpputest / TEST

Function TEST

tests/CppUTest/TestFilterTest.cpp:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35TEST(TestFilter, emptyFilterMatchesEverything)
36{
37 TestFilter filter;
38 CHECK(filter.match("random_name"));
39 CHECK(filter.match(""));
40 CHECK(filter.match("*&%#^&%$(*&^@#(&*@#^(&*$^@#"));
41}
42
43TEST(TestFilter, defaultAbsoluteMismatches)
44{

Callers

nothing calls this directly

Calls 8

SimpleStringClass · 0.85
strictMatchingMethod · 0.80
invertMatchingMethod · 0.80
asCharStringMethod · 0.80
StringFromFunction · 0.50
matchMethod · 0.45
addMethod · 0.45
getNextMethod · 0.45

Tested by

no test coverage detected