@@ -0,0 +1,840 @@
+package org.oskari.print.util;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport java.awt.*;%0A%0A%0Apublic class ColorUtilTest %7B%0A    @Test%0A    public void testParseColors() %7B%0A        Color rgb = ColorUtil.parseColor(%22rgb(255,0,0)%22);%0A        Color hex = ColorUtil.parseColor(%22#FF0000%22);%0A        Color rrggbb = ColorUtil.parseColor(%22FF0000%22);%0A        Color rgba = ColorUtil.parseColor(%22rgba(255,0,0,1)%22);%0A        Assert.assertEquals(Color.RED, rgb);%0A        Assert.assertEquals(Color.RED, hex);%0A        Assert.assertEquals(Color.RED, rrggbb);%0A        Assert.assertEquals(Color.RED, rgba);%0A    %7D%0A    @Test%0A    public void testParseRGBA() %7B%0A        Color rgba = ColorUtil.parseColor(%22rgba(255,0,0,0.5)%22);%0A        Assert.assertTrue(128 == rgba.getAlpha());%0A        Assert.assertTrue(Transparency.TRANSLUCENT == rgba.getTransparency());%0A    %7D%0A%7D%0A

add ColorUtilTest