mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-23 04:42:06 +01:00
Rename tests to end in Test
This commit is contained in:
parent
b95568f30a
commit
4e4c095d8d
4 changed files with 4 additions and 4 deletions
|
@ -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)
|
|
@ -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" +
|
|
@ -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" +
|
|
@ -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 {
|
Loading…
Reference in a new issue