diff options
Diffstat (limited to 'ppapi/tests/test_case.cc')
-rw-r--r-- | ppapi/tests/test_case.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/tests/test_case.cc b/ppapi/tests/test_case.cc index 8245c25..bcee6c3 100644 --- a/ppapi/tests/test_case.cc +++ b/ppapi/tests/test_case.cc @@ -88,3 +88,9 @@ bool TestCase::EnsureRunningOverHTTP() { return true; } + +bool TestCase::MatchesFilter(const std::string& test_name, + const std::string& filter) { + return filter.empty() || (test_name == filter); +} + |