[MGNLCACHE-42] Fix HttpServletResponse mocks in GZipFilterTest Created: 22/Nov/13  Updated: 11/Aug/14  Resolved: 03/Jul/14

Status: Closed
Project: Cache Modules
Component/s: gzip
Affects Version/s: None
Fix Version/s: 5.2.5

Type: Task Priority: Neutral
Reporter: Jozef Chocholacek Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-4058 Re-activate all disabled (@Ignore) Un... Closed
supersession
supersedes MAGNOLIA-3413 Fix all the cache filter tests and co... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty

 Description   

The testBufferIsFlushedProperlyWhenUsingWriterFurtherDownTheChainOfFilters and testBufferIsFlushedAndGZipNotSetOnError fail because the mock of the response instance does not support some operations:

  • setting the request header for the first mentioned test;
  • setStatus() for the second one;

Generated at Sun Feb 11 23:51:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.