[icedtea-web][rfc] Basic closing listeners implementation and example

Jiri Vanek jvanek at redhat.com
Thu Sep 20 03:22:31 PDT 2012


As discussed here: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2012-September/020293.html 
  this is interface, integration and first and probably most useful implementation (and example) of 
closing listener idea:

* tests/reproducers/signed/AppletTestSigned/resources/AppletTestSigned.html: removed unnecessary XslowX
* tests/reproducers/signed/AppletTestSigned/resources/AppletTestSigned2.html: aded missinf XslowX
* tests/reproducers/signed/AppletTestSigned/srcs/AppletTestSigned.java: added standard closing sentence
* tests/reproducers/signed/AppletTestSigned/testcases/AppletTestSignedTests.java: used auto*clsoing 
listeners
* tests/test-extensions/net/sourceforge/jnlp/ClosingListener.java: interface for identifying closing 
listeners
* tests/test-extensions/net/sourceforge/jnlp/ProcessAssasin.java: added possibility to set timeout n 
the fly
* tests/test-extensions/net/sourceforge/jnlp/ServerAccess.java: (executeBrowser) added shortcut for 
autoclosing listeners, (setUpClosingListener) method for setting properties of ClosingListener 
(executeBrowser) add logic to handle ClosingListeners
* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoAllClosingListener.java: listener 
closing  on "APPLET FINISHED" string
* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoErrorClosingListener.java:
listener closing on "xception" match
* tests/test-extensions/net/sourceforge/jnlp/closinglisteners/AutoOkClosingListener.java:
listener closing on both xception and finished string.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: closingListener_4_1.diff
Type: text/x-patch
Size: 18386 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120920/11e9dac1/closingListener_4_1.diff 


More information about the distro-pkg-dev mailing list