ColumnRuleWidth extends AbstractCssProperty<ColumnRuleWidth> { @Override public String getCssValue() { return cssValue; } ColumnRuleWidth();  ColumnRuleWidth(final String cssValue);  ColumnRuleWidth(final ColumnRuleWidth columnRuleWidth);  ColumnRuleWidth(final float percent);  ColumnRuleWidth(final float value,
            final CssLengthUnit cssLengthUnit); ColumnRuleWidth setValue(final float value,
            final CssLengthUnit cssLengthUnit); void setPercent(final float percent); @Override String getCssName(); @Override String getCssValue(); @Override String toString(); Float getValue(); CssLengthUnit getUnit(); @Override ColumnRuleWidth setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); void setAsMedium(); void setAsThin(); void setAsThick(); static boolean isValid(final String cssValue); static final String MEDIUM; static final String THIN; static final String THICK; static final String INITIAL; static final String INHERIT; }
@Test public void testColumnRuleWidthString() { { ColumnRuleWidth columnRuleWidth = new ColumnRuleWidth(ColumnRuleWidth.INITIAL); assertEquals(ColumnRuleWidth.INITIAL, columnRuleWidth.getCssValue()); } { ColumnRuleWidth columnRuleWidth = new ColumnRuleWidth("50px"); assertEquals("50px", columnRuleWidth.getCssValue()); } }
@Test public void testColumnRuleWidthColumnRuleWidth() { ColumnRuleWidth columnRuleWidth = new ColumnRuleWidth("50px"); ColumnRuleWidth columnRuleWidth1 = new ColumnRuleWidth(columnRuleWidth); assertEquals("50px", columnRuleWidth1.getCssValue()); }
@Test public void testColumnRuleWidthFloat() { ColumnRuleWidth columnRuleWidth = new ColumnRuleWidth(75); assertEquals("75.0%", columnRuleWidth.getCssValue()); }
@Test public void testGetCssValue() { ColumnRuleWidth columnRuleWidth = new ColumnRuleWidth(); columnRuleWidth.setAsInherit(); assertEquals(ColumnRuleWidth.INHERIT, columnRuleWidth.getCssValue()); columnRuleWidth.setAsMedium(); assertEquals(ColumnRuleWidth.MEDIUM, columnRuleWidth.getCssValue()); }