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:
parent
cb23cad625
commit
895fcced9a
2 changed files with 33 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue