Java 类java.security.SignatureSpi 实例源码

项目:In-the-Box-Fork    文件:SignatureSpiTest.java   
@SuppressWarnings("cast")
@TestTargetNew(
    level = TestLevel.COMPLETE,
    notes = "",
    method = "SignatureSpi",
    args = {}
)
public void testSignatureSpi() {
    try {
        MySignatureSpi1 ss1 = new MySignatureSpi1();
        assertNotNull(ss1);
        assertTrue(ss1 instanceof SignatureSpi);
    } catch (Exception e) {
        fail("Unexpected exception " + e.getMessage());
    }
}
项目:j2objc    文件:SignatureSpiTest.java   
@SuppressWarnings("cast")
public void testSignatureSpi() {
    try {
        MySignatureSpi1 ss1 = new MySignatureSpi1();
        assertNotNull(ss1);
        assertTrue(ss1 instanceof SignatureSpi);
    } catch (Exception e) {
        fail("Unexpected exception " + e.getMessage());
    }
}