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


com.mockrunner.base.BaseTestCase

All known Subclasses:   com.mockrunner.test.jdbc.MockPreparedStatementTest,  com.mockrunner.base.WebTestCase,  com.mockrunner.connector.ConnectorTestCaseAdapter,  com.mockrunner.test.ExtendedBaseTestCaseTest,  com.mockrunner.test.web.TagLifecycleTest,  com.mockrunner.test.web.MockPageContextTest,  com.mockrunner.test.web.NestedTagTest,  com.mockrunner.jms.JMSTestCaseAdapter,  com.mockrunner.test.web.TagUtilTest,  com.mockrunner.test.web.ServletTestModuleTest,  com.mockrunner.test.jdbc.AbstractParameterResultSetHandlerTest,  com.mockrunner.test.jdbc.MockCallableStatementTest,  com.mockrunner.test.jdbc.AbstractResultSetHandlerTest,  com.mockrunner.ejb.EJBTestCaseAdapter,  com.mockrunner.jdbc.JDBCTestCaseAdapter,  com.mockrunner.test.BaseTestCaseTest,  com.mockrunner.test.web.TagTestModuleTest,  com.mockrunner.test.web.ActionTestModuleTest,  com.mockrunner.test.jdbc.AbstractOutParameterResultSetHandlerTest,  com.mockrunner.test.jdbc.MockStatementTest,
BaseTestCase
abstract public class BaseTestCase extends TestCase (Code)
Base class for all standard adapters. Not used for basic adapters.



Constructor Summary
public  BaseTestCase()
    
public  BaseTestCase(String arg0)
    

Method Summary
protected  ActionMockObjectFactorycreateActionMockObjectFactory()
     Creates a ActionMockObjectFactory .
protected  ActionMockObjectFactorycreateActionMockObjectFactory(WebMockObjectFactory otherFactory)
    
protected  ActionMockObjectFactorycreateActionMockObjectFactory(WebMockObjectFactory otherFactory, boolean createNewSession)
     Creates a com.mockrunner.mock.web.ActionMockObjectFactory based on another com.mockrunner.mock.web.WebMockObjectFactory .
protected  ActionTestModulecreateActionTestModule(ActionMockObjectFactory mockFactory)
     Creates an com.mockrunner.struts.ActionTestModule with the specified WebMockObjectFactory .
protected  ActionTestModulecreateActionTestModule()
     Creates an com.mockrunner.struts.ActionTestModule based on the current WebMockObjectFactory .
protected  ConnectorMockObjectFactorycreateConnectorMockObjectFactory()
     Creates a ConnectorMockObjectFactory .
protected  ConnectorTestModulecreateConnectorTestModule(ConnectorMockObjectFactory mockFactory)
     Creates an com.mockrunner.connector.ConnectorTestModule with the specified ConnectorMockObjectFactory .
protected  ConnectorTestModulecreateConnectorTestModule()
     Creates an com.mockrunner.connector.ConnectorTestModule based on the current ConnectorMockObjectFactory .
protected  EJBMockObjectFactorycreateEJBMockObjectFactory()
     Creates a EJBMockObjectFactory .
protected  EJBTestModulecreateEJBTestModule(EJBMockObjectFactory mockFactory)
     Creates an com.mockrunner.ejb.EJBTestModule with the specified EJBMockObjectFactory .
protected  EJBTestModulecreateEJBTestModule()
     Creates an com.mockrunner.ejb.EJBTestModule based on the current EJBMockObjectFactory .
protected  JDBCMockObjectFactorycreateJDBCMockObjectFactory()
     Creates a JDBCMockObjectFactory .
protected  JDBCTestModulecreateJDBCTestModule(JDBCMockObjectFactory mockFactory)
     Creates a com.mockrunner.jdbc.JDBCTestModule with the specified JDBCMockObjectFactory .
