Lines Matching refs:TestResult

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