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, NULL, 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 | 1401 static void TestBasename(const char* in, const char* expected_out) { in TestBasename() function 1409 TestBasename("", ""); in TEST() 1410 TestBasename("/usr/lib", "lib"); in TEST() 1411 TestBasename("/usr/", ""); in TEST() 1412 TestBasename("usr", "usr"); in TEST() 1413 TestBasename("/", ""); in TEST() 1414 TestBasename(".", "."); in TEST() 1415 TestBasename("..", ".."); in TEST() 1416 TestBasename("///", ""); in TEST() 1417 TestBasename("//usr//lib//", ""); in TEST()
|