[rfc][icedtea-web] Refactor pipe-message mock code from PluginAppletViewerTest into PluginPipeMockUtils

Adam Domurad adomurad at redhat.com
Tue Apr 30 08:28:31 PDT 2013


Hi all. This patch takes out some bits that are strongly not 
test-specific. This will make it easier to use the pipe mock in other tests.
I would still like to add more utility functions here, but this is a 
good starting base. Some functions call through the pipe even though it 
is not the main focus of the function, and something really convenient 
to respond to certain message types would be ideal in that case (I have 
a little bit written, but I'd like this base reviewed first).

Changes:
2013-XX-XX  Adam Domurad  <adomurad at redhat.com>

     Introduce PluginPipeMock utility methods.
     * tests/test-extensions/sun/applet/PluginPipeMockUtil.java: New,
     enapsulates PluginPipeMock initialization, cleanup. As well, contains
     utility methods.
     * tests/netx/unit/sun/applet/PluginAppletViewerTest.java: Use
     newly introduced utility methods.

Happy hacking,
-Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refactor-pipe-messages.patch
Type: text/x-patch
Size: 13870 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130430/ca4b6712/refactor-pipe-messages.patch 


More information about the distro-pkg-dev mailing list