1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-23 11:27:57 +01:00

Rename tests to end in Test

This commit is contained in:
Paul Schaub 2022-11-16 17:40:51 +01:00
parent b95568f30a
commit 4e4c095d8d
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ import org.pgpainless.key.SubkeyIdentifier;
import org.pgpainless.key.info.KeyRingInfo;
import org.pgpainless.util.TestAllImplementations;
public class DecryptHiddenRecipientMessage {
public class DecryptHiddenRecipientMessageTest {
@TestTemplate
@ExtendWith(TestAllImplementations.class)

View file

@ -22,7 +22,7 @@ import org.pgpainless.exception.UnacceptableAlgorithmException;
* Test PGPainless' default symmetric key algorithm policy for decryption of messages.
* The default decryption policy rejects messages encrypted with IDEA and TripleDES, as well as unencrypted messages.
*/
public class RejectWeakSymmetricAlgorithmDuringDecryption {
public class RejectWeakSymmetricAlgorithmDuringDecryptionTest {
private static final String key = "-----BEGIN PGP PRIVATE KEY BLOCK-----\n" +
" Comment: Bob's OpenPGP Transferable Secret Key\n" +

View file

@ -17,7 +17,7 @@ import org.bouncycastle.util.io.Streams;
import org.junit.jupiter.api.Test;
import org.pgpainless.PGPainless;
public class SignedMessageVerificationWithoutCertIsStillSigned {
public class SignedMessageVerificationWithoutCertIsStillSignedTest {
private static final String message = "-----BEGIN PGP MESSAGE-----\n" +
"\n" +

View file

@ -38,7 +38,7 @@ import org.pgpainless.key.util.KeyRingUtils;
* a signature is encountered which was made by a key that was not provided in
* {@link ConsumerOptions#addVerificationCert(PGPPublicKeyRing)}.
*/
public class VerifyWithMissingPublicKeyCallback {
public class VerifyWithMissingPublicKeyCallbackTest {
@Test
public void testMissingPublicKeyCallback() throws PGPException, InvalidAlgorithmParameterException, NoSuchAlgorithmException, IOException {