/**
* @tests javax.net.ssl.CertPathTrustManagerParameters#getParameters()
*/
@TestTargetNew(
level = TestLevel.COMPLETE,
notes = "",
method = "getParameters",
args = {}
)
public void test_getParameters() {
CertPathParameters parameters = new MyCertPathParameters();
CertPathTrustManagerParameters p = new CertPathTrustManagerParameters(
parameters);
if (!(p.getParameters() instanceof MyCertPathParameters)) {
fail("incorrect parameters");
}
assertNotSame("Parameters were cloned incorrectly",
parameters, p.getParameters());
}
CertPathTrustManagerParametersTest.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:In-the-Box-Fork
作者:
评论列表
文章目录