OutlineWidth extends AbstractCssProperty<OutlineWidth> { @Override public String getCssValue() { return cssValue; } OutlineWidth();  OutlineWidth(final String cssValue);  OutlineWidth(final OutlineWidth outlineWidth);  OutlineWidth(final float percent);  OutlineWidth(final float value, final CssLengthUnit cssLengthUnit); OutlineWidth 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 OutlineWidth 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 testOutlineWidthString() { { OutlineWidth outlineWidth = new OutlineWidth(OutlineWidth.INITIAL); assertEquals(OutlineWidth.INITIAL, outlineWidth.getCssValue()); } { OutlineWidth outlineWidth = new OutlineWidth("50px"); assertEquals("50px", outlineWidth.getCssValue()); } }
@Test public void testOutlineWidthOutlineWidth() { OutlineWidth outlineWidth = new OutlineWidth("50px"); OutlineWidth outlineWidth1 = new OutlineWidth(outlineWidth); assertEquals("50px", outlineWidth1.getCssValue()); }
@Test public void testOutlineWidthFloat() { OutlineWidth outlineWidth = new OutlineWidth(75); assertEquals("75.0%", outlineWidth.getCssValue()); }
@Test public void testGetCssValue() { OutlineWidth outlineWidth = new OutlineWidth(); outlineWidth.setAsInherit(); assertEquals(OutlineWidth.INHERIT, outlineWidth.getCssValue()); outlineWidth.setAsMedium(); assertEquals(OutlineWidth.MEDIUM, outlineWidth.getCssValue()); }