Skip to content

Commit

Permalink
add test for getDefault()
Browse files Browse the repository at this point in the history
  • Loading branch information
koentsje committed Apr 18, 2014
1 parent a1880d0 commit 46291b5
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -339,4 +339,12 @@ public void testGetStart() {
Assert.assertEquals(999, testStyleImpl.getStart());
}

@Test
public void testGetDefault() {
StyleImpl style = StyleImpl.getDefault();
Assert.assertEquals(FontManager.INSTANCE.getDefault(), style.styleRange.font);
Assert.assertEquals(ColorConstants.BLACK, style.styleRange.foreground);
Assert.assertEquals(ColorConstants.WHITE, style.styleRange.background);
}

}

0 comments on commit 46291b5

Please sign in to comment.