Package org.apache.turbine.test
Class BaseTestCase
- java.lang.Object
-
- org.apache.turbine.test.BaseTestCase
-
- Direct Known Subclasses:
ActionLoaderTest,BaseTurbineTest,BaseValueParserTest,BrowserDetectorTest,ClassTest,ConfigurationTest,DateTimeFormatterServiceTest,DefaultACLCreationValveTest,DefaultLoginValveTest,DefaultSessionTimeoutValveTest,DefaultSessionValidationValveTest,DefaultSetEncodingValveTest,DefaultsTest,DefaultTurbineRunDataTest,DestroyTest,DetermineActionValveTest,DetermineTargetValveTest,ExecutePageValveTest,FormMessageTest,FulcrumCacheComponentTest,FulcrumCryptoServiceTest,FulcrumMimetypeComponentTest,GenericLoaderTest,HtmlPageAttributesTest,InitTest,IntakeToolTest,JsonrpcServicelTest,LayoutLoaderTest,LoadingComponentsTest,LocalizationToolTest,PathConverterTest,QuartzSchedulerServiceTest,TemplateTest,TurbineAvalonComponentServiceTest,TurbineConfigTest,TurbineTest,TurbineURITest,TurbineURLMapperJSONServiceTest,TurbineURLMapperServiceTest,TurbineURLMapperYAMLServiceTest,UIToolTest
public abstract class BaseTestCase extends Object
Base functionality to be extended by all Apache Turbine test cases. Test case implementations are used to automate testing via JUnit.- Version:
- $Id$
- Author:
- Christopher Elkins, Henning P. Schmiedehausen, Peter Courcoux
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Object>attributesprotected intmaxInactiveInterval
-
Constructor Summary
Constructors Constructor Description BaseTestCase()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidbaseInit()protected HttpServletRequestgetMockRequest()protected PipelineDatagetPipelineData(HttpServletRequest request, HttpServletResponse response, ServletConfig config)protected RunDatagetRunData(HttpServletRequest request, HttpServletResponse response, ServletConfig config)
-
-
-
Field Detail
-
attributes
protected Map<String,Object> attributes
-
maxInactiveInterval
protected int maxInactiveInterval
-
-
Constructor Detail
-
BaseTestCase
public BaseTestCase()
-
-
Method Detail
-
getRunData
protected RunData getRunData(HttpServletRequest request, HttpServletResponse response, ServletConfig config) throws Exception
- Throws:
Exception
-
getPipelineData
protected PipelineData getPipelineData(HttpServletRequest request, HttpServletResponse response, ServletConfig config) throws Exception
- Throws:
Exception
-
getMockRequest
protected HttpServletRequest getMockRequest()
-
-