summaryrefslogtreecommitdiffstats
path: root/googletest/src/gtest-internal-inl.h
diff options
context:
space:
mode:
authorHossein Ghahramanzadeh <hgsilverman@gmail.com>2021-12-03 00:45:10 (GMT)
committerHossein Ghahramanzadeh <hgsilverman@gmail.com>2022-01-06 14:46:52 (GMT)
commitd03d23a6e5ec58699955dd951957532e5aea3a84 (patch)
treedbddda887447013961fdec4086145f14a7a266df /googletest/src/gtest-internal-inl.h
parent3fc1ab66329ca90bfb5f1107a9cb22accabf0854 (diff)
downloadgoogletest-d03d23a6e5ec58699955dd951957532e5aea3a84.zip
googletest-d03d23a6e5ec58699955dd951957532e5aea3a84.tar.gz
googletest-d03d23a6e5ec58699955dd951957532e5aea3a84.tar.bz2
Reimplement MatchesFilter with new interfaces.
Diffstat (limited to 'googletest/src/gtest-internal-inl.h')
-rw-r--r--googletest/src/gtest-internal-inl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/googletest/src/gtest-internal-inl.h b/googletest/src/gtest-internal-inl.h
index 765d12d..0b25d2f 100644
--- a/googletest/src/gtest-internal-inl.h
+++ b/googletest/src/gtest-internal-inl.h
@@ -390,6 +390,10 @@ class GTEST_API_ UnitTestOptions {
// This function is useful as an __except condition.
static int GTestShouldProcessSEH(DWORD exception_code);
#endif // GTEST_OS_WINDOWS
+
+ // Returns true if "name" matches the ':' separated list of glob-style
+ // filters in "filter".
+ static bool MatchesFilter(const std::string& name, const char* filter);
};
// Returns the current application's name, removing directory path if that