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.0.10 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.9 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.8 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.7 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.6 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.5 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.4 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.3 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.2 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.1 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-2.0.0.0 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.4.1 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.4.0 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.3.0 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.2.1 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.2.0 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.1.2 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.1.1 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.1.0 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java
trackler-1.0.0.1 tracks/java/exercises/simple-cipher/src/test/java/IncorrectKeyCipherTest.java