Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DenBond7 committed Jan 29, 2025
1 parent 35a4eb2 commit 989d5f6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* © 2016-present FlowCrypt a.s. Limitations apply. Contact [email protected]
* Contributors: denbond7
* Contributors: DenBond7
*/

package com.flowcrypt.email.security.pgp
Expand Down Expand Up @@ -36,8 +36,7 @@ import java.util.UUID
class PgpDecryptAndOrVerifyTest {

@get:Rule
val temporaryFolder: TemporaryFolder =
TemporaryFolder.builder().parentFolder(SHARED_FOLDER).build()
val temporaryFolder: TemporaryFolder = TemporaryFolder()

@Test
@Ignore("need to add realization")
Expand Down Expand Up @@ -65,8 +64,8 @@ class PgpDecryptAndOrVerifyTest {
destOutputStream = outputStreamForEncryptedSource,
pgpPublicKeyRingCollection = PGPPublicKeyRingCollection(
listOf(
senderPGPSecretKeyRing.certificate,
receiverPGPSecretKeyRing.certificate
KeyRingUtils.publicKeyRingFrom(senderPGPSecretKeyRing),
KeyRingUtils.publicKeyRingFrom(receiverPGPSecretKeyRing)
)
),
doArmor = false
Expand Down Expand Up @@ -105,8 +104,8 @@ class PgpDecryptAndOrVerifyTest {
destOutputStream = outputStreamForEncryptedSource,
pgpPublicKeyRingCollection = PGPPublicKeyRingCollection(
listOf(
senderPGPSecretKeyRing.certificate,
receiverPGPSecretKeyRing.certificate
KeyRingUtils.publicKeyRingFrom(senderPGPSecretKeyRing),
KeyRingUtils.publicKeyRingFrom(receiverPGPSecretKeyRing)
)
),
doArmor = false
Expand Down Expand Up @@ -186,8 +185,8 @@ class PgpDecryptAndOrVerifyTest {
destOutputStream = outputStreamForEncryptedSource,
pgpPublicKeyRingCollection = PGPPublicKeyRingCollection(
listOf(
senderPGPSecretKeyRing.certificate,
receiverPGPSecretKeyRing.certificate
KeyRingUtils.publicKeyRingFrom(senderPGPSecretKeyRing),
KeyRingUtils.publicKeyRingFrom(receiverPGPSecretKeyRing)
)
),
doArmor = shouldSrcBeArmored
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* © 2016-present FlowCrypt a.s. Limitations apply. Contact [email protected]
* Contributors: denbond7
* Contributors: DenBond7
*/

package com.flowcrypt.email.util
Expand All @@ -15,8 +15,7 @@ import org.junit.rules.TemporaryFolder
*/
class CreateFileWithIncreasedIndexTest {
@get:Rule
val temporaryFolder: TemporaryFolder =
TemporaryFolder.builder().parentFolder(SHARED_FOLDER).build()
val temporaryFolder: TemporaryFolder = TemporaryFolder()

@Test
fun fileWithExistedNameOnce() {
Expand Down

0 comments on commit 989d5f6

Please sign in to comment.