Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8193131

Need to remove SharedBuffer unit Test cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx11
    • 10
    • javafx
    • web

        Below SharedBuffer unit test cases are written with fixed segment size assumption. But after JDK-8187483, the behavior is changed to use variable size segments (https://trac.webkit.org/changeset/215686/webkit) .

        Hence We need to remove the below unit test cases as they are invalid now:

        1) modules/javafx.web/src/test/java/test/com/sun/webkit/SharedBufferTest.java

        testGetSomeDataFirstSegmentLastTenBytesWithTruncation()
        testGetSomeDataInteriorSegmentLastTenBytesWithTruncation()
        testGetSomeDataFirstSegmentWithTruncation()
        testGetSomeDataInteriorSegmentWithTruncation()
        testAppendThreeSegments()
        testAppendThreeSegmentsPlusSegmentPlusTenBytes()
        testAppendTenBytesPlusSegmentPlusThreeSegments()

        2) modules/javafx.web/src/test/java/test/com/sun/webkit/SimpleSharedBufferInputStreamTest.java

        testRead3FirstSegmentLastTenBytesWithTruncation()
        testRead3InteriorSegmentLastTenBytesWithTruncation()
        testRead3FirstSegmentWithTruncation()
        testRead3InteriorSegmentWithTruncation()
        testRead3StandardUse()
        testSkipOneByte()
        testSkipTenBytes()
        testCloseBeforeSubsequentRead()
        testDoubleClose()

              mbilla Murali Billa
              mbilla Murali Billa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: