Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jun 5, 2013
1 parent 214bd89 commit c83fb7d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public void testDefaultValue()
public void testCompleter()
{
UICompleter<String> originalCompleter = firstName.getCompleter();
Assert.assertNotNull(originalCompleter);
Assert.assertNull(originalCompleter);
Assert.assertEquals(firstName, firstName.setCompleter(new UICompleter<String>()
{
@Override
Expand All @@ -191,8 +191,6 @@ public Iterable<String> getCompletionProposals(UIContext context, InputComponent
Assert.assertEquals("two", iterator.next());
Assert.assertEquals("three", iterator.next());
Assert.assertFalse(iterator.hasNext());

Assert.assertFalse(originalCompleter.getCompletionProposals(null, null, null).iterator().hasNext());
}

@Test
Expand Down

0 comments on commit c83fb7d

Please sign in to comment.