1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-09-10 18:59:39 +02:00

Add gradle CI action

This commit is contained in:
Paul Schaub 2022-07-22 20:21:02 +02:00
parent cb23cad625
commit 895fcced9a
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 33 additions and 2 deletions

View file

@ -23,7 +23,6 @@ import org.bouncycastle.openpgp.PGPCompressedDataGenerator;
import org.bouncycastle.openpgp.PGPException;
import org.bouncycastle.openpgp.PGPSecretKeyRing;
import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.RepeatedTest;
import org.junit.jupiter.api.Test;
import org.pgpainless.PGPainless;
import org.pgpainless.algorithm.CompressionAlgorithm;
@ -36,7 +35,7 @@ public class OpenPgpInputStreamTest {
private static final Random RANDOM = new Random();
@RepeatedTest(100)
@Test
public void randomBytesDoNotContainOpenPgpData() throws IOException {
byte[] randomBytes = new byte[1000000];
RANDOM.nextBytes(randomBytes);