You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andreas Schaefer (Jira)" <ji...@apache.org> on 2022/07/21 17:36:00 UTC
[jira] [Created] (SLING-11486) Allow to use a Writer that check for close as used in Response Context Support
Andreas Schaefer created SLING-11486:
----------------------------------------
Summary: Allow to use a Writer that check for close as used in Response Context Support
Key: SLING-11486
URL: https://issues.apache.org/jira/browse/SLING-11486
Project: Sling
Issue Type: Improvement
Components: Testing
Affects Versions: Servlet Helpers 1.4.2
Reporter: Andreas Schaefer
Assignee: Andreas Schaefer
Fix For: Servlet Helpers 1.4.4
A problem with testing GraphQL is that the Unit test does not fail when the Writer was closed during the invocation. So the Mock Servlet Http Response should provide a Writer that checks if the writer was already closed to mimic the actual behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)