Home
last modified time | relevance | path

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

/openthread-2.7.6/tests/unit/
Dtest_string.cpp148 char testString[] = "foo.bar.bar\\."; in TestStringFind() local
153 VerifyOrQuit(StringFind(testString, 'f') == testString); in TestStringFind()
154 VerifyOrQuit(StringFind(testString, 'o') == &testString[1]); in TestStringFind()
155 VerifyOrQuit(StringFind(testString, '.') == &testString[3]); in TestStringFind()
156 VerifyOrQuit(StringFind(testString, 'r') == &testString[6]); in TestStringFind()
157 VerifyOrQuit(StringFind(testString, '\\') == &testString[11]); in TestStringFind()
158 VerifyOrQuit(StringFind(testString, 'x') == nullptr); in TestStringFind()
159 VerifyOrQuit(StringFind(testString, ',') == nullptr); in TestStringFind()
164 VerifyOrQuit(StringFind(testString, "foo") == &testString[0]); in TestStringFind()
165 VerifyOrQuit(StringFind(testString, "oo") == &testString[1]); in TestStringFind()
[all …]