public class DigestExceptionTest
extends TestCase
DigestException
class constructors and methods.Constructor and Description |
---|
DigestExceptionTest() |
Modifier and Type | Method and Description |
---|---|
void |
testDigestException01()
Test for
DigestException() constructor Assertion:
constructs DigestException with no detail message |
void |
testDigestException02()
Test for
DigestException(String) constructor Assertion:
constructs DigestException with detail message msg. |
void |
testDigestException03()
Test for
DigestException(String) constructor Assertion:
constructs DigestException when msg is null |
void |
testDigestException04()
Test for
DigestException(Throwable) constructor Assertion:
constructs DigestException when cause is null |
void |
testDigestException05()
Test for
DigestException(Throwable) constructor Assertion:
constructs DigestException when cause is not null |
void |
testDigestException06()
Test for
DigestException(String, Throwable) constructor
Assertion: constructs DigestException when cause is null
msg is null |
void |
testDigestException07()
Test for
DigestException(String, Throwable) constructor
Assertion: constructs DigestException when cause is null
msg is not null |
void |
testDigestException08()
Test for
DigestException(String, Throwable) constructor
Assertion: constructs DigestException when cause is not
null msg is null |
void |
testDigestException09()
Test for
DigestException(String, Throwable) constructor
Assertion: constructs DigestException when cause is not
null msg is not null |
public void testDigestException01()
DigestException()
constructor Assertion:
constructs DigestException with no detail messagepublic void testDigestException02()
DigestException(String)
constructor Assertion:
constructs DigestException with detail message msg. Parameter
msg
is not null.public void testDigestException03()
DigestException(String)
constructor Assertion:
constructs DigestException when msg
is nullpublic void testDigestException04()
DigestException(Throwable)
constructor Assertion:
constructs DigestException when cause
is nullpublic void testDigestException05()
DigestException(Throwable)
constructor Assertion:
constructs DigestException when cause
is not nullpublic void testDigestException06()
DigestException(String, Throwable)
constructor
Assertion: constructs DigestException when cause
is null
msg
is nullpublic void testDigestException07()
DigestException(String, Throwable)
constructor
Assertion: constructs DigestException when cause
is null
msg
is not nullpublic void testDigestException08()
DigestException(String, Throwable)
constructor
Assertion: constructs DigestException when cause
is not
null msg
is nullpublic void testDigestException09()
DigestException(String, Throwable)
constructor
Assertion: constructs DigestException when cause
is not
null msg
is not null