Sha256: b764a03d2618e0deea4a3dad6f802e4674f15cb88cc8fa36a9ece5a90e6c0430
Contents?: true
Size: 821 Bytes
Versions: 61
Compression:
Stored size: 821 Bytes
Contents
import org.junit.Test; import org.junit.Ignore; public class IncorrectKeyCipherTest { @Test(expected = IllegalArgumentException.class) public void cipherThrowsWithAllCapsKey() { new Cipher("ABCDEF"); } @Ignore @Test(expected = IllegalArgumentException.class) public void cipherThrowsWithAnyCapsKey() { new Cipher("abcdEFg"); } @Ignore @Test(expected = IllegalArgumentException.class) public void cipherThrowsWithNumericKey() { new Cipher("12345"); } @Ignore @Test(expected = IllegalArgumentException.class) public void cipherThrowsWithAnyNumericKey() { new Cipher("abcd345ef"); } @Ignore @Test(expected = IllegalArgumentException.class) public void cipherThrowsWithEmptyKey() { new Cipher(""); } }
Version data entries
61 entries across 61 versions & 1 rubygems