Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 202032 Details for
Bug 355565
[Test] Tomcat 7 Jasper Support For User Assistance
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch
eclipse-ua.patch (text/plain), 3.93 KB, created by
Roland Grunberg
on 2011-08-23 15:39:50 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Roland Grunberg
Created:
2011-08-23 15:39:50 EDT
Size:
3.93 KB
patch
obsolete
>diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletRequest.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletRequest.java >index 6e9abc6..beb4575 100644 >--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletRequest.java >+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletRequest.java >@@ -15,16 +15,25 @@ import java.io.BufferedReader; > import java.io.IOException; > import java.io.UnsupportedEncodingException; > import java.security.Principal; >+import java.util.Collection; > import java.util.Enumeration; > import java.util.HashMap; > import java.util.Locale; > import java.util.Map; > >+import javax.servlet.AsyncContext; >+import javax.servlet.DispatcherType; > import javax.servlet.RequestDispatcher; >+import javax.servlet.ServletContext; >+import javax.servlet.ServletException; > import javax.servlet.ServletInputStream; >+import javax.servlet.ServletRequest; >+import javax.servlet.ServletResponse; > import javax.servlet.http.Cookie; > import javax.servlet.http.HttpServletRequest; >+import javax.servlet.http.HttpServletResponse; > import javax.servlet.http.HttpSession; >+import javax.servlet.http.Part; > > /** > * Class used for tests which require an HttpServletRequest parameter >@@ -318,4 +327,67 @@ public class MockServletRequest implements HttpServletRequest { > > } > >+ public AsyncContext getAsyncContext() { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public DispatcherType getDispatcherType() { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public ServletContext getServletContext() { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public boolean isAsyncStarted() { >+ // TODO Auto-generated method stub >+ return false; >+ } >+ >+ public boolean isAsyncSupported() { >+ // TODO Auto-generated method stub >+ return false; >+ } >+ >+ public AsyncContext startAsync() { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public AsyncContext startAsync(ServletRequest arg0, ServletResponse arg1) { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public boolean authenticate(HttpServletResponse arg0) throws IOException, >+ ServletException { >+ // TODO Auto-generated method stub >+ return false; >+ } >+ >+ public Part getPart(String arg0) throws IOException, IllegalStateException, >+ ServletException { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public Collection<Part> getParts() throws IOException, >+ IllegalStateException, ServletException { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public void login(String arg0, String arg1) throws ServletException { >+ // TODO Auto-generated method stub >+ >+ } >+ >+ public void logout() throws ServletException { >+ // TODO Auto-generated method stub >+ >+ } >+ > } >diff --git a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletResponse.java b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletResponse.java >index cf8a4e9..2ba8239 100644 >--- a/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletResponse.java >+++ b/org.eclipse.ua.tests/help/org/eclipse/ua/tests/help/webapp/MockServletResponse.java >@@ -14,6 +14,7 @@ package org.eclipse.ua.tests.help.webapp; > import java.io.IOException; > import java.io.PrintWriter; > import java.util.ArrayList; >+import java.util.Collection; > import java.util.List; > import java.util.Locale; > >@@ -201,6 +202,26 @@ public class MockServletResponse implements HttpServletResponse { > public String getIllegalCharatersFound() { > return illegalCharactersFound; > } >+ >+ public String getHeader(String arg0) { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public Collection<String> getHeaderNames() { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public Collection<String> getHeaders(String arg0) { >+ // TODO Auto-generated method stub >+ return null; >+ } >+ >+ public int getStatus() { >+ // TODO Auto-generated method stub >+ return 0; >+ } > > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 355565
: 202032