[rfc][icedtea-web] Minor addition to C++ testing; cleanup

Adam Domurad adomurad at redhat.com
Tue Dec 18 11:12:50 PST 2012


2012-12-XX  Adam Domurad  <adomurad at redhat.com>

     * plugin/icedteanp/IcedTeaNPPlugin.cc: Remove need for 'goto' in
     (NP_Initialize).
     Expose some previously static variables/functions for unit testing
     purposes. Reduce need for explict allocations for strings
     'data_directory' and 'appletviewer_executable'.
     * tests/cpp-unit-tests/IcedTeaNPPluginTest.cc:
     Add some basic tests for functions in IcedTeaNPPlugin.cc.

The biggest change out of here I want is that NP_Initialize has 
considerably less string-fiddling/goto noise.

Happy hacking,
-Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itnp-unittests-small-cleanup.patch
Type: text/x-patch
Size: 10403 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20121218/fcb8a257/itnp-unittests-small-cleanup.patch 


More information about the distro-pkg-dev mailing list