Java Doc for TestAbstractCactusTestCase.java in  » Testing » jakarta-cactus » org » apache » cactus » internal » 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 » jakarta cactus » org.apache.cactus.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cactus.internal.AbstractTestAbstractCactusTestCase
   org.apache.cactus.internal.TestAbstractCactusTestCase

TestAbstractCactusTestCase
public class TestAbstractCactusTestCase extends AbstractTestAbstractCactusTestCase (Code)
Unit tests of the AbstractCactusTestCase class.
version:
   $Id: TestAbstractCactusTestCase.java 238991 2004-05-22 11:34:50Z vmassol $




Method Summary
public  voidbeginBeginMethodBadParamNumber(WebRequest theRequest, String theString)
    
public  voidbeginBeginMethodBadParamType(String theDummy)
    
public  StringbeginBeginMethodBadReturnType(WebRequest theRequest)
    
public  voidbeginBeginMethodOK(WebRequest theRequest)
    
public  voidendEndMethodBadParamNumber(WebResponse theResponse, String theDummy)
    
public  voidendEndMethodBadParamType(String theDummy)
    
public  StringendEndMethodBadReturnType(WebResponse theResponse)
    
public  voidendEndMethodOK1(WebResponse theResponse)
    
public  voidendEndMethodOK2(com.meterware.httpunit.WebResponse theResponse)
    
public  voidendEndMethodOK3(HttpURLConnection theResponse)
    
public  voidtestBeginMethodBadParamNumber()
     Test that when a begin method for a given test has the wrong number of parameters, a AssertionFailedError exception is returned.
public  voidtestBeginMethodBadParamType()
     Test that when a begin method for a given test has the wrong type of parameters, a AssertionFailedError exception is returned.
public  voidtestBeginMethodBadReturnType()
     Test that when a begin method for a given test does not have the correct return type (i.e.
public  voidtestBeginMethodNotPublic()
     Test that when a begin method for a given test is not declared public a AssertionFailedError exception is returned.
public  voidtestBeginMethodOK()
     Verify that the begin method with a WebRequest parameter is called correctly.
public  voidtestEndMethodBadParamNumber()
     Test that when an end method for a given test has the wrong number of parameters, a AssertionFailedError exception is returned.
public  voidtestEndMethodBadParamType()
     Test that when an end method for a given test has the wrong type of parameters, a AssertionFailedError exception is returned.
public  voidtestEndMethodBadReturnType()
     Test that when an end method for a given test does not have the correct return type (i.e.
public  voidtestEndMethodNotPublic()
     Test that when an end method for a given test is not declared public a AssertionFailedError exception is returned.
public  voidtestEndMethodOK1()
     Test that the end method is called correctly when it's signature contains a org.apache.cactus.WebResponse parameter.
public  voidtestEndMethodOK2()
     Test that the end method is called correctly when it's signature contains a com.meterware.httpunit.WebResponse parameter.
public  voidtestEndMethodOK3()
     Test that the deprecated end method with the HttpURLConnection parameter can still be called correctly.



Method Detail
beginBeginMethodBadParamNumber
public void beginBeginMethodBadParamNumber(WebRequest theRequest, String theString)(Code)

See Also:   TestAbstractCactusTestCase.testBeginMethodBadParamNumber()



beginBeginMethodBadParamType
public void beginBeginMethodBadParamType(String theDummy)(Code)

See Also:   TestAbstractCactusTestCase.testBeginMethodBadReturnType()



beginBeginMethodBadReturnType
public String beginBeginMethodBadReturnType(WebRequest theRequest)(Code)

See Also:   TestAbstractCactusTestCase.testBeginMethodBadReturnType()



beginBeginMethodOK
public void beginBeginMethodOK(WebRequest theRequest)(Code)

See Also:   TestAbstractCactusTestCase.testBeginMethodOK()



endEndMethodBadParamNumber
public void endEndMethodBadParamNumber(WebResponse theResponse, String theDummy)(Code)

See Also:   TestAbstractCactusTestCase.testEndMethodBadParamNumber()



endEndMethodBadParamType
public void endEndMethodBadParamType(String theDummy)(Code)

See Also:   TestAbstractCactusTestCase.testEndMethodBadParamType()



endEndMethodBadReturnType
public String endEndMethodBadReturnType(WebResponse theResponse)(Code)

See Also:   TestAbstractCactusTestCase.testEndMethodBadReturnType()



endEndMethodOK1
public void endEndMethodOK1(WebResponse theResponse)(Code)

See Also:   TestAbstractCactusTestCase.testEndMethodOK1()



endEndMethodOK2
public void endEndMethodOK2(com.meterware.httpunit.WebResponse theResponse)(Code)

See Also:   TestAbstractCactusTestCase.testEndMethodOK2()



endEndMethodOK3
public void endEndMethodOK3(HttpURLConnection theResponse)(Code)

See Also:   TestAbstractCactusTestCase.testEndMethodOK3()



testBeginMethodBadParamNumber
public void testBeginMethodBadParamNumber()(Code)
Test that when a begin method for a given test has the wrong number of parameters, a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testBeginMethodBadParamType
public void testBeginMethodBadParamType()(Code)
Test that when a begin method for a given test has the wrong type of parameters, a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testBeginMethodBadReturnType
public void testBeginMethodBadReturnType()(Code)
Test that when a begin method for a given test does not have the correct return type (i.e. void), a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testBeginMethodNotPublic
public void testBeginMethodNotPublic()(Code)
Test that when a begin method for a given test is not declared public a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testBeginMethodOK
public void testBeginMethodOK()(Code)
Verify that the begin method with a WebRequest parameter is called correctly.



testEndMethodBadParamNumber
public void testEndMethodBadParamNumber()(Code)
Test that when an end method for a given test has the wrong number of parameters, a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testEndMethodBadParamType
public void testEndMethodBadParamType()(Code)
Test that when an end method for a given test has the wrong type of parameters, a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testEndMethodBadReturnType
public void testEndMethodBadReturnType()(Code)
Test that when an end method for a given test does not have the correct return type (i.e. void), a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testEndMethodNotPublic
public void testEndMethodNotPublic()(Code)
Test that when an end method for a given test is not declared public a AssertionFailedError exception is returned. Note: the assert is done in the TestAbstractTestCaseInterceptorTestCase class.



testEndMethodOK1
public void testEndMethodOK1()(Code)
Test that the end method is called correctly when it's signature contains a org.apache.cactus.WebResponse parameter.



testEndMethodOK2
public void testEndMethodOK2()(Code)
Test that the end method is called correctly when it's signature contains a com.meterware.httpunit.WebResponse parameter. Note: We need the Httpunit jar and an XML parser jar on the classpath for this test



testEndMethodOK3
public void testEndMethodOK3()(Code)
Test that the deprecated end method with the HttpURLConnection parameter can still be called correctly.



Methods inherited from org.apache.cactus.internal.AbstractTestAbstractCactusTestCase
public void runBare() throws Throwable(Code)(Java Doc)
protected void runTest() throws Throwable(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.