/**
* Test for <code>SSLPeerUnverifiedException(String)</code> constructor Assertion:
* constructs SSLPeerUnverifiedException with detail message msg. Parameter
* <code>msg</code> is null.
*/
@TestTargetNew(
level = TestLevel.PARTIAL_COMPLETE,
notes = "",
method = "SSLKeyException",
args = {java.lang.String.class}
)
public void test_Constructor02() {
String msg = null;
SSLKeyException skE = new SSLKeyException(msg);
assertNull("getMessage() must return null.", skE.getMessage());
assertNull("getCause() must return null", skE.getCause());
}
java类javax.net.ssl.SSLKeyException的实例源码
SSLKeyExceptionTest.java 文件源码
项目:In-the-Box-Fork
阅读 29
收藏 0
点赞 0
评论 0
SSLKeyExceptionTest.java 文件源码
项目:cn1
阅读 25
收藏 0
点赞 0
评论 0
/**
* Test for <code>SSLKeyException(String)</code> constructor Assertion:
* constructs SSLKeyException when <code>msg</code> is null
*/
public void testSSLKeyException02() {
String msg = null;
SSLKeyException tE = new SSLKeyException(msg);
assertNull("getMessage() must return null.", tE.getMessage());
assertNull("getCause() must return null", tE.getCause());
}
SSLKeyExceptionTest.java 文件源码
项目:freeVM
阅读 26
收藏 0
点赞 0
评论 0
/**
* Test for <code>SSLKeyException(String)</code> constructor Assertion:
* constructs SSLKeyException when <code>msg</code> is null
*/
public void testSSLKeyException02() {
String msg = null;
SSLKeyException tE = new SSLKeyException(msg);
assertNull("getMessage() must return null.", tE.getMessage());
assertNull("getCause() must return null", tE.getCause());
}
SSLKeyExceptionTest.java 文件源码
项目:freeVM
阅读 28
收藏 0
点赞 0
评论 0
/**
* Test for <code>SSLKeyException(String)</code> constructor Assertion:
* constructs SSLKeyException when <code>msg</code> is null
*/
public void testSSLKeyException02() {
String msg = null;
SSLKeyException tE = new SSLKeyException(msg);
assertNull("getMessage() must return null.", tE.getMessage());
assertNull("getCause() must return null", tE.getCause());
}
SSLKeyExceptionTest.java 文件源码
项目:cn1
阅读 23
收藏 0
点赞 0
评论 0
@Override
protected Object[] getData() {
return new Object[] { new SSLKeyException(null),
new SSLKeyException(msgs[0]), new SSLKeyException(msgs[1]) };
}
SSLKeyExceptionTest.java 文件源码
项目:freeVM
阅读 25
收藏 0
点赞 0
评论 0
protected Object[] getData() {
return new Object[] { new SSLKeyException(null),
new SSLKeyException(msgs[0]), new SSLKeyException(msgs[1]) };
}
SSLKeyExceptionTest.java 文件源码
项目:freeVM
阅读 22
收藏 0
点赞 0
评论 0
@Override
protected Object[] getData() {
return new Object[] { new SSLKeyException(null),
new SSLKeyException(msgs[0]), new SSLKeyException(msgs[1]) };
}