Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit 00400c7

Browse files
committed
Remove this test, it is Java version specific
1 parent ce313ba commit 00400c7

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/test/java/org/codehaus/plexus/components/cipher/internal/DefaultPlexusCipherTest.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;
2727
import static org.junit.jupiter.api.Assertions.assertEquals;
2828
import static org.junit.jupiter.api.Assertions.assertFalse;
29-
import static org.junit.jupiter.api.Assertions.assertNotNull;
3029
import static org.junit.jupiter.api.Assertions.assertTrue;
3130

3231
/**
@@ -75,24 +74,6 @@ void testUnDecorate_BracesPermutations() throws PlexusCipherException {
7574
assertEquals("foo\\{" + noBraces + "\\}", pc.unDecorate(mixedBraces));
7675
}
7776

78-
@Test
79-
void testAllAlgorithmExists() throws Exception {
80-
String[] res = DefaultPlexusCipher.getCryptoImpls("Cipher");
81-
assertNotNull(res, "No Cipher providers found in the current environment");
82-
// System.out.println("\n=== Available ciphers :");
83-
// for (String re : res) {
84-
// System.out.println(re);
85-
// }
86-
// System.out.println("====================");
87-
HashSet<String> algs = new HashSet<>(pc.availableCiphers());
88-
for (String provider : res) {
89-
algs.remove(provider);
90-
}
91-
if (!algs.isEmpty()) {
92-
throw new Exception("Cannot find algorithms " + algs + " in the current environment.");
93-
}
94-
}
95-
9677
@ParameterizedTest
9778
@FieldSource("ALG")
9879
void testEncrypt(String alg) throws Exception {

0 commit comments

Comments
 (0)