@AndroidOnly("Uses specific class: " + "org.apache.harmony.security.asn1.ASN1OctetString.") public void testSetMinCRLNumberLjava_math_BigInteger(){
  X509CRLSelector selector=new X509CRLSelector();
  BigInteger minCRL=new BigInteger("10000");
  CRL crl=new TestCRL(minCRL);
  selector.setMinCRLNumber(null);
  assertTrue("Any CRL should match in the case of null minCRLNumber.",selector.match(crl));
  selector.setMinCRLNumber(minCRL);
  assertTrue("The CRL should match the selection criteria.",selector.match(crl));
  selector.setMinCRLNumber(new BigInteger("10001"));
  assertFalse("The CRL should not match the selection criteria.",selector.match(crl));
}

@ AndroidOnly ( "Uses specific class: " + "org.apache.harmony.security.asn1.ASN1OctetString." ) public void testSetMinCRLNumberLjava_math_BigInteger ( ) { X509CRLSelector selector = new X509CRLSelector ( ) ; BigInteger minCRL = new BigInteger ( "10000" ) ; CRL crl = new TestCRL ( minCRL ) ; selector . setMinCRLNumber ( null ) ; assertTrue ( "Any CRL should match in the case of null minCRLNumber." , selector . match ( crl ) ) ; selector . setMinCRLNumber ( minCRL ) ; assertTrue ( "The CRL should match the selection criteria." , selector . match ( crl ) ) ; selector . setMinCRLNumber ( new BigInteger ( "10001" ) ) ; assertFalse ( "The CRL should not match the selection criteria." , selector . match ( crl ) ) ; }
setmincrlnumber ( biginteger mincrl ) method testing . tests if crls with any crl number value match the selector in the case of null crlnumber criteria , if specified mincrl value matches the selector , and if crl with inappropriate crlnumber value does not match the selector .
