OutlineOffset extends AbstractCssProperty<OutlineOffset> { @Override public String getCssValue() { return cssValue; } OutlineOffset();  OutlineOffset(final String cssValue);  OutlineOffset(final OutlineOffset outlineOffset);  OutlineOffset(final float percent);  OutlineOffset(final float value, final CssLengthUnit cssLengthUnit); OutlineOffset 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 OutlineOffset setCssValue(final String cssValue); void setAsInitial(); void setAsInherit(); static final String INITIAL; static final String INHERIT; }
@Test public void testOutlineOffsetString() { { OutlineOffset outlineOffset = new OutlineOffset( OutlineOffset.INITIAL); assertEquals(OutlineOffset.INITIAL, outlineOffset.getCssValue()); } { OutlineOffset outlineOffset = new OutlineOffset("50px"); assertEquals("50px", outlineOffset.getCssValue()); } }
@Test public void testOutlineOffsetOutlineOffset() { OutlineOffset outlineOffset = new OutlineOffset("50px"); OutlineOffset outlineOffset1 = new OutlineOffset(outlineOffset); assertEquals("50px", outlineOffset1.getCssValue()); }
@Test public void testOutlineOffsetFloat() { OutlineOffset outlineOffset = new OutlineOffset(75); assertEquals("75.0%", outlineOffset.getCssValue()); }
@Test public void testGetCssValue() { OutlineOffset outlineOffset = new OutlineOffset(); outlineOffset.setAsInherit(); assertEquals(OutlineOffset.INHERIT, outlineOffset.getCssValue()); outlineOffset.setAsInitial(); assertEquals(OutlineOffset.INITIAL, outlineOffset.getCssValue()); }