use of java.security.cert.CollectionCertStoreParameters in project robovm by robovm.
the class CollectionCertStoreParametersTest method testToString02.
/**
* Test #2 for <code>toString()</code> method<br>
*/
public final void testToString02() {
Vector<Certificate> certificates = new Vector<Certificate>();
certificates.add(new MyCertificate("TEST", new byte[] { (byte) 4 }));
CollectionCertStoreParameters cp = new CollectionCertStoreParameters(certificates);
assertNotNull(cp.toString());
}
use of java.security.cert.CollectionCertStoreParameters in project robovm by robovm.
the class CollectionCertStoreParametersTest method testToString01.
/**
* Test #1 for <code>toString()</code> method<br>
*/
public final void testToString01() {
CollectionCertStoreParameters cp = new CollectionCertStoreParameters();
String s = cp.toString();
assertNotNull(s);
}
use of java.security.cert.CollectionCertStoreParameters in project robovm by robovm.
the class CollectionCertStoreParametersTest method testCollectionCertStoreParameters01.
//
// Tests
//
/**
* Test #1 for <code>CollectionCertStoreParameters()</code> constructor<br>
*/
public final void testCollectionCertStoreParameters01() {
CertStoreParameters cp = new CollectionCertStoreParameters();
assertTrue("isCollectionCertStoreParameters", cp instanceof CollectionCertStoreParameters);
}
use of java.security.cert.CollectionCertStoreParameters in project robovm by robovm.
the class CollectionCertStoreParametersTest method testGetCollection02.
/**
* Test #2 for <code>getCollection()</code> method<br>
*/
public final void testGetCollection02() {
Vector certificates = new Vector();
CollectionCertStoreParameters cp = new CollectionCertStoreParameters(certificates);
assertNotNull(cp.getCollection());
}
use of java.security.cert.CollectionCertStoreParameters in project robovm by robovm.
the class CollectionCertStoreParametersTest method testCollectionCertStoreParametersCollection01.
/**
* Test #1 for <code>CollectionCertStoreParameters(Collection)</code>
* constructor<br>
*/
public final void testCollectionCertStoreParametersCollection01() {
Vector<Certificate> certificates = new Vector<Certificate>();
certificates.add(new MyCertificate("TEST", new byte[] {}));
new CollectionCertStoreParameters(certificates);
}
Aggregations