public class T_Fail
extends java.lang.Exception
Modifier and Type | Field and Description |
---|---|
private java.lang.Throwable |
nested |
Modifier | Constructor and Description |
---|---|
private |
T_Fail(java.lang.String message)
Create a T_Fail exception which carries a message.
|
Modifier and Type | Method and Description |
---|---|
static T_Fail |
exceptionFail(java.lang.Throwable e)
return a T_Fail exception to indicate the test failed due
to an exception.
|
static T_Fail |
moduleToTestIdNotFound()
return a T_Fail exception to indicate the configuration does
not specify the module to test.
|
static T_Fail |
moduleToTestNotFound(java.lang.String moduleToTest)
return a T_Fail exception to indicate the configuration does
not contain the module to test.
|
static void |
T_ASSERT(boolean mustBeTrue)
Check a test condition.
|
static void |
T_ASSERT(boolean mustBeTrue,
java.lang.String msg)
Check a test condition.
|
static T_Fail |
testFail()
return a T_Fail exception to indicate the test failed.
|
static T_Fail |
testFailMsg(java.lang.String message)
return a T_Fail exception which includes a user message indicating
why a test failed.
|
private T_Fail(java.lang.String message)
message
- An Id for an error message for this exception.public static T_Fail moduleToTestIdNotFound()
public static T_Fail moduleToTestNotFound(java.lang.String moduleToTest)
public static T_Fail exceptionFail(java.lang.Throwable e)
Note: Since the Test Service catches all exceptions this seems to be of limited value.
public static T_Fail testFail()
public static T_Fail testFailMsg(java.lang.String message)
public static final void T_ASSERT(boolean mustBeTrue) throws T_Fail
mustBeTrue
- The condition.T_Fail
- A test failure exceptionpublic static final void T_ASSERT(boolean mustBeTrue, java.lang.String msg) throws T_Fail
mustBeTrue
- The condition.msg
- A message describing the failue.T_Fail
- A test failure exceptionApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.