File tree Expand file tree Collapse file tree
exercises/rna-transcription/src/test/java Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ solve_all_exercises() {
230230 gradle compileTestJava
231231 # Ensure we run all the tests (as delivered, all but the first is @Ignore'd)
232232 for testfile in ` find . -name " *Test.java" ` ; do
233- sed ' s/@Ignore//' ${testfile} > " ${tempfile} " && mv " ${tempfile} " " ${testfile} "
233+ sed ' s/@Ignore\(.*\) //' ${testfile} > " ${tempfile} " && mv " ${tempfile} " " ${testfile} "
234234 done
235235 gradle test
236236 popd
Original file line number Diff line number Diff line change @@ -17,31 +17,31 @@ public void testRnaTranscriptionOfEmptyDnaIsEmptyRna() {
1717 Assert .assertEquals ("" , rnaTranscription .ofDna ("" ));
1818 }
1919
20- @ Ignore
20+ @ Ignore ( "Remove to run test" )
2121 @ Test
2222 public void testRnaTranscriptionOfCytosineIsGuanine () {
2323 Assert .assertEquals ("G" , rnaTranscription .ofDna ("C" ));
2424 }
2525
26- @ Ignore
26+ @ Ignore ( "Remove to run test" )
2727 @ Test
2828 public void testRnaTranscriptionOfGuanineIsCytosine () {
2929 Assert .assertEquals ("C" , rnaTranscription .ofDna ("G" ));
3030 }
3131
32- @ Ignore
32+ @ Ignore ( "Remove to run test" )
3333 @ Test
3434 public void testRnaTranscriptionOfThymineIsAdenine () {
3535 Assert .assertEquals ("A" , rnaTranscription .ofDna ("T" ));
3636 }
3737
38- @ Ignore
38+ @ Ignore ( "Remove to run test" )
3939 @ Test
4040 public void testRnaTranscriptionOfAdenineIsUracil () {
4141 Assert .assertEquals ("U" , rnaTranscription .ofDna ("A" ));
4242 }
4343
44- @ Ignore
44+ @ Ignore ( "Remove to run test" )
4545 @ Test
4646 public void testRnaTranscription () {
4747 Assert .assertEquals ("UGCACCAGAAUU" , rnaTranscription .ofDna ("ACGTGGTCTTAA" ));
You can’t perform that action at this time.
0 commit comments