Surefire Report

Summary


Tests Errors Failures Skipped Success Rate Time
75 0 1 0 98.667% 7.142

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List


Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.convert1.string 20 0 0 0 100% 6.72
org.apache.commons.convert.conversion 31 0 0 0 100% 0.189
org.apache.commons.convert1.format 4 0 1 0 75% 0.062
org.apache.commons.convert1.array 2 0 0 0 100% 0.032
org.apache.commons.convert1.util 3 0 0 0 100% 0.031
org.apache.commons.convert1 2 0 0 0 100% 0.031
org.apache.commons.convert 13 0 0 0 100% 0.077

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.commons.convert1.string

Class Tests Errors Failures Skipped Success Rate Time
ByteConverterTestCase 3 0 0 0 100% 0.016
DoubleConverterTestCase 3 0 0 0 100% 0.016
FileConverterTestCase 1 0 0 0 100% 0.094
FloatConverterTestCase 3 0 0 0 100% 0.016
IntegerConverterTestCase 3 0 0 0 100% 0.031
LongConverterTestCase 3 0 0 0 100% 0
ShortConverterTestCase 3 0 0 0 100% 0.016
URLConverterTestCase 1 0 0 0 100% 6.531

org.apache.commons.convert.conversion

Class Tests Errors Failures Skipped Success Rate Time
TestClassToStringConversion 2 0 0 0 100% 0
TestDefaultValueDecorator 5 0 0 0 100% 0.063
TestIdentityConversionFactory 4 0 0 0 100% 0.063
TestNumberToIntegerConversionFactory 4 0 0 0 100% 0.016
TestObjectToStringConversionFactory 10 0 0 0 100% 0.016
TestStringToIntegerConversion 2 0 0 0 100% 0.016
TestTimeZoneToStringConversionFactory 4 0 0 0 100% 0.015

org.apache.commons.convert1.format

Class Tests Errors Failures Skipped Success Rate Time
FormatConverterTestCase 2 0 1 0 50% 0.047
ParseConverterTestCase 2 0 0 0 100% 0.015

org.apache.commons.convert1.array

Class Tests Errors Failures Skipped Success Rate Time
ArrayConverterTestCase 2 0 0 0 100% 0.032

org.apache.commons.convert1.util

Class Tests Errors Failures Skipped Success Rate Time
BasicInheritorTestCase 2 0 0 0 100% 0
ClassMapTestCase 1 0 0 0 100% 0.031

org.apache.commons.convert1

Class Tests Errors Failures Skipped Success Rate Time
ConvertRegistryTestCase 2 0 0 0 100% 0.031

org.apache.commons.convert

Class Tests Errors Failures Skipped Success Rate Time
TestConvertUtils 1 0 0 0 100% 0.046
TestDefaultConversions 12 0 0 0 100% 0.031

Test Cases

TestClassToStringConversion

testClass 0
testCoversion 0

TestDefaultValueDecorator

testClass 0.016
testDefaultNullInputConversion 0.015
testDefaultNullResultConversion 0.016
testDefaultExceptionConversion 0
testNullAndExceptionConversion 0.016

TestIdentityConversionFactory

testClass 0
testGetMatch 0
testCoversionString 0.031
testCoversionInteger 0

TestNumberToIntegerConversionFactory

testClass 0
testGetMatch 0
testCoversionFromLong 0
testCoversionFromDouble 0

TestObjectToStringConversionFactory

testClass 0
testGetMatch 0
testCoversionFromLong 0
testCoversionFromBoolean 0
testCoversionFromCharacter 0
testCoversionFromByte 0
testCoversionFromShort 0
testCoversionFromInteger 0
testCoversionFromList 0
testCoversionFromString 0

TestStringToIntegerConversion

testClass 0
testCoversion 0

TestTimeZoneToStringConversionFactory

testClass 0
testGetMatch 0
testCoversionFromSimpleTimeZone 0
testCoversionFromTimeZone 0.015

TestConvertUtils

testConvertToString 0.046

TestDefaultConversions

testCoversionBooleanToString 0
testCoversionCharacterToString 0
testCoversionByteToString 0
testCoversionShortToString 0
testCoversionIntegerToString 0
testCoversionLongToString 0
testCoversionFloatToString 0
testCoversionDoubleToString 0
testCoversionListToString 0
testCoversionMapToString 0
testCoversionClassToString 0
testCoversionStringToString 0

ArrayConverterTestCase

testLongConvert 0.032
testPrimitiveLongConvert 0

ConvertRegistryTestCase

testRegister 0.015
testLookupInheritence 0

FormatConverterTestCase

testNumberFormat 0
testDateFormat 0.031
expected:<31 12 1969> but was:<01 01 1970>

ParseConverterTestCase

testNumberFormat 0
testDateFormat 0

ByteConverterTestCase

testSimpleConversion 0.016
testConvertNull 0
testConvertNumber 0

DoubleConverterTestCase

testSimpleConversion 0.016
testConvertNull 0
testConvertNumber 0

FileConverterTestCase

testSimpleConversion 0.047

FloatConverterTestCase

testSimpleConversion 0.016
testConvertNull 0
testConvertNumber 0

IntegerConverterTestCase

testSimpleConversion 0
testConvertNull 0
testConvertNumber 0

LongConverterTestCase

testSimpleConversion 0
testConvertNull 0
testConvertNumber 0

ShortConverterTestCase

testSimpleConversion 0.016
testConvertNull 0
testConvertNumber 0

URLConverterTestCase

testSimpleConversion 6.531

BasicInheritorTestCase

testString 0
testInteger 0

ClassMapTestCase

test 0.016

Failure Details


testDateFormat
junit.framework.AssertionFailedError: expected:<31 12 1969> but was:<01 01 1970>