Java Doc for IntegrationTestCase.java in  » Test-Coverage » GroboUtils » net » sourceforge » groboutils » junit » v1 » 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 » Test Coverage » GroboUtils » net.sourceforge.groboutils.junit.v1 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sourceforge.groboutils.junit.v1.SubTestTestCase
   net.sourceforge.groboutils.junit.v1.IntegrationTestCase

IntegrationTestCase
public class IntegrationTestCase extends SubTestTestCase (Code)
A TestCase specific for Integration tests. It has the additional functionality of soft validation through the AssertTestFactory class.
author:
   Matt Albrecht groboclown@users.sourceforge.net
version:
   $Date: 2004/01/09 20:32:26 $
since:
   March 28, 2002



Constructor Summary
public  IntegrationTestCase(String name)
     Standard JUnit format for test constructors (pre JUnit 3.8).

Method Summary
public  voidsoftAssertEquals(String message, Object expected, Object actual)
     Asserts that two objects are equal (.equals()).
public  voidsoftAssertEquals(Object expected, Object actual)
     Asserts that two objects are equal.
public  voidsoftAssertEquals(String message, String expected, String actual)
     Asserts that two objects are equal.
public  voidsoftAssertEquals(String expected, String actual)
     Asserts that two objects are equal.
public  voidsoftAssertEquals(String message, double expected, double actual, double delta)
     Asserts that two doubles are equal concerning a delta.
public  voidsoftAssertEquals(double expected, double actual, double delta)
     Asserts that two doubles are equal concerning a delta.
public  voidsoftAssertEquals(String message, float expected, float actual, float delta)
     Asserts that two floats are equal concerning a delta.
public  voidsoftAssertEquals(float expected, float actual, float delta)
     Asserts that two floats are equal concerning a delta.
public  voidsoftAssertEquals(String message, long expected, long actual)
     Asserts that two longs are equal.
public  voidsoftAssertEquals(long expected, long actual)
     Asserts that two longs are equal.
public  voidsoftAssertEquals(String message, boolean expected, boolean actual)
     Asserts that two booleans are equal.
public  voidsoftAssertEquals(boolean expected, boolean actual)
     Asserts that two booleans are equal.
public  voidsoftAssertEquals(String message, byte expected, byte actual)
     Asserts that two bytes are equal.
public  voidsoftAssertEquals(byte expected, byte actual)
     Asserts that two bytes are equal.
public  voidsoftAssertEquals(String message, char expected, char actual)
     Asserts that two chars are equal.
public  voidsoftAssertEquals(char expected, char actual)
     Asserts that two chars are equal.
public  voidsoftAssertEquals(String message, short expected, short actual)
     Asserts that two shorts are equal.
public  voidsoftAssertEquals(short expected, short actual)
     Asserts that two shorts are equal.
public  voidsoftAssertEquals(String message, int expected, int actual)
     Asserts that two ints are equal.
public  voidsoftAssertEquals(int expected, int actual)
     Asserts that two ints are equal.
public  voidsoftAssertFalse(String message, boolean condition)
     Asserts that a condtion is false.
public  voidsoftAssertFalse(boolean condition)
     Asserts that a condition is false.
public  voidsoftAssertNotNull(String message, Object object)
     Asserts that an object isn't null.
public  voidsoftAssertNotNull(Object object)
     Asserts that an object isn't null.
public  voidsoftAssertNotSame(String message, Object expected, Object actual)
     Asserts that two objects refer to the same object.
public  voidsoftAssertNotSame(Object expected, Object actual)
     Asserts that two objects refer to the same object.
public  voidsoftAssertNull(String message, Object object)
     Asserts that an object is null.
public  voidsoftAssertNull(Object object)
     Asserts that an object is null.
public  voidsoftAssertSame(String message, Object expected, Object actual)
     Asserts that two objects refer to the same object.
public  voidsoftAssertSame(Object expected, Object actual)
     Asserts that two objects refer to the same object.
public  voidsoftAssertTrue(String message, boolean condition)
     Asserts that a condtion is true.
public  voidsoftAssertTrue(boolean condition)
     Asserts that a condition is true.
public  voidsoftFail(String message)
     Fails a test with the given message.
public  voidsoftFail()
     Fails a test with no message.


Constructor Detail
IntegrationTestCase
public IntegrationTestCase(String name)(Code)
Standard JUnit format for test constructors (pre JUnit 3.8).
Parameters:
  name - the name of the test case.




Method Detail
softAssertEquals
public void softAssertEquals(String message, Object expected, Object actual)(Code)
Asserts that two objects are equal (.equals()). If they are not an AssertionFailedError is thrown.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(Object expected, Object actual)(Code)
Asserts that two objects are equal. If they are not an AssertionFailedError is thrown.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, String expected, String actual)(Code)
Asserts that two objects are equal. If they are not an AssertionFailedError is thrown.
since:
   03-Nov-2002
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String expected, String actual)(Code)
Asserts that two objects are equal. If they are not an AssertionFailedError is thrown.
since:
   03-Nov-2002
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, double expected, double actual, double delta)(Code)
Asserts that two doubles are equal concerning a delta. If the expected value is infinity then the delta value is ignored.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.
Parameters:
  delta - Description of the Parameter



softAssertEquals
public void softAssertEquals(double expected, double actual, double delta)(Code)
Asserts that two doubles are equal concerning a delta. If the expected value is infinity then the delta value is ignored.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.
Parameters:
  delta - Description of the Parameter



softAssertEquals
public void softAssertEquals(String message, float expected, float actual, float delta)(Code)
Asserts that two floats are equal concerning a delta. If the expected value is infinity then the delta value is ignored.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.
Parameters:
  delta - Description of the Parameter



softAssertEquals
public void softAssertEquals(float expected, float actual, float delta)(Code)
Asserts that two floats are equal concerning a delta. If the expected value is infinity then the delta value is ignored.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.
Parameters:
  delta - Description of the Parameter



softAssertEquals
public void softAssertEquals(String message, long expected, long actual)(Code)
Asserts that two longs are equal.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(long expected, long actual)(Code)
Asserts that two longs are equal.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, boolean expected, boolean actual)(Code)
Asserts that two booleans are equal.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(boolean expected, boolean actual)(Code)
Asserts that two booleans are equal.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, byte expected, byte actual)(Code)
Asserts that two bytes are equal.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(byte expected, byte actual)(Code)
Asserts that two bytes are equal.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, char expected, char actual)(Code)
Asserts that two chars are equal.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(char expected, char actual)(Code)
Asserts that two chars are equal.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, short expected, short actual)(Code)
Asserts that two shorts are equal.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(short expected, short actual)(Code)
Asserts that two shorts are equal.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(String message, int expected, int actual)(Code)
Asserts that two ints are equal.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertEquals
public void softAssertEquals(int expected, int actual)(Code)
Asserts that two ints are equal.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertFalse
public void softAssertFalse(String message, boolean condition)(Code)
Asserts that a condtion is false. If it isn't it throws an AssertionFailedError.
since:
   03-Nov-2002
Parameters:
  message - text reported during failure.
Parameters:
  condition - must be false or an exception is raised.



softAssertFalse
public void softAssertFalse(boolean condition)(Code)
Asserts that a condition is false. If it isn't it throws an AssertionFailedError.
since:
   03-Nov-2002
Parameters:
  condition - must be false or an exception is raised.



softAssertNotNull
public void softAssertNotNull(String message, Object object)(Code)
Asserts that an object isn't null.
Parameters:
  message - text reported during failure.
Parameters:
  object - Description of the Parameter



softAssertNotNull
public void softAssertNotNull(Object object)(Code)
Asserts that an object isn't null.
Parameters:
  object - Description of the Parameter



softAssertNotSame
public void softAssertNotSame(String message, Object expected, Object actual)(Code)
Asserts that two objects refer to the same object. If they are not an AssertionFailedError is thrown.
since:
   03-Nov-2002
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertNotSame
public void softAssertNotSame(Object expected, Object actual)(Code)
Asserts that two objects refer to the same object. If they are not the same an AssertionFailedError is thrown.
since:
   03-Nov-2002
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertNull
public void softAssertNull(String message, Object object)(Code)
Asserts that an object is null.
Parameters:
  message - text reported during failure.
Parameters:
  object - Description of the Parameter



softAssertNull
public void softAssertNull(Object object)(Code)
Asserts that an object is null.
Parameters:
  object - Description of the Parameter



softAssertSame
public void softAssertSame(String message, Object expected, Object actual)(Code)
Asserts that two objects refer to the same object. If they are not an AssertionFailedError is thrown.
Parameters:
  message - text reported during failure.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertSame
public void softAssertSame(Object expected, Object actual)(Code)
Asserts that two objects refer to the same object. If they are not the same an AssertionFailedError is thrown.
Parameters:
  expected - value expected from the test.
Parameters:
  actual - actual value generated by the test.



softAssertTrue
public void softAssertTrue(String message, boolean condition)(Code)
Asserts that a condtion is true. If it isn't it throws an AssertionFailedError.
Parameters:
  message - text reported during failure.
Parameters:
  condition - must be true or an exception is raised.



softAssertTrue
public void softAssertTrue(boolean condition)(Code)
Asserts that a condition is true. If it isn't it throws an AssertionFailedError.
Parameters:
  condition - must be true or an exception is raised.



softFail
public void softFail(String message)(Code)
Fails a test with the given message.
Parameters:
  message - text reported during failure.



softFail
public void softFail()(Code)
Fails a test with no message.



Methods inherited from net.sourceforge.groboutils.junit.v1.SubTestTestCase
public void addSubTest(Test test)(Code)(Java Doc)
public void run(TestResult result)(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.