Code example for DSAParameterSpec

Methods: getQ

0
     
    /** 
     * @tests java.security.interfaces.DSAParams 
     * #getP() 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getP", 
        args = {} 
    ) 
    public void test_getP() { 
        DSAParams params = new DSAParameterSpec(p, q, g);
        assertEquals("Invalid P", p, params.getP());
    } 
     
    /** 
     * @tests java.security.interfaces.DSAParams 
     * #getQ() 
     */ 
    @TestTargetNew(