File tree Expand file tree Collapse file tree
src/test/java/org/apache/commons/codec/binary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,31 +46,31 @@ public class Base32Test {
4646 {"foobar" ,"MZXW6YTBOI======" },
4747 };
4848
49- private static final String [] BASE32_IMPOSSIBLE_CASES = {
50- "MC======" ,
51- "MZXE====" ,
52- "MZXWB===" ,
53- "MZXW6YB=" ,
54- "MZXW6YTBOC======"
55- };
56-
57- private static final String [] BASE32_IMPOSSIBLE_CASES_CHUNKED = {
58- "M2======\r \n " ,
59- "MZX0====\r \n " ,
60- "MZXW0===\r \n " ,
61- "MZXW6Y2=\r \n " ,
62- "MZXW6YTBO2======\r \n "
63- };
64-
65- private static final String [] BASE32HEX_IMPOSSIBLE_CASES = {
66- "C2======" ,
67- "CPN4====" ,
68- "CPNM1===" ,
69- "CPNMUO1=" ,
70- "CPNMUOJ1E2======"
71- };
72-
73- private static final Object [][] BASE32_BINARY_TEST_CASES ;
49+ private static final String [] BASE32_IMPOSSIBLE_CASES = {
50+ "MC======" ,
51+ "MZXE====" ,
52+ "MZXWB===" ,
53+ "MZXW6YB=" ,
54+ "MZXW6YTBOC======"
55+ };
56+
57+ private static final String [] BASE32_IMPOSSIBLE_CASES_CHUNKED = {
58+ "M2======\r \n " ,
59+ "MZX0====\r \n " ,
60+ "MZXW0===\r \n " ,
61+ "MZXW6Y2=\r \n " ,
62+ "MZXW6YTBO2======\r \n "
63+ };
64+
65+ private static final String [] BASE32HEX_IMPOSSIBLE_CASES = {
66+ "C2======" ,
67+ "CPN4====" ,
68+ "CPNM1===" ,
69+ "CPNMUO1=" ,
70+ "CPNMUOJ1E2======"
71+ };
72+
73+ private static final Object [][] BASE32_BINARY_TEST_CASES ;
7474
7575 // { null, "O0o0O0o0" }
7676// BASE32_BINARY_TEST_CASES[2][0] = new Hex().decode("739ce739ce");
You can’t perform that action at this time.
0 commit comments