openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1479382 [5/5] - in /openwebbeans/trunk: samples/ejb-sample/src/main/java/org/apache/webbeans/sample/ejb/ samples/reservation/src/main/java/org/apache/webbeans/reservation/controller/ samples/reservation/src/main/java/org/apache/webbeans/re...
Date Sun, 05 May 2013 20:28:12 GMT
Modified: openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletContext.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletContext.java?rev=1479382&r1=1479381&r2=1479382&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletContext.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletContext.java
Sun May  5 20:28:06 2013
@@ -33,121 +33,146 @@ import java.util.Set;
  */
 public class MockServletContext implements ServletContext
 {
+    @Override
     public Object getAttribute(String name)
     {
         return null;
     }
 
+    @Override
     public ServletContext getContext(String uripath)
     {
         return null;
     }
 
+    @Override
     public String getContextPath()
     {
         return null;
     }
 
+    @Override
     public int getMajorVersion()
     {
         return 0;
     }
 
+    @Override
     public int getMinorVersion()
     {
         return 0;
     }
 
+    @Override
     public String getMimeType(String file)
     {
         return null;
     }
 
+    @Override
     public Set getResourcePaths(String path)
     {
         return null;
     }
 
+    @Override
     public URL getResource(String path) throws MalformedURLException
     {
         return null;
     }
 
+    @Override
     public InputStream getResourceAsStream(String path)
     {
         return null;
     }
 
+    @Override
     public RequestDispatcher getRequestDispatcher(String path)
     {
         return null;
     }
 
+    @Override
     public RequestDispatcher getNamedDispatcher(String name)
     {
         return null;
     }
 
+    @Override
     public Servlet getServlet(String name) throws ServletException
     {
         return null;
     }
 
+    @Override
     public Enumeration getServlets()
     {
         return null;
     }
 
+    @Override
     public Enumeration getServletNames()
     {
         return null;
     }
 
+    @Override
     public void log(String msg)
     {
     }
 
+    @Override
     public void log(Exception exception, String msg)
     {
     }
 
+    @Override
     public void log(String message, Throwable throwable)
     {
     }
 
+    @Override
     public String getRealPath(String path)
     {
         return null;
     }
 
+    @Override
     public String getServerInfo()
     {
         return null;
     }
 
+    @Override
     public String getInitParameter(String name)
     {
         return null;
     }
 
+    @Override
     public Enumeration getInitParameterNames()
     {
         return null;
     }
 
+    @Override
     public Enumeration getAttributeNames()
     {
         return null;
     }
 
+    @Override
     public void setAttribute(String name, Object object)
     {
     }
 
+    @Override
     public void removeAttribute(String name)
     {
     }
 
+    @Override
     public String getServletContextName()
     {
         return null;

Modified: openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletRequest.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletRequest.java?rev=1479382&r1=1479381&r2=1479382&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletRequest.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/test/java/org/apache/webbeans/web/tests/MockServletRequest.java
Sun May  5 20:28:06 2013
@@ -37,268 +37,322 @@ import java.util.Map;
 public class MockServletRequest implements HttpServletRequest
 {
 
+    @Override
     public Object getAttribute(String name)
     {
         return null;
     }
 
+    @Override
     public Enumeration getAttributeNames()
     {
         return null;
     }
 
+    @Override
     public String getCharacterEncoding()
     {
         return null;
     }
 
+    @Override
     public void setCharacterEncoding(String env) throws UnsupportedEncodingException
     {
     }
 
+    @Override
     public int getContentLength()
     {
         return 0;
     }
 
+    @Override
     public String getContentType()
     {
         return null;
     }
 
+    @Override
     public ServletInputStream getInputStream() throws IOException
     {
         return null;
     }
 
+    @Override
     public String getParameter(String name)
     {
         return null;
     }
 
+    @Override
     public Enumeration getParameterNames()
     {
         return null;
     }
 
+    @Override
     public String[] getParameterValues(String name)
     {
         return new String[0];
     }
 
+    @Override
     public Map getParameterMap()
     {
         return null;
     }
 
+    @Override
     public String getProtocol()
     {
         return null;
     }
 
+    @Override
     public String getScheme()
     {
         return null;
     }
 
+    @Override
     public String getServerName()
     {
         return null;
     }
 
+    @Override
     public int getServerPort()
     {
         return 0;
     }
 
+    @Override
     public BufferedReader getReader() throws IOException
     {
         return null;
     }
 
+    @Override
     public String getRemoteAddr()
     {
         return null;
     }
 
+    @Override
     public String getRemoteHost()
     {
         return null;
     }
 
+    @Override
     public void setAttribute(String name, Object o)
     {
     }
 
+    @Override
     public void removeAttribute(String name)
     {
     }
 
+    @Override
     public Locale getLocale()
     {
         return null;
     }
 
+    @Override
     public Enumeration getLocales()
     {
         return null;
     }
 
+    @Override
     public boolean isSecure()
     {
         return false;
     }
 
+    @Override
     public RequestDispatcher getRequestDispatcher(String path)
     {
         return null;
     }
 
+    @Override
     public String getRealPath(String path)
     {
         return null;
     }
 
+    @Override
     public int getRemotePort()
     {
         return 0;
     }
 
+    @Override
     public String getLocalName()
     {
         return null;
     }
 
+    @Override
     public String getLocalAddr()
     {
         return null;
     }
 
+    @Override
     public int getLocalPort()
     {
         return 0;
     }
 
+    @Override
     public String getAuthType()
     {
         return null;
     }
 
+    @Override
     public Cookie[] getCookies()
     {
         return new Cookie[0];
     }
 
+    @Override
     public long getDateHeader(String name)
     {
         return 0;
     }
 
+    @Override
     public String getHeader(String name)
     {
         return null;
     }
 
+    @Override
     public Enumeration getHeaders(String name)
     {
         return null;
     }
 
+    @Override
     public Enumeration getHeaderNames()
     {
         return null;
     }
 
+    @Override
     public int getIntHeader(String name)
     {
         return 0;
     }
 
+    @Override
     public String getMethod()
     {
         return null;
     }
 
+    @Override
     public String getPathInfo()
     {
         return null;
     }
 
+    @Override
     public String getPathTranslated()
     {
         return null; 
     }
 
+    @Override
     public String getContextPath()
     {
         return null;
     }
 
+    @Override
     public String getQueryString()
     {
         return null;
     }
 
+    @Override
     public String getRemoteUser()
     {
         return null;
     }
 
+    @Override
     public boolean isUserInRole(String role)
     {
         return false;
     }
 
+    @Override
     public Principal getUserPrincipal()
     {
         return null;
     }
 
+    @Override
     public String getRequestedSessionId()
     {
         return null;
     }
 
+    @Override
     public String getRequestURI()
     {
         return null;
     }
 
+    @Override
     public StringBuffer getRequestURL()
     {
         return null;
     }
 
+    @Override
     public String getServletPath()
     {
         return null;
     }
 
+    @Override
     public HttpSession getSession(boolean create)
     {
         return null;
     }
 
+    @Override
     public HttpSession getSession()
     {
         return null;
     }
 
+    @Override
     public boolean isRequestedSessionIdValid()
     {
         return false;
     }
 
+    @Override
     public boolean isRequestedSessionIdFromCookie()
     {
         return false;
     }
 
+    @Override
     public boolean isRequestedSessionIdFromURL()
     {
         return false;
     }
 
+    @Override
     public boolean isRequestedSessionIdFromUrl()
     {
         return false;



Mime
View raw message