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

Need to remove SharedBuffer unit Test cases

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: openjfx11
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Backports

        Description

        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()

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: