public class KeyExceptionTest
extends TestCase
KeyException
class constructors and methods.Constructor and Description |
---|
KeyExceptionTest() |
Modifier and Type | Method and Description |
---|---|
void |
testKeyException01()
Test for
KeyException() constructor Assertion: constructs
KeyException with no detail message |
void |
testKeyException02()
Test for
KeyException(String) constructor Assertion:
constructs KeyException with detail message msg. |
void |
testKeyException03()
Test for
KeyException(String) constructor Assertion:
constructs KeyException when msg is null |
void |
testKeyException04()
Test for
KeyException(Throwable) constructor Assertion:
constructs KeyException when cause is null |
void |
testKeyException05()
Test for
KeyException(Throwable) constructor Assertion:
constructs KeyException when cause is not null |
void |
testKeyException06()
Test for
KeyException(String, Throwable) constructor
Assertion: constructs KeyException when cause is null
msg is null |
void |
testKeyException07()
Test for
KeyException(String, Throwable) constructor
Assertion: constructs KeyException when cause is null
msg is not null |
void |
testKeyException08()
Test for
KeyException(String, Throwable) constructor
Assertion: constructs KeyException when cause is not null
msg is null |
void |
testKeyException09()
Test for
KeyException(String, Throwable) constructor
Assertion: constructs KeyException when cause is not null
msg is not null |
public void testKeyException01()
KeyException()
constructor Assertion: constructs
KeyException with no detail messagepublic void testKeyException02()
KeyException(String)
constructor Assertion:
constructs KeyException with detail message msg. Parameter
msg
is not null.public void testKeyException03()
KeyException(String)
constructor Assertion:
constructs KeyException when msg
is nullpublic void testKeyException04()
KeyException(Throwable)
constructor Assertion:
constructs KeyException when cause
is nullpublic void testKeyException05()
KeyException(Throwable)
constructor Assertion:
constructs KeyException when cause
is not nullpublic void testKeyException06()
KeyException(String, Throwable)
constructor
Assertion: constructs KeyException when cause
is null
msg
is nullpublic void testKeyException07()
KeyException(String, Throwable)
constructor
Assertion: constructs KeyException when cause
is null
msg
is not nullpublic void testKeyException08()
KeyException(String, Throwable)
constructor
Assertion: constructs KeyException when cause
is not null
msg
is nullpublic void testKeyException09()
KeyException(String, Throwable)
constructor
Assertion: constructs KeyException when cause
is not null
msg
is not null