Skip to content

Commit

Permalink
add test class for StyleImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
koentsje committed Apr 13, 2014
1 parent 32f539b commit 8d7e6aa
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package org.jboss.tools.aesh.ui.internal.document;


import org.eclipse.swt.custom.StyleRange;
import org.junit.Assert;
import org.junit.Test;

public class StyleImplTest {

@Test
public void testConstructor() {
StyleRange styleRange = new StyleRange();
StyleImpl styleImpl = new StyleImpl(styleRange);
Assert.assertEquals(styleRange, styleImpl.styleRange);
}

}

0 comments on commit 8d7e6aa

Please sign in to comment.