Skip to content

Commit

Permalink
Added failing test with UISelectMany
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 28, 2013
1 parent 20bf421 commit bdd3a88
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,14 @@ public void testUISelectOneWithEnum() throws Exception
allOf(containsString(Career.MEDICINE.toString()), containsString(Career.MECHANICS.toString())));
}

@Test
public void testUISelectManyWithEnum() throws Exception
{
test.waitForCompletion("foocommand --manyCareer ME", "foocommand --manyCareer M",
5, TimeUnit.SECONDS);
String stdOut = test.waitForCompletion(5, TimeUnit.SECONDS);
Assert.assertThat(stdOut,
allOf(containsString(Career.MEDICINE.toString()), containsString(Career.MECHANICS.toString())));
}

}

0 comments on commit bdd3a88

Please sign in to comment.