Clover icon

Magnolia Imaging Module 3.4.2-SUPPORT-10161

Class ColorConverterTest

 
ColorConverterTest 1616 77 00 0.011
0.562556.2%
 
ColorConverterTest.failsOnBadRgbColorConverterTest.failsOnBadRgb 156330920756116 Jul 23:33:27 3FAIL 0.0010.001 Can't decode color rgb(10,20,256): 256 is not in the allowed 0-255 range.  
Can't decode color rgb(10,20,256): 256 is not in the allowed 0-255 range.
ColorConverterTest.failsOnBadHexaColorConverterTest.failsOnBadHexa 156330920754716 Jul 23:33:27 3FAIL 0.0030.003 Can't decode color #12345G: please provide either an #ffffff or #fff hexadecimal value or a known named color.  
Can't decode color #12345G: please provide either an #ffffff or #fff hexadecimal value or a known named color.
ColorConverterTest.failsOnNullColorConverterTest.failsOnNull 156330920755716 Jul 23:33:27 3FAIL 0.00 Can't decode color null: please provide either an #ffffff or #fff hexadecimal value or a known named color.  
Can't decode color null: please provide either an #ffffff or #fff hexadecimal value or a known named color.
ColorConverterTest.failsOnAlphaValueWithAlphaLessFunctionColorConverterTest.failsOnAlphaValueWithAlphaLessFunction 156330920757716 Jul 23:33:27 3FAIL 0.00 Can't decode color rgb(10,20,255, 0.5): the rgb() function does not take an <alphavalue> argument.  
Can't decode color rgb(10,20,255, 0.5): the rgb() function does not take an <alphavalue> argument.
ColorConverterTest.failsOnBadAlphaColorConverterTest.failsOnBadAlpha 156330920756416 Jul 23:33:27 3FAIL 0.0020.002 Can't decode color rgba(10,20,255, 10): 10 is not in the allowed 0.0-1.0 <alphavalue> range.  
Can't decode color rgba(10,20,255, 10): 10 is not in the allowed 0.0-1.0 <alphavalue> range.
ColorConverterTest.percentageColorConverterTest.percentage 156330920755416 Jul 23:33:27 3FAIL 0.00 Can't decode color blah abc blah: abc should be a percentage value.  
Can't decode color blah abc blah: abc should be a percentage value.
ColorConverterTest.failsOnUnknownNameColorConverterTest.failsOnUnknownName 156330920757516 Jul 23:33:27 3FAIL 0.00 Can't decode color foo: please provide either an #ffffff or #fff hexadecimal value or a known named color.  
Can't decode color foo: please provide either an #ffffff or #fff hexadecimal value or a known named color.
ColorConverterTest.canDecodeNamesCaseInsensitivelyColorConverterTest.canDecodeNamesCaseInsensitively 156330920754616 Jul 23:33:27 1PASS 0.00  
ColorConverterTest.canDecodeHslCssLikeFunctionColorConverterTest.canDecodeHslCssLikeFunction 156330920756916 Jul 23:33:27 1PASS 0.00  
ColorConverterTest.canDecode3CharHexaColorConverterTest.canDecode3CharHexa 156330920757916 Jul 23:33:27 1PASS 0.00  
ColorConverterTest.canDecodeRgbaCssLikeFunctionColorConverterTest.canDecodeRgbaCssLikeFunction 156330920757216 Jul 23:33:27 1PASS 0.0010.001  
ColorConverterTest.canDecodeRgbCssLikeFunctionColorConverterTest.canDecodeRgbCssLikeFunction 156330920757016 Jul 23:33:27 1PASS 0.0010.001  
ColorConverterTest.canDecodeHslaCssLikeFunctionColorConverterTest.canDecodeHslaCssLikeFunction 156330920754116 Jul 23:33:27 1PASS 0.0030.003  
ColorConverterTest.normalizeAngleColorConverterTest.normalizeAngle 156330920756016 Jul 23:33:27 1PASS 0.00  
ColorConverterTest.canDecodeNamesColorConverterTest.canDecodeNames 156330920754516 Jul 23:33:27 1PASS 0.00  
ColorConverterTest.canDecodeHexaColorConverterTest.canDecodeHexa 156330920757416 Jul 23:33:27 1PASS 0.00