Searched refs:TestBasename (Results 1 – 2 of 2) sorted by relevance
/bionic/tests/ |
D | libgen_test.cpp | 43 static void TestBasename(const char* in, const char* expected_out, int expected_rc, in TestBasename() function 69 TestBasename("", ".", 1, nullptr, 0, 0); in TEST() 70 TestBasename("", ".", -1, buf, 0, ERANGE); in TEST() 71 TestBasename("", ".", -1, buf, 1, ERANGE); in TEST() 72 TestBasename("", ".", 1, buf, 2, 0); in TEST() 73 TestBasename("", ".", 1, buf, sizeof(buf), 0); in TEST() 74 TestBasename("/usr/lib", "lib", 3, buf, sizeof(buf), 0); in TEST() 75 TestBasename("/usr/", "usr", 3, buf, sizeof(buf), 0); in TEST() 76 TestBasename("usr", "usr", 3, buf, sizeof(buf), 0); in TEST() 77 TestBasename("/", "/", 1, buf, sizeof(buf), 0); in TEST() [all …]
|
D | string_test.cpp | 1471 static void TestBasename(const char* in, const char* expected_out) { in TestBasename() function 1479 TestBasename("", ""); in TEST() 1480 TestBasename("/usr/lib", "lib"); in TEST() 1481 TestBasename("/usr/", ""); in TEST() 1482 TestBasename("usr", "usr"); in TEST() 1483 TestBasename("/", ""); in TEST() 1484 TestBasename(".", "."); in TEST() 1485 TestBasename("..", ".."); in TEST() 1486 TestBasename("///", ""); in TEST() 1487 TestBasename("//usr//lib//", ""); in TEST()
|