Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/zip/
DOldAndroidZipStreamTest.java100 newEntry.setComment("this is file " + i); in createCompressedZip()
106 out.setComment("This is a lovely compressed archive!"); in createCompressedZip()
123 newEntry.setComment("this is file " + i); in createUncompressedZip()
132 out.setComment("This is a lovely, but uncompressed, archive!"); in createUncompressedZip()
DAbstractZipFileTest.java384 out.setComment(null); in testComments()
385 out.setComment(makeString(0xffff, "a")); in testComments()
387 out.setComment(makeString(0xffff + 1, "a")); in testComments()
392 out.setComment(makeString(0xffff, "\u0666")); in testComments()
400 ze.setComment(null); in testComments()
401 ze.setComment(makeString(0xffff, "a")); in testComments()
403 ze.setComment(makeString(0xffff + 1, "a")); in testComments()
408 ze.setComment(makeString(0xffff, "\u0666")); in testComments()
413 ze.setComment(expectedEntryComment); in testComments()
417 out.setComment(expectedFileComment); in testComments()
[all …]
DZipEntryTest.java176 ze.setComment(tooLongComment); in testTooLongComment()
188 ze.setComment(maxLengthComment); in testMaxLengthComment()
210 ze.setComment(comment); in testCommentAndExtraInSameOrder()
217 ze.setComment(comment); in testCommentAndExtraInSameOrder()
DOldAndroidZipFileTest.java87 newEntry.setComment("this is file " + i); in createCompressedZip()
94 out.setComment("This is a lovely compressed archive!"); in createCompressedZip()
DZipOutputStreamTest.java94 out.setComment(null); in testNullComment()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipEntryTest.java89 zipEntry.setComment("This Is A Comment"); in test_getComment()
205 zentry.setComment("Set comment using api"); in test_setCommentLjava_lang_String()
209 zentry.setComment(n); in test_setCommentLjava_lang_String()
216 zentry.setComment(s.toString()); in test_setCommentLjava_lang_String()
222 zentry.setComment(s.toString()); in test_setCommentLjava_lang_String()
453 zentry.setComment("Testing"); in test_ConstructorLjava_util_zip_ZipEntry()
DZipOutputStreamTest.java136 zos.setComment("test setComment"); in test_setCommentLjava_lang_String()
139 zos.setComment(new String(new byte[0xFFFF + 1])); in test_setCommentLjava_lang_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DHttpCookieTest.java344 cookie.setComment("just a comment"); in test_Get_SetCommentURL()
357 cookie.setComment(""); in test_Get_SetComment()
360 cookie.setComment("cookie''s @#$!&*()"); in test_Get_SetComment()
471 cookie.setComment("test comment"); in test_Clone()
485 cookie.setComment("ABCd"); in test_ToString()
503 cookie.setComment(null); in test_ToString()
535 cookie.setComment("comment"); in test_HashCode()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java286 public void setComment(String purpose) { in setComment() method in HttpCookie
920 cookie.setComment(attrValue);
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java575 public void setComment(String comment) { in setComment() method in ZipEntry
DZipOutputStream.java148 public void setComment(String comment) { in setComment() method in ZipOutputStream
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java716 valueCookie.setComment("comment"); in testCookieEquality()