Home
last modified time | relevance | path

Searched refs:CheckGlob (Results 1 – 1 of 1) sorted by relevance

/bionic/tests/
Dglob_test.cpp234 static void CheckGlob(const char* pattern, const std::vector<std::string>& expected_matches) { in CheckGlob() function
256 CheckGlob("f?", { "f1", "f2" }); in TEST()
257 CheckGlob("f??", { "f30", "f40" }); in TEST()
258 CheckGlob("f*", { "f1", "f2", "f30", "f40" }); in TEST()
268 CheckGlob("a*b*c*d*e*", { "axbxcxdxe" }); in TEST()
270 CheckGlob("a*b*c*d*e*", { "axbxcxdxexxx" }); in TEST()
272 CheckGlob("a*b?c*x", { "abxbbxdbxebxczzx" }); in TEST()
274 CheckGlob("a*b?c*x", {}); in TEST()
277 CheckGlob("a*a*a*a*b", {}); in TEST()