| 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 |
Method Summary | |
public void | softAssertEquals(String message, Object expected, Object actual) Asserts that two objects are equal (.equals()). | public void | softAssertEquals(Object expected, Object actual) Asserts that two objects are equal. | public void | softAssertEquals(String message, String expected, String actual) Asserts that two objects are equal. | public void | softAssertEquals(String expected, String actual) Asserts that two objects are equal. | public void | softAssertEquals(String message, double expected, double actual, double delta) Asserts that two doubles are equal concerning a delta. | public void | softAssertEquals(double expected, double actual, double delta) Asserts that two doubles are equal concerning a delta. | public void | softAssertEquals(String message, float expected, float actual, float delta) Asserts that two floats are equal concerning a delta. | public void | softAssertEquals(float expected, float actual, float delta) Asserts that two floats are equal concerning a delta. | public void | softAssertEquals(String message, long expected, long actual) Asserts that two longs are equal. | public void | softAssertEquals(long expected, long actual) Asserts that two longs are equal. | public void | softAssertEquals(String message, boolean expected, boolean actual) Asserts that two booleans are equal. | public void | softAssertEquals(boolean expected, boolean actual) Asserts that two booleans are equal. | public void | softAssertEquals(String message, byte expected, byte actual) Asserts that two bytes are equal. | public void | softAssertEquals(byte expected, byte actual) Asserts that two bytes are equal. | public void | softAssertEquals(String message, char expected, char actual) Asserts that two chars are equal. | public void | softAssertEquals(char expected, char actual) Asserts that two chars are equal. | public void | softAssertEquals(String message, short expected, short actual) Asserts that two shorts are equal. | public void | softAssertEquals(short expected, short actual) Asserts that two shorts are equal. | public void | softAssertEquals(String message, int expected, int actual) Asserts that two ints are equal. | public void | softAssertEquals(int expected, int actual) Asserts that two ints are equal. | public void | softAssertFalse(String message, boolean condition) Asserts that a condtion is false. | public void | softAssertFalse(boolean condition) Asserts that a condition is false. | public void | softAssertNotNull(String message, Object object) Asserts that an object isn't null. | public void | softAssertNotNull(Object object) Asserts that an object isn't null. | public void | softAssertNotSame(String message, Object expected, Object actual) Asserts that two objects refer to the same object. | public void | softAssertNotSame(Object expected, Object actual) Asserts that two objects refer to the same object. | public void | softAssertNull(String message, Object object) Asserts that an object is null. | public void | softAssertNull(Object object) Asserts that an object is null. | public void | softAssertSame(String message, Object expected, Object actual) Asserts that two objects refer to the same object. | public void | softAssertSame(Object expected, Object actual) Asserts that two objects refer to the same object. | public void | softAssertTrue(String message, boolean condition) Asserts that a condtion is true. | public void | softAssertTrue(boolean condition) Asserts that a condition is true. | public void | softFail(String message) Fails a test with the given message. | public void | softFail() Fails a test with no message. |
IntegrationTestCase | public IntegrationTestCase(String name)(Code) | | Standard JUnit format for test constructors (pre JUnit 3.8).
Parameters: name - the name of the test case. |
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)
|
|
|