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

Version Path
trackler-2.0.6.5 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.6.4 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.6.3 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.6.2 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.6.1 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.6.0 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.18 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.17 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.16 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.15 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.14 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.13 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.12 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.11 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.10 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.9 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.8 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.7 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.6 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.5.5 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java