Skip to content

Commit

Permalink
Merge pull request #429 from FridaTveit/AddIgnoreHint
Browse files Browse the repository at this point in the history
rna-transcription: add hint to Ignore annotation
  • Loading branch information
stkent authored Apr 21, 2017
2 parents f64a37a + c174f86 commit ffbb48c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/journey-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ solve_all_exercises() {
gradle compileTestJava
# Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
for testfile in `find . -name "*Test.java"`; do
sed 's/@Ignore//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
sed 's/@Ignore\(.*\)//' ${testfile} > "${tempfile}" && mv "${tempfile}" "${testfile}"
done
gradle test
popd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ public void testRnaTranscriptionOfEmptyDnaIsEmptyRna() {
Assert.assertEquals("", rnaTranscription.ofDna(""));
}

@Ignore
@Ignore("Remove to run test")
@Test
public void testRnaTranscriptionOfCytosineIsGuanine() {
Assert.assertEquals("G", rnaTranscription.ofDna("C"));
}

@Ignore
@Ignore("Remove to run test")
@Test
public void testRnaTranscriptionOfGuanineIsCytosine() {
Assert.assertEquals("C", rnaTranscription.ofDna("G"));
}

@Ignore
@Ignore("Remove to run test")
@Test
public void testRnaTranscriptionOfThymineIsAdenine() {
Assert.assertEquals("A", rnaTranscription.ofDna("T"));
}

@Ignore
@Ignore("Remove to run test")
@Test
public void testRnaTranscriptionOfAdenineIsUracil() {
Assert.assertEquals("U", rnaTranscription.ofDna("A"));
}

@Ignore
@Ignore("Remove to run test")
@Test
public void testRnaTranscription() {
Assert.assertEquals("UGCACCAGAAUU", rnaTranscription.ofDna("ACGTGGTCTTAA"));
Expand Down

0 comments on commit ffbb48c

Please sign in to comment.