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

Add unit tests for AppletContext.set/getStream()

XMLWordPrintable

      For 7007203
      The goal of this API is to save and query streams.

      Assertions for newly changed testStream() in AWTAppletAdapterTest
            1) store works in the same applet
            a) get for non existing name returns null
            b) can store and then get object back
            c) can store with name XX and then override (store with same name) and get will return last one
            2) store works among the multiple applets
            a) use one to store and another to get, the source content should be exactly the same to the one we get from another
            b) destroy both of adapters. Validate that stream objects are still accessible.
            c) create new one. Validate that stream objects are still accessible.

            albertz Albert Zhang (Inactive)
            albertz Albert Zhang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: