Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DHttpCookieTest.java355 assertNull(cookie.getComment()); in test_Get_SetComment()
358 assertEquals("", cookie.getComment()); in test_Get_SetComment()
362 assertEquals("cookie''s @#$!&*()", cookie.getComment()); in test_Get_SetComment()
476 assertEquals("test comment", cloneCookie.getComment()); in test_Clone()
654 assertNull(cookie.getComment()); in test_Parse()
689 assertEquals("version1-cookie", cookie.getComment()); in test_Parse()
706 assertNull(cookie.getComment()); in test_Parse()
711 assertEquals("sentence", cookie.getComment()); in test_Parse()
802 assertEquals("c234", cookie.getComment()); in test_Parse()
929 assertEquals("mycomment", cookie.getComment());
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/
DZipEntryTest.java88 assertNull("Incorrect Comment Returned.", zipEntry.getComment()); in test_getComment()
91 "This Is A Comment", zipEntry.getComment()); in test_getComment()
207 "Set comment using api", zentry.getComment()); in test_setCommentLjava_lang_String()
210 assertNull("Comment not correctly set", zentry.getComment()); in test_setCommentLjava_lang_String()
460 .getComment()); in test_ConstructorLjava_util_zip_ZipEntry()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipEntryTest.java251 assertEquals(maxLengthComment, zipFile.getEntry("x").getComment()); in testMaxLengthComment()
283 assertEquals(comment, zipFile.getEntry("x").getComment()); in testCommentAndExtraInSameOrder()
286 assertEquals(comment, zipFile.getEntry("y").getComment()); in testCommentAndExtraInSameOrder()
DAbstractZipFileTest.java421 assertEquals(expectedFileComment, zipFile.getComment()); in testComments()
422 assertEquals(expectedEntryComment, zipFile.getEntry("a").getComment()); in testComments()
435 assertEquals(null, zipFile.getComment()); in test_getComment_unset()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java290 public String getComment() { in getComment() method in HttpCookie
910 if (cookie.getComment() == null)
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java599 public String getComment() { in getComment() method in ZipEntry
DZipFile.java315 public String getComment() { in getComment() method in ZipFile
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java109 assertEquals(null, cookie.getComment()); in testNetscapeResponse()
139 assertEquals("this cookie is delicious", cookie.getComment()); in testRfc2109Response()
172 assertEquals("this cookie is delicious", cookie.getComment()); in testRfc2965Response()
207 assertEquals("this cookie is delicious", cookie.getComment()); in testQuotedAttributeValues()