use of org.apache.harmony.security.tests.support.cert.MyCertificate 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 org.apache.harmony.security.tests.support.cert.MyCertificate 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