protected  JDBCTestModulecreateJDBCTestModule()
     Creates a com.mockrunner.jdbc.JDBCTestModule based on the current JDBCMockObjectFactory .
protected  JMSMockObjectFactorycreateJMSMockObjectFactory()
     Creates a JMSMockObjectFactory .
protected  JMSTestModulecreateJMSTestModule(JMSMockObjectFactory mockFactory)
     Creates a com.mockrunner.jms.JMSTestModule with the specified JMSMockObjectFactory .
protected  JMSTestModulecreateJMSTestModule()
     Creates a com.mockrunner.jms.JMSTestModule based on the current JMSMockObjectFactory .
protected  ServletTestModulecreateServletTestModule(WebMockObjectFactory mockFactory)
     Creates a com.mockrunner.servlet.ServletTestModule with the specified WebMockObjectFactory .
protected  ServletTestModulecreateServletTestModule()
     Creates a com.mockrunner.servlet.ServletTestModule based on the current WebMockObjectFactory .
protected  TagTestModulecreateTagTestModule(WebMockObjectFactory mockFactory)
     Creates a com.mockrunner.tag.TagTestModule with the specified WebMockObjectFactory .
protected  TagTestModulecreateTagTestModule()
     Creates a com.mockrunner.tag.TagTestModule based on the current WebMockObjectFactory .
protected  WebMockObjectFactorycreateWebMockObjectFactory()
     Creates a WebMockObjectFactory .
protected  WebMockObjectFactorycreateWebMockObjectFactory(WebMockObjectFactory otherFactory)
    
protected  WebMockObjectFactorycreateWebMockObjectFactory(WebMockObjectFactory otherFactory, boolean createNewSession)
     Creates a com.mockrunner.mock.web.WebMockObjectFactory based on another one. The created com.mockrunner.mock.web.WebMockObjectFactory will have its own request and response objects.
protected  ActionMockObjectFactorygetActionMockObjectFactory()
     Gets the current ActionMockObjectFactory .
protected  ConnectorMockObjectFactorygetConnectorMockObjectFactory()
     Gets the current ConnectorMockObjectFactory .
protected  EJBMockObjectFactorygetEJBMockObjectFactory()
     Gets the current EJBMockObjectFactory .
protected  JDBCMockObjectFactorygetJDBCMockObjectFactory()
     Gets the current JDBCMockObjectFactory .
protected  JMSMockObjectFactorygetJMSMockObjectFactory()
     Gets the current JMSMockObjectFactory .
protected  WebMockObjectFactorygetWebMockObjectFactory()
     Gets the current WebMockObjectFactory .
protected  voidsetActionMockObjectFactory(ActionMockObjectFactory mockFactory)
     Sets the current ActionMockObjectFactory .
protected  voidsetConnectorMockObjectFactory(ConnectorMockObjectFactory mockFactory)
     Sets the current ConnectorMockObjectFactory .
protected  voidsetEJBMockObjectFactory(EJBMockObjectFactory mockFactory)
     Sets the current EJBMockObjectFactory .
protected  voidsetJDBCMockObjectFactory(JDBCMockObjectFactory mockFactory)
     Sets the current JDBCMockObjectFactory .
protected  voidsetJMSMockObjectFactory(JMSMockObjectFactory mockFactory)
     Sets the current JMSMockObjectFactory .
protected  voidsetWebMockObjectFactory(WebMockObjectFactory mockFactory)
     Sets the current WebMockObjectFactory .
protected  voidtearDown()
    


Constructor Detail
BaseTestCase
public BaseTestCase()(Code)



BaseTestCase
public BaseTestCase(String arg0)(Code)




Method Detail
createActionMockObjectFactory
protected ActionMockObjectFactory createActionMockObjectFactory()(Code)
Creates a ActionMockObjectFactory . the created ActionMockObjectFactory



createActionMockObjectFactory
protected ActionMockObjectFactory createActionMockObjectFactory(WebMockObjectFactory otherFactory)(Code)
Same as createActionMockObjectFactory(otherFactory, true)



