MozColumnRuleWidth extends AbstractCssProperty<MozColumnRuleWidth> { @Override public String getCssValue() { return cssValue; } MozColumnRuleWidth();  MozColumnRuleWidth(final String cssValue);  MozColumnRuleWidth(final MozColumnRuleWidth mozColumnRuleWidth);  MozColumnRuleWidth(final float percent);  MozColumnRuleWidth(final float value,
            final CssLengthUnit cssLengthUnit); MozColumnRuleWidth 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 MozColumnRuleWidth 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 testMozColumnRuleWidthString() { { MozColumnRuleWidth mozColumnRuleWidth = new MozColumnRuleWidth(MozColumnRuleWidth.INITIAL); assertEquals(MozColumnRuleWidth.INITIAL, mozColumnRuleWidth.getCssValue()); } { MozColumnRuleWidth mozColumnRuleWidth = new MozColumnRuleWidth("50px"); assertEquals("50px", mozColumnRuleWidth.getCssValue()); } }
@Test public void testMozColumnRuleWidthMozColumnRuleWidth() { MozColumnRuleWidth mozColumnRuleWidth = new MozColumnRuleWidth("50px"); MozColumnRuleWidth mozColumnRuleWidth1 = new MozColumnRuleWidth(mozColumnRuleWidth); assertEquals("50px", mozColumnRuleWidth1.getCssValue()); }
@Test public void testMozColumnRuleWidthFloat() { MozColumnRuleWidth mozColumnRuleWidth = new MozColumnRuleWidth(75); assertEquals("75.0%", mozColumnRuleWidth.getCssValue()); }
@Test public void testGetCssValue() { MozColumnRuleWidth mozColumnRuleWidth = new MozColumnRuleWidth(); mozColumnRuleWidth.setAsInherit(); assertEquals(MozColumnRuleWidth.INHERIT, mozColumnRuleWidth.getCssValue()); mozColumnRuleWidth.setAsMedium(); assertEquals(MozColumnRuleWidth.MEDIUM, mozColumnRuleWidth.getCssValue()); }