#include "src/protozero/filtering/string_filter.h"
#include "protos/perfetto/trace/trace_packet.pb.h"
#include "test/gtest_and_gmock.h"
namespace protozero {
namespace {
TEST(StringFilterTest, RegexRedaction) { … }
TEST(StringFilterTest, RegexRedactionShort) { … }
TEST(StringFilterTest, RegexRedactionMismatch) { … }
TEST(StringFilterTest, AtraceRegexRedaction) { … }
TEST(StringFilterTest, AtraceRegexRedactionZero) { … }
TEST(StringFilterTest, AtraceRegexRedactionExact) { … }
TEST(StringFilterTest, AtraceRegexRedactionEmpty) { … }
TEST(StringFilterTest, AtraceRegexRedactionTooLong) { … }
TEST(StringFilterTest, AtraceRegexRedactionMismatch) { … }
TEST(StringFilterTest, AtraceRegexRedactionEnd) { … }
TEST(StringFilterTest, AtraceRegexRedactionNotAtrace) { … }
TEST(StringFilterTest, AtraceRegexRedactionMultiple) { … }
TEST(StringFilterTest, Mixed) { … }
TEST(StringFilterTest, Break) { … }
TEST(StringFilterTest, AtraceBreak) { … }
TEST(StringFilterTest, AtraceSearch) { … }
TEST(StringFilterTest, AtraceSearchBreaks) { … }
TEST(StringFilterTest, AtraceSearchReturnsFalseOnNoMatch) { … }
TEST(StringFilterTest, AtraceSearchMultipleGroups) { … }
TEST(StringFilterTest, AtraceSearchRecursive) { … }
TEST(StringFilterTest, RegexRedactionNonUtf) { … }
TEST(StringFilterTest, AtraceRedactionNonUtf) { … }
}
}