Lines Matching defs:TestResult

42 enum TestResult {
54 private TestResult test(String algorithm, int keyLen, Provider p,
55 TestResult expected)
57 TestResult actual = TestResult.TBD;
64 return TestResult.PASS;
68 actual = TestResult.PASS;
70 actual = TestResult.FAIL;
72 if (actual == TestResult.PASS) {
75 if (expected == TestResult.FAIL) {
85 if (expected != TestResult.TBD && expected != actual) {
94 test("DES", 0, p, TestResult.FAIL);
95 test("DES", 56, p, TestResult.PASS); // ensure JCE-Compatibility
96 test("DES", 64, p, TestResult.PASS);
97 test("DES", 128, p, TestResult.FAIL);
99 test("DESede", 0, p, TestResult.FAIL);
102 TestResult temp = test("DESede", 112, p, TestResult.TBD);
104 test("DESede", 168, p, TestResult.PASS);
105 test("DESede", 192, p, TestResult.PASS);
106 test("DESede", 64, p, TestResult.FAIL);
107 test("DESede", 256, p, TestResult.FAIL);
117 test("Blowfish", 0, p, TestResult.FAIL);
118 test("Blowfish", 24, p, TestResult.FAIL);
119 test("Blowfish", 32, p, TestResult.FAIL);
120 test("Blowfish", 40, p, TestResult.PASS);
121 test("Blowfish", 128, p, TestResult.PASS);
122 test("Blowfish", 136, p, TestResult.TBD);
123 test("Blowfish", 448, p, TestResult.TBD);
124 test("Blowfish", 456, p, TestResult.FAIL);
126 test("ARCFOUR", 0, p, TestResult.FAIL);
127 test("ARCFOUR", 32, p, TestResult.FAIL);
128 test("ARCFOUR", 40, p, TestResult.PASS);
129 test("ARCFOUR", 128, p, TestResult.PASS);
132 test("ARCFOUR", 1024, p, TestResult.TBD);
134 test("ARCFOUR", 1024, p, TestResult.PASS);
135 test("ARCFOUR", 2048, p, TestResult.PASS);
136 test("ARCFOUR", 2056, p, TestResult.FAIL);