Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/iotest/
Dstrtst.c205 …static const char longStr[] = "This is a long test123456789012345678901234567890123456789012345678… in TestString() local
207 retVal = u_sprintf(uStringBuf, longStr); in TestString()
209 if (strcmp(myString, longStr)) { in TestString()
210 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
212 if (retVal != (int32_t)strlen(longStr)) { in TestString()
213 … log_err("%%S returned different sizes. Got: %d Expected: %d\n", retVal, strlen(longStr)); in TestString()
216 retVal = u_sprintf(uStringBuf, "%s", longStr); in TestString()
218 if (strcmp(myString, longStr)) { in TestString()
219 log_err("%%S Got: %s, Expected: %s\n", myString, longStr); in TestString()
221 if (retVal != (int32_t)strlen(longStr)) { in TestString()
[all …]
/external/icu/icu4c/source/test/intltest/
Dstrtest.cpp483 static const char longStr[] = in TestCharString() local
485 CharString chStr(longStr, errorCode); in TestCharString()
486 if (0 != strcmp(longStr, chStr.data()) || (int32_t)strlen(longStr) != chStr.length()) { in TestCharString()
492 if (0 != strcmp(longStr, copy.data()) || (int32_t)strlen(longStr) != copy.length()) { in TestCharString()
498 strcpy(expected, longStr); in TestCharString()
499 strcat(expected, longStr+4); in TestCharString()
500 strcat(expected, longStr); in TestCharString()
501 strcat(expected, longStr+4); in TestCharString()
513 strcat(expected, longStr); in TestCharString()
/external/python/cpython2/Lib/test/
Dtime_hashlib.py13 longStr = 'Z'*scale
18 x = localCF(longStr).digest()
21 print ('%2.2f' % (end-start)), "seconds", iterations, "x", len(longStr), "bytes", name
/external/mockito/src/test/java/org/mockitousage/stubbing/
DSmartNullsStubbingTest.java127 …String longStr = "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem… in shouldShowParametersWhenParamsAreHuge() local
128 Bar smartNull = foo.getBarWithParams(10, longStr); in shouldShowParametersWhenParamsAreHuge()