Java Doc for BasicTagTestCaseAdapter.java in  » Testing » mockrunner-0.4 » com » mockrunner » tag » 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.tag 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.mockrunner.base.BasicHTMLOutputTestCase
   com.mockrunner.tag.BasicTagTestCaseAdapter

All known Subclasses:   com.mockrunner.test.web.BasicTagTestCaseAdapterTest,  com.mockrunner.example.tag.HtmlTextTagTest,  com.mockrunner.example.tag.ConstrainedNumericTextTagTest,  com.mockrunner.example.tag.FilterImagesTagTest,  com.mockrunner.example.tag.TableEnumTagTest,
BasicTagTestCaseAdapter
abstract public class BasicTagTestCaseAdapter extends BasicHTMLOutputTestCase (Code)
Delegator for com.mockrunner.tag.TagTestModule . You can subclass this adapter or use com.mockrunner.tag.TagTestModule directly (so your test case can use another base class). This basic adapter can be used if you don't need any other modules. It does not extend com.mockrunner.base.BaseTestCase . If you want to use several modules in conjunction, consider subclassing com.mockrunner.tag.TagTestCaseAdapter . This class is generated from the com.mockrunner.tag.TagTestModule and should not be edited directly.



Constructor Summary
public  BasicTagTestCaseAdapter()
    
public  BasicTagTestCaseAdapter(String name)
    

Method Summary
protected  voidclearOutput()
    
protected  NestedTagcreateNestedTag(Class tagClass, Map attributes)
    
protected  NestedTagcreateNestedTag(Class tagClass)
    
protected  TagSupportcreateTag(Class tagClass)
    
protected  TagSupportcreateTag(Class tagClass, Map attributes)
    
protected  TagTestModulecreateTagTestModule()
     Creates a com.mockrunner.tag.TagTestModule based on the current com.mockrunner.mock.web.WebMockObjectFactory .
protected  TagTestModulecreateTagTestModule(WebMockObjectFactory mockFactory)
     Creates a com.mockrunner.tag.TagTestModule with the specified com.mockrunner.mock.web.WebMockObjectFactory .
protected  WebMockObjectFactorycreateWebMockObjectFactory()
     Creates a com.mockrunner.mock.web.WebMockObjectFactory .
protected  WebMockObjectFactorycreateWebMockObjectFactory(WebMockObjectFactory otherFactory)
     Same as createWebMockObjectFactory(otherFactory, true).
protected  WebMockObjectFactorycreateWebMockObjectFactory(WebMockObjectFactory otherFactory, boolean createNewSession)
     Creates a com.mockrunner.mock.web.WebMockObjectFactory based on another com.mockrunner.mock.web.WebMockObjectFactory . The created com.mockrunner.mock.web.WebMockObjectFactory will have its own request and response objects.
protected  intdoAfterBody()
    
protected  intdoEndTag()
    
protected  voiddoInitBody()
    
protected  intdoStartTag()
    
protected  HTMLOutputModulegetHTMLOutputModule()
     Returns the com.mockrunner.tag.TagTestModule as com.mockrunner.base.HTMLOutputModule .
protected  MockPageContextgetMockPageContext()
    
protected  NestedTaggetNestedTag()
    
protected  TagSupportgetTag()
    
protected  TagTestModulegetTagTestModule()
     Gets the com.mockrunner.tag.TagTestModule .
protected  WebMockObjectFactorygetWebMockObjectFactory()
     Gets the com.mockrunner.mock.web.WebMockObjectFactory .
protected  voidpopulateAttributes()
    
protected  intprocessTagLifecycle()
    
protected  voidrelease()
    
protected  voidsetBody(String body)
    
protected  voidsetDoRelease(boolean doRelease)
    
protected  voidsetDoReleaseRecursive(boolean doRelease)
    
protected  NestedTagsetTag(TagSupport tag, Map attributes)
    
protected  NestedTagsetTag(TagSupport tag)
    
protected  voidsetTagTestModule(TagTestModule tagTestModule)
     Sets the com.mockrunner.tag.TagTestModule .
protected  voidsetUp()
     Creates the com.mockrunner.tag.TagTestModule .
protected  voidsetWebMockObjectFactory(WebMockObjectFactory webMockObjectFactory)
     Sets the com.mockrunner.mock.web.WebMockObjectFactory .
protected  voidtearDown()
    


Constructor Detail
BasicTagTestCaseAdapter
public BasicTagTestCaseAdapter()(Code)



BasicTagTestCaseAdapter
public BasicTagTestCaseAdapter(String name)(Code)




Method Detail
clearOutput
protected void clearOutput()(Code)
Delegates to com.mockrunner.tag.TagTestModule.clearOutput



createNestedTag
protected NestedTag createNestedTag(Class tagClass, Map attributes)(Code)
Delegates to com.mockrunner.tag.TagTestModule.createNestedTag(ClassMap)



createNestedTag
protected NestedTag createNestedTag(Class tagClass)(Code)
Delegates to com.mockrunner.tag.TagTestModule.createNestedTag(Class)



createTag
protected TagSupport createTag(Class tagClass)(Code)
Delegates to com.mockrunner.tag.TagTestModule.createTag(Class)



createTag
protected TagSupport createTag(Class tagClass, Map attributes)(Code)
Delegates to com.mockrunner.tag.TagTestModule.createTag(ClassMap)



createTagTestModule
protected TagTestModule createTagTestModule()(Code)
Creates a com.mockrunner.tag.TagTestModule based on the current com.mockrunner.mock.web.WebMockObjectFactory . Same as createTagTestModule(getWebMockObjectFactory()). the created com.mockrunner.tag.TagTestModule



createTagTestModule
protected TagTestModule createTagTestModule(WebMockObjectFactory mockFactory)(Code)
Creates a com.mockrunner.tag.TagTestModule with the specified com.mockrunner.mock.web.WebMockObjectFactory . the created com.mockrunner.tag.TagTestModule



createWebMockObjectFactory
protected WebMockObjectFactory createWebMockObjectFactory()(Code)
Creates a com.mockrunner.mock.web.WebMockObjectFactory . the created com.mockrunner.mock.web.WebMockObjectFactory



createWebMockObjectFactory
protected WebMockObjectFactory createWebMockObjectFactory(WebMockObjectFactory otherFactory)(Code)
Same as createWebMockObjectFactory(otherFactory, true).



createWebMockObjectFactory
protected WebMockObjectFactory createWebMockObjectFactory(WebMockObjectFactory otherFactory, boolean createNewSession)(Code)
Creates a com.mockrunner.mock.web.WebMockObjectFactory based on another com.mockrunner.mock.web.WebMockObjectFactory . The created com.mockrunner.mock.web.WebMockObjectFactory will have its own request and response objects. If you set createNewSession to true it will also have its own session object. The two factories will share one ServletContext. Especially important for multithreading tests. If you set createNewSession to false, the two factories will share one session. This setting simulates multiple requests from the same client.
Parameters:
  otherFactory - the other factory
Parameters:
  createNewSession - create a new session for the new factory the created com.mockrunner.mock.web.WebMockObjectFactory



doAfterBody
protected int doAfterBody()(Code)
Delegates to com.mockrunner.tag.TagTestModule.doAfterBody



doEndTag
protected int doEndTag()(Code)
Delegates to com.mockrunner.tag.TagTestModule.doEndTag



doInitBody
protected void doInitBody()(Code)
Delegates to com.mockrunner.tag.TagTestModule.doInitBody



doStartTag
protected int doStartTag()(Code)
Delegates to com.mockrunner.tag.TagTestModule.doStartTag



getHTMLOutputModule
protected HTMLOutputModule getHTMLOutputModule()(Code)
Returns the com.mockrunner.tag.TagTestModule as com.mockrunner.base.HTMLOutputModule . the com.mockrunner.base.HTMLOutputModule



getMockPageContext
protected MockPageContext getMockPageContext()(Code)
Delegates to com.mockrunner.tag.TagTestModule.getMockPageContext



getNestedTag
protected NestedTag getNestedTag()(Code)
Delegates to com.mockrunner.tag.TagTestModule.getNestedTag



getTag
protected TagSupport getTag()(Code)
Delegates to com.mockrunner.tag.TagTestModule.getTag



getTagTestModule
protected TagTestModule getTagTestModule()(Code)
Gets the com.mockrunner.tag.TagTestModule . the com.mockrunner.tag.TagTestModule



getWebMockObjectFactory
protected WebMockObjectFactory getWebMockObjectFactory()(Code)
Gets the com.mockrunner.mock.web.WebMockObjectFactory . the com.mockrunner.mock.web.WebMockObjectFactory



populateAttributes
protected void populateAttributes()(Code)
Delegates to com.mockrunner.tag.TagTestModule.populateAttributes



processTagLifecycle
protected int processTagLifecycle()(Code)
Delegates to com.mockrunner.tag.TagTestModule.processTagLifecycle



release
protected void release()(Code)
Delegates to com.mockrunner.tag.TagTestModule.release



setBody
protected void setBody(String body)(Code)
Delegates to com.mockrunner.tag.TagTestModule.setBody(String)



setDoRelease
protected void setDoRelease(boolean doRelease)(Code)
Delegates to com.mockrunner.tag.TagTestModule.setDoRelease(boolean)



setDoReleaseRecursive
protected void setDoReleaseRecursive(boolean doRelease)(Code)
Delegates to com.mockrunner.tag.TagTestModule.setDoReleaseRecursive(boolean)



setTag
protected NestedTag setTag(TagSupport tag, Map attributes)(Code)
Delegates to com.mockrunner.tag.TagTestModule.setTag(TagSupportMap)



setTag
protected NestedTag setTag(TagSupport tag)(Code)
Delegates to com.mockrunner.tag.TagTestModule.setTag(TagSupport)



setTagTestModule
protected void setTagTestModule(TagTestModule tagTestModule)(Code)
Sets the com.mockrunner.tag.TagTestModule .
Parameters:
  tagTestModule - the com.mockrunner.tag.TagTestModule



setUp
protected void setUp() throws Exception(Code)
Creates the com.mockrunner.tag.TagTestModule . If you overwrite this method, you must call super.setUp().



setWebMockObjectFactory
protected void setWebMockObjectFactory(WebMockObjectFactory webMockObjectFactory)(Code)
Sets the com.mockrunner.mock.web.WebMockObjectFactory .
Parameters:
  webMockObjectFactory - the com.mockrunner.mock.web.WebMockObjectFactory



tearDown
protected void tearDown() throws Exception(Code)



Methods inherited from com.mockrunner.base.BasicHTMLOutputTestCase
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.