Coverage Report - org.seasar.teeda.core.mock.MockExternalContext
 
Classes in this File Line Coverage Branch Coverage Complexity
MockExternalContext
100%
1/1
N/A
1
 
 1  
 /*
 2  
  * Copyright 2004-2011 the Seasar Foundation and the Others.
 3  
  *
 4  
  * Licensed under the Apache License, Version 2.0 (the "License");
 5  
  * you may not use this file except in compliance with the License.
 6  
  * You may obtain a copy of the License at
 7  
  *
 8  
  *     http://www.apache.org/licenses/LICENSE-2.0
 9  
  *
 10  
  * Unless required by applicable law or agreed to in writing, software
 11  
  * distributed under the License is distributed on an "AS IS" BASIS,
 12  
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 13  
  * either express or implied. See the License for the specific language
 14  
  * governing permissions and limitations under the License.
 15  
  */
 16  
 package org.seasar.teeda.core.mock;
 17  
 
 18  
 import java.util.Map;
 19  
 
 20  
 import javax.faces.context.ExternalContext;
 21  
 import javax.servlet.http.Cookie;
 22  
 
 23  
 import org.seasar.framework.mock.servlet.MockHttpServletRequest;
 24  
 import org.seasar.framework.mock.servlet.MockHttpServletResponse;
 25  
 import org.seasar.framework.mock.servlet.MockServletContext;
 26  
 
 27  
 /**
 28  
  * @author shot
 29  
  */
 30  1762
 public abstract class MockExternalContext extends ExternalContext {
 31  
 
 32  
     public abstract void addRequestCookieMap(Cookie cookie);
 33  
 
 34  
     public abstract void setRequestCookieMap(Map map);
 35  
 
 36  
     public abstract void addRequestParameterMap(String key, String value);
 37  
 
 38  
     public abstract void setRequestParameterMap(Map map);
 39  
 
 40  
     public abstract void setMockServletContext(
 41  
             MockServletContext mockServletContext);
 42  
 
 43  
     public abstract MockServletContext getMockServletContext();
 44  
 
 45  
     public abstract void setMockHttpServletRequest(
 46  
             MockHttpServletRequest mockHttpServletRequest);
 47  
 
 48  
     public abstract MockHttpServletRequest getMockHttpServletRequest();
 49  
 
 50  
     public abstract void setMockHttpServletResponse(
 51  
             MockHttpServletResponse mockHttpServletResponse);
 52  
 
 53  
     public abstract MockHttpServletResponse getMockHttpServletResponse();
 54  
 
 55  
     public abstract void setRequestPathInfo(String pathInfo);
 56  
 }