Java Doc for ServletTestCaseAdapter.java in » Testing » mockrunner-0.4 » com » mockrunner » servlet » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
Testing
»
mockrunner 0.4
»
com.mockrunner.servlet
Source Cross Reference
Class Diagram
Java Document (Java Doc)
com.mockrunner.base
.HTMLOutputTestCase
com.mockrunner.servlet
.ServletTestCaseAdapter
ServletTestCaseAdapter
abstract
public
class ServletTestCaseAdapter extends
HTMLOutputTestCase
(Code)
Delegator for
com.mockrunner.servlet.ServletTestModule
. You can subclass this adapter or use
com.mockrunner.servlet.ServletTestModule
directly (so your test case can use another base class). This adapter extends
com.mockrunner.base.BaseTestCase
. It can be used if you want to use several modules in conjunction.
This class is generated from the
com.mockrunner.servlet.ServletTestModule
and should not be edited directly
.
Constructor Summary
public
ServletTestCaseAdapter
()
public
ServletTestCaseAdapter
(
String
name)
Method Summary
protected
void
addFilter
(
Filter
filter)
protected
void
addFilter
(
Filter
filter, boolean doInit)
protected
void
clearOutput
()
protected
Filter
createFilter
(
Class
filterClass)
protected
HttpServlet
createServlet
(
Class
servletClass)
protected
void
doDelete
()
protected
void
doFilter
()
protected
void
doGet
()
protected
void
doHead
()
protected
void
doOptions
()
protected
void
doPost
()
protected
void
doPut
()
protected
void
doTrace
()
protected
ServletRequest
getFilteredRequest
()
protected
ServletResponse
getFilteredResponse
()
protected
HTMLOutputModule
getHTMLOutputModule
()
Returns the
com.mockrunner.servlet.ServletTestModule
as
com.mockrunner.base.HTMLOutputModule
.
protected
HttpServlet
getServlet
()
protected
ServletTestModule
getServletTestModule
()
Gets the
com.mockrunner.servlet.ServletTestModule
.
protected
void
init
()
protected
void
releaseFilters
()
protected
void
service
()
protected
void
setDoChain
(boolean doChain)
protected
void
setServlet
(
HttpServlet
servlet)
protected
void
setServlet
(
HttpServlet
servlet, boolean doInit)
protected
void
setServletTestModule
(
ServletTestModule
servletTestModule)
Sets the
com.mockrunner.servlet.ServletTestModule
.
protected
void
setUp
()
Creates the
com.mockrunner.servlet.ServletTestModule
.
protected
void
tearDown
()
Constructor Detail
ServletTestCaseAdapter
public
ServletTestCaseAdapter()
(Code)
ServletTestCaseAdapter
public
ServletTestCaseAdapter(
String
name)
(Code)
Method Detail
addFilter
protected
void addFilter(
Filter
filter)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.addFilter(Filter)
addFilter
protected
void addFilter(
Filter
filter, boolean doInit)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.addFilter(Filterboolean)
clearOutput
protected
void clearOutput()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.clearOutput
createFilter
protected
Filter
createFilter(
Class
filterClass)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.createFilter(Class)
createServlet
protected
HttpServlet
createServlet(
Class
servletClass)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.createServlet(Class)
doDelete
protected
void doDelete()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doDelete
doFilter
protected
void doFilter()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doFilter
doGet
protected
void doGet()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doGet
doHead
protected
void doHead()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doHead
doOptions
protected
void doOptions()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doOptions
doPost
protected
void doPost()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doPost
doPut
protected
void doPut()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doPut
doTrace
protected
void doTrace()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.doTrace
getFilteredRequest
protected
ServletRequest
getFilteredRequest()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.getFilteredRequest
getFilteredResponse
protected
ServletResponse
getFilteredResponse()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.getFilteredResponse
getHTMLOutputModule
protected
HTMLOutputModule
getHTMLOutputModule()
(Code)
Returns the
com.mockrunner.servlet.ServletTestModule
as
com.mockrunner.base.HTMLOutputModule
. the
com.mockrunner.base.HTMLOutputModule
getServlet
protected
HttpServlet
getServlet()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.getServlet
getServletTestModule
protected
ServletTestModule
getServletTestModule()
(Code)
Gets the
com.mockrunner.servlet.ServletTestModule
. the
com.mockrunner.servlet.ServletTestModule
init
protected
void init()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.init
releaseFilters
protected
void releaseFilters()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.releaseFilters
service
protected
void service()
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.service
setDoChain
protected
void setDoChain(boolean doChain)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.setDoChain(boolean)
setServlet
protected
void setServlet(
HttpServlet
servlet)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.setServlet(HttpServlet)
setServlet
protected
void setServlet(
HttpServlet
servlet, boolean doInit)
(Code)
Delegates to
com.mockrunner.servlet.ServletTestModule.setServlet(HttpServletboolean)
setServletTestModule
protected
void setServletTestModule(
ServletTestModule
servletTestModule)
(Code)
Sets the
com.mockrunner.servlet.ServletTestModule
.
Parameters:
servletTestModule - the
com.mockrunner.servlet.ServletTestModule
setUp
protected
void setUp() throws
Exception
(Code)
Creates the
com.mockrunner.servlet.ServletTestModule
. If you overwrite this method, you must call
super.setUp()
.
tearDown
protected
void tearDown() throws
Exception
(Code)
Methods inherited from
com.mockrunner.base.HTMLOutputTestCase
abstract
protected
HTMLOutputModule
getHTMLOutputModule()
(Code)
(Java Doc)
protected
String
getOutput()
(Code)
(Java Doc)
protected
BufferedReader
getOutputAsBufferedReader()
(Code)
(Java Doc)
protected
org.jdom.Document getOutputAsJDOMDocument()
(Code)
(Java Doc)
protected
org.w3c.dom.Document
getOutputAsW3CDocument()
(Code)
(Java Doc)
protected
String
getOutputAsWellformedXML()
(Code)
(Java Doc)
protected
WebTestModule
getWebTestModule()
(Code)
(Java Doc)
protected
void setCaseSensitive(boolean caseSensitive)
(Code)
(Java Doc)
protected
void verifyOutput(
String
expectedOutput)
(Code)
(Java Doc)
protected
void verifyOutputContains(
String
expectedOutput)
(Code)
(Java Doc)
protected
void verifyOutputRegularExpression(
String
expression)
(Code)
(Java Doc)
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.