Rename XF class into XFBCRYPT.
This commit is contained in:
+5
-5
@@ -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"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user