createActionMockObjectFactory
protected ActionMockObjectFactory createActionMockObjectFactory(WebMockObjectFactory otherFactory, boolean createNewSession)(Code)
Creates a com.mockrunner.mock.web.ActionMockObjectFactory based on another com.mockrunner.mock.web.WebMockObjectFactory .
Parameters:
  otherFactory - the other factory
Parameters:
  createNewSession - create a new session for the new factory the created com.mockrunner.mock.web.ActionMockObjectFactory
See Also:   BaseTestCase.createWebMockObjectFactory(WebMockObjectFactory,boolean)



createActionTestModule
protected ActionTestModule createActionTestModule(ActionMockObjectFactory mockFactory)(Code)
Creates an com.mockrunner.struts.ActionTestModule with the specified WebMockObjectFactory .
Parameters:
  mockFactory - the ActionMockObjectFactory the created com.mockrunner.struts.ActionTestModule



createActionTestModule
protected ActionTestModule createActionTestModule()(Code)
Creates an com.mockrunner.struts.ActionTestModule based on the current WebMockObjectFactory . Same as createActionTestModule(getActionMockObjectFactory()). the created com.mockrunner.struts.ActionTestModule



createConnectorMockObjectFactory
protected ConnectorMockObjectFactory createConnectorMockObjectFactory()(Code)
Creates a ConnectorMockObjectFactory . the created ConnectorMockObjectFactory



createConnectorTestModule
protected ConnectorTestModule createConnectorTestModule(ConnectorMockObjectFactory mockFactory)(Code)
Creates an com.mockrunner.connector.ConnectorTestModule with the specified ConnectorMockObjectFactory . the created com.mockrunner.connector.ConnectorTestModule



createConnectorTestModule
protected ConnectorTestModule createConnectorTestModule()(Code)
Creates an com.mockrunner.connector.ConnectorTestModule based on the current ConnectorMockObjectFactory . Same as createConnectorTestModule(getConnectorMockConnectionFactory()). the created com.mockrunner.connector.ConnectorTestModule



createEJBMockObjectFactory
protected EJBMockObjectFactory createEJBMockObjectFactory()(Code)
Creates a EJBMockObjectFactory . the created EJBMockObjectFactory



createEJBTestModule
protected EJBTestModule createEJBTestModule(EJBMockObjectFactory mockFactory)(Code)
Creates an com.mockrunner.ejb.EJBTestModule with the specified EJBMockObjectFactory . the created com.mockrunner.ejb.EJBTestModule



createEJBTestModule
protected EJBTestModule createEJBTestModule()(Code)
Creates an com.mockrunner.ejb.EJBTestModule based on the current EJBMockObjectFactory . Same as createEJBTestModule(getEJBMockObjectFactory()). the created com.mockrunner.ejb.EJBTestModule



createJDBCMockObjectFactory
protected JDBCMockObjectFactory createJDBCMockObjectFactory()(Code)
Creates a JDBCMockObjectFactory . the created JDBCMockObjectFactory



createJDBCTestModule
protected JDBCTestModule createJDBCTestModule(JDBCMockObjectFactory mockFactory)(Code)
Creates a com.mockrunner.jdbc.JDBCTestModule with the specified JDBCMockObjectFactory . the created com.mockrunner.jdbc.JDBCTestModule



createJDBCTestModule
protected JDBCTestModule createJDBCTestModule()(Code)
Creates a com.mockrunner.jdbc.JDBCTestModule based on the current JDBCMockObjectFactory . Same as createJDBCTestModule(getJDBCMockObjectFactory()). the created com.mockrunner.jdbc.JDBCTestModule



createJMSMockObjectFactory
protected JMSMockObjectFactory createJMSMockObjectFactory()(Code)
Creates a JMSMockObjectFactory . the created JMSMockObjectFactory



createJMSTestModule
protected JMSTestModule createJMSTestModule(JMSMockObjectFactory mockFactory)(Code)
Creates a com.mockrunner.jms.JMSTestModule with the specified JMSMockObjectFactory . the created com.mockrunner.jms.JMSTestModule



createJMSTestModule
protected JMSTestModule createJMSTestModule()(Code)
Creates a com.mockrunner.jms.JMSTestModule based on the current JMSMockObjectFactory . Same as createJMSTestModule(getJMSMockObjectFactory()). the created com.mockrunner.jms.JMSTestModule



createServletTestModule
protected ServletTestModule createServletTestModule(WebMockObjectFactory mockFactory)(Code)
Creates a com.mockrunner.servlet.ServletTestModule with the specified WebMockObjectFactory . the created com.mockrunner.servlet.ServletTestModule



createServletTestModule
protected ServletTestModule createServletTestModule()(Code)
Creates a com.mockrunner.servlet.ServletTestModule based on the current WebMockObjectFactory . Same as createServletTestModule(getWebMockObjectFactory()). the created com.mockrunner.servlet.ServletTestModule



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



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



createWebMockObjectFactory
protected WebMockObjectFactory createWebMockObjectFactory()(Code)
Creates a WebMockObjectFactory . the created 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 one. 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



getActionMockObjectFactory
protected ActionMockObjectFactory getActionMockObjectFactory()(Code)
Gets the current ActionMockObjectFactory . the ActionMockObjectFactory



getConnectorMockObjectFactory
protected ConnectorMockObjectFactory getConnectorMockObjectFactory()(Code)
Gets the current ConnectorMockObjectFactory . the ConnectorMockObjectFactory



getEJBMockObjectFactory
protected EJBMockObjectFactory getEJBMockObjectFactory()(Code)
Gets the current EJBMockObjectFactory . the EJBMockObjectFactory



getJDBCMockObjectFactory
protected JDBCMockObjectFactory getJDBCMockObjectFactory()(Code)
Gets the current JDBCMockObjectFactory . the JDBCMockObjectFactory



getJMSMockObjectFactory
protected JMSMockObjectFactory getJMSMockObjectFactory()(Code)
Gets the current JMSMockObjectFactory . the JMSMockObjectFactory



getWebMockObjectFactory
protected WebMockObjectFactory getWebMockObjectFactory()(Code)
Gets the current WebMockObjectFactory . the WebMockObjectFactory



setActionMockObjectFactory
protected void setActionMockObjectFactory(ActionMockObjectFactory mockFactory)(Code)
Sets the current ActionMockObjectFactory .
Parameters:
  mockFactory - the ActionMockObjectFactory



setConnectorMockObjectFactory
protected void setConnectorMockObjectFactory(ConnectorMockObjectFactory mockFactory)(Code)
Sets the current ConnectorMockObjectFactory .
Parameters:
  mockFactory - the ConnectorMockObjectFactory



setEJBMockObjectFactory
protected void setEJBMockObjectFactory(EJBMockObjectFactory mockFactory)(Code)
Sets the current EJBMockObjectFactory .
Parameters:
  mockFactory - the EJBMockObjectFactory



setJDBCMockObjectFactory
protected void setJDBCMockObjectFactory(JDBCMockObjectFactory mockFactory)(Code)
Sets the current JDBCMockObjectFactory .
Parameters:
  mockFactory - the JDBCMockObjectFactory



setJMSMockObjectFactory
protected void setJMSMockObjectFactory(JMSMockObjectFactory mockFactory)(Code)
Sets the current JMSMockObjectFactory .
Parameters:
  mockFactory - the JMSMockObjectFactory



setWebMockObjectFactory
protected void setWebMockObjectFactory(WebMockObjectFactory mockFactory)(Code)
Sets the current WebMockObjectFactory .
Parameters:
  mockFactory - the WebMockObjectFactory



tearDown
protected void tearDown() throws Exception(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.