Branch: refs/heads/master
Home:
https://github.com/gatein/gatein-portal
Commit: 9699b92b2ea4a1d4fd91a307845fc92044560e6f
https://github.com/gatein/gatein-portal/commit/9699b92b2ea4a1d4fd91a30784...
Author: Stian Thorgersen <stian(a)redhat.com>
Date: 2012-11-01 (Thu, 01 Nov 2012)
Changed paths:
M
component/web/resources/src/test/java/org/exoplatform/portal/resource/compressor/TestResourceCompressorService.java
Log Message:
-----------
GTNPORTAL-2657 Gatein master Unit tests fails in GateIn Portal Component Portal Data on
oracle7
This failure happens if testClosureCompressing is executed before testPriority.
testClosureCompressing registers a plugin with the ResourceCompressorService, but
doesn't unregister it after the test has completed.
As the ResourceCompressorService doesn't have an unregister method I've added a
unregister method to the test that uses reflection to remove it from
ResourceCompressorService.plugins. An alternative fix would be to add a unregister method
to the ResourceCompressorService and use that instead.