tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java in trackler-2.1.0.8 vs tracks/java/exercises/simple-cipher/src/test/java/SimpleCipherStepThreeTest.java in trackler-2.1.0.9
- old
+ new
@@ -10,52 +10,52 @@
*/
public class SimpleCipherStepThreeTest {
@Rule
public ExpectedException expectedException = ExpectedException.none();
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void cipherKeyIsMadeOfLetters() {
assertTrue(new Cipher().getKey().matches("[a-z]+"));
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void defaultCipherKeyIs100Characters() {
assertEquals(100, new Cipher().getKey().length());
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void cipherKeysAreRandomlyGenerated() {
String newKey = new Cipher().getKey();
assertFalse("Cipher constructor without argument should generate a random key. No two calls to the" +
" constructor should generate the same key. Two calls to the constructor " +
"both returned key: " + newKey, newKey.equals(new Cipher().getKey()));
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void cipherThrowsWithAllCapsKey() {
expectedException.expect(IllegalArgumentException.class);
new Cipher("ABCDEF");
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void cipherThrowsWithAnyCapsKey() {
expectedException.expect(IllegalArgumentException.class);
new Cipher("abcdEFg");
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void cipherThrowsWithNumericKey() {
expectedException.expect(IllegalArgumentException.class);
new Cipher("12345");
}
- @Ignore
+ @Ignore("Remove to run test")
@Test
public void cipherThrowsWithAnyNumericKey() {
expectedException.expect(IllegalArgumentException.class);
new Cipher("abcd345ef");
}