This repository was archived by the owner on Nov 24, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/test/java/org/codehaus/plexus/components/cipher/internal Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 2626import static org .junit .jupiter .api .Assertions .assertDoesNotThrow ;
2727import static org .junit .jupiter .api .Assertions .assertEquals ;
2828import static org .junit .jupiter .api .Assertions .assertFalse ;
29- import static org .junit .jupiter .api .Assertions .assertNotNull ;
3029import 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 {
You can’t perform that action at this time.
0 commit comments