Test method for 'BCrypt.checkpw(String, String)' expecting success
()
| 147 | * expecting success |
| 148 | */ |
| 149 | public void testCheckpw_success() { |
| 150 | System.out.print("BCrypt.checkpw w/ good passwords: "); |
| 151 | for (int i = 0; i < test_vectors.length; i++) { |
| 152 | String plain = test_vectors[i][0]; |
| 153 | String expected = test_vectors[i][2]; |
| 154 | assertTrue(BCrypt.checkpw(plain, expected)); |
| 155 | System.out.print("."); |
| 156 | } |
| 157 | System.out.println(""); |
| 158 | } |
| 159 | |
| 160 | /** |
| 161 | * Test method for 'BCrypt.checkpw(String, String)' |