[rfc][icedtea-web] Use temporary cache in PluginBridge unit tests
Andrew Azores
aazores at redhat.com
Thu Jan 15 18:18:25 UTC 2015
On 01/05/2015 03:19 PM, Jie Kang wrote:
> 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?
>
>
> Regards,
>
Assuming the parent patch is OK'd through, I think this is also okay to
go. Maybe just rename "cacheDir" to something that indicates that it's
the original user cache dir, not just some other cache dir.
Thanks,
--
Andrew Azores
More information about the distro-pkg-dev
mailing list