[rfc][icedtea-web] Use temporary cache in PluginBridge unit tests

Jie Kang jkang at redhat.com
Mon Feb 23 14:59:29 UTC 2015



----- Original Message -----
> 
> 
> ----- Original Message -----
> > Hello,
> > 
> > Some changes to PluginBridge caused a few of the unit tests in
> > PluginBridgeTest to create entries in the cache. This patch adds a setup
> > and
> > teardown to the class in order to use a temporary cache location as opposed
> > to the user's cache.
> > 
> > This patch relies on the 'Allow cache directory to be changed during
> > runtime'
> > patch:
> > http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2015-January/030291.html
> > 
> > Thoughts?
> 
> Hello,
> 
> The patch relied on is still under review. Attached is a patch that doesn't
> rely on it.

The patch had a mistake, the new methods should have been static. Fixed version attached.

> 
> 
> How does it look? Okay to push?
> 
> 
> Regards,
> 
> > 
> > 
> > Regards,
> > 
> > --
> > 
> > Jie Kang
> 
> --
> 
> Jie Kang
> 
> OpenJDK Team - Software Engineering Intern
> 

-- 

Jie Kang

OpenJDK Team - Software Engineering Intern
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itw-pluginbridge-temp-cache-2.patch
Type: text/x-patch
Size: 1845 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20150223/1a3ed3de/itw-pluginbridge-temp-cache-2-0001.patch>


More information about the distro-pkg-dev mailing list