Searched defs:testStr (Results 1 - 6 of 6) sorted by relevance

/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DDeflaterInputStreamTest.java31 String testStr = "Hi,this is a test"; field in class:DeflaterInputStreamTest
135 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
258 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
287 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
378 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
/external/icu4c/test/intltest/
H A Dcanittst.cpp153 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]); local
154 it.setSource(testStr, status);
166 expectEqual(i + ": ", testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1]));
/external/icu4c/test/iotest/
H A Dstream.cpp71 static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x74\x20\x73\x74\x72\x31\x20\x20\x20\x3C\x3C\x32\x31\x20" UTF8_NEW_LINE "\x20\x55\x54\x46\x2D\x38\x20\xCE\xBC\xF0\x90\x80\x81\xF0\x90\x80\x82"; local
107 if (strcmp(testStreamBuf, testStr) != 0) {
108 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr);
H A Dstrtst.c249 UChar testStr[256]; local
254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US");
264 u_austrcpy(cBuffer,testStr);
265 if (u_strcmp(testStr, uBuffer) != 0) {
289 u_austrcpy(cBuffer,testStr);
290 if (u_strcmp(testStr, uBuffer) != 0) {
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeo
329 UChar testStr[256]; local
745 UChar testStr[16]; local
[all...]
H A Dfiletst.c434 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!"; local
436 int32_t expectedSize = (int32_t)strlen(testStr);
455 u_uastrncpy(buffer, testStr, expectedSize+1);
497 u_uastrncpy(buffer, testStr, expectedSize+1);
539 u_uastrncpy(buffer, testStr, expectedSize+1);
591 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!"; local
594 int32_t expectedSize = (int32_t)strlen(testStr);
605 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile);
607 fwrite("\n", sizeof(testStr[
[all...]
/external/icu4c/test/cintltst/
H A Dreapits.c2169 UChar testStr[] = {0x41, 0x20, 0x42, 0x20, 0x43, 0x0}; /* = "A B C" */ local
2179 utext_openUChars(&ut1, testStr, -1, &status);
2189 u_strcpy(movedStr, testStr);
2190 u_memset(testStr, 0, u_strlen(testStr));

Completed in 167 milliseconds