Rename XF class into XFBCRYPT.

This commit is contained in:
DNx5
2016-01-07 06:15:39 +07:00
parent 781a005c25
commit da5de58afb
6 changed files with 20 additions and 28 deletions
@@ -4,16 +4,16 @@ import org.junit.Ignore;
import org.junit.Test;
/**
* Test for {@link XF}.
* Test for {@link XFBCRYPT}.
*/
@Ignore
// TODO #137: Create a test class as for the other encryption methods. Simply run the following test and copy the
// output -- that's your test class! (Once XF.java actually works properly)
// @org.junit.Test public void a() { AbstractEncryptionMethodTest.generateTest(new XF()); }
public class XFTest {
// output -- that's your test class! (Once XFBCRYPT.java actually works properly)
// @org.junit.Test public void a() { AbstractEncryptionMethodTest.generateTest(new XFBCRYPT()); }
public class XFBCRYPTTest {
@Test
public void shouldComputeHash() {
System.out.println(new XF().computeHash("Test", "name"));
System.out.println(new XFBCRYPT().computeHash("Test", "name"));
}
}