Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
118 0 0 0 100% 25.77

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
org.jomc.modlet.test 118 0 0 0 100% 25.77

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

org.jomc.modlet.test

Class Tests Errors Failures Skipped Success Rate Time
DefaultModletProcessorTest 9 0 0 0 100% 5.867
ModletProcessorTest 1 0 0 0 100% 0.001
ModelContextFactoryTest 6 0 0 0 100% 0.009
DefaultModletValidatorTest 5 0 0 0 100% 0.015
ServicesTest 1 0 0 0 100% 0.002
DefaultServiceFactoryTest 3 0 0 0 100% 0.003
ModletValidatorTest 1 0 0 0 100% 0.001
ModelExceptionTest 1 0 0 0 100% 0.047
ModelContextTest 28 0 0 0 100% 8.637
DefaultModletProviderTest 10 0 0 0 100% 0.08
DefaultModelContextTest 40 0 0 0 100% 11.079
ModletProviderTest 1 0 0 0 100% 0.004
ModletsTest 7 0 0 0 100% 0.002
ServiceFactoryTest 1 0 0 0 100% 0.001
ModletObjectTest 2 0 0 0 100% 0.007
ModelValidationReportTest 1 0 0 0 100% 0.011
ModelContextFactoryErrorTest 1 0 0 0 100% 0.004

Test Cases

[Summary] [Package List] [Test Cases]

DefaultModletProcessorTest

testEnabled 3.812
testDefaultProcessModlets 0.727
testOrdinal 0.001
testDefaultTransformerLocation 0.427
testDefaultEnabled 0.522
testDefaultOrdinal 0.007
testTransformerLocation 0.338
testFindTransformers 0.028
testProcessModlets 0.005

ModletProcessorTest

testProcessModlets 0.001

ModelContextFactoryTest

testModelContextNotNull 0
testModelContextFactoryClassNotFound 0
testModelContextFactoryIllegalClass 0.003
testModelContextFactoryIllegalAccessException 0.003
testModelContextFactoryInstantiationException 0.003
testModelContextFactoryDefaultInstance 0

DefaultModletValidatorTest

testEnabled 0.001
testOrdinal 0.001
testDefaultEnabled 0.001
testDefaultOrdinal 0.001
testValidateModlets 0.011

ServicesTest

testGetServices 0.002

DefaultServiceFactoryTest

OrdinalBackedByDefaultOrdinal 0.001
DefaultOrdinalBackedBySystemProperty 0.001
CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0.001

ModletValidatorTest

testValidateModlets 0.001

ModelExceptionTest

testModelException 0.047

ModelContextTest

CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.006
testCreateSchema 0.381
testGetInvalidModlets 3.952
testLogLevel 0.001
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.239
testProcessModel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 0.186
testDefaultLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.241
testAttributes 0.002
testModletSchemaSystemId 0.001
testLogging 0.008
testFindResources 0.001
testCreateMarshaller 0.261
testCreateResourceResolver 0.874
testCreateContext 0.381
testFindResource 0.002
testCreateEntityResolver 0.253
testValidateModel 0.435
testFindClass 0.002
testFindModel 0.252
testCreateModelContext 0.094
testDefaultModletSchemaSystemId 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.169
testGetModlets 0.105
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.181
testCreateServiceObject 0.016
testCreateUnmarshaller 0.594

DefaultModletProviderTest

testDefaultValidating 0
testEnabled 0.001
testOrdinal 0
testDefaultModletLocation 0
testDefaultEnabled 0.001
testFindModletsAtLocation 0.008
testValidating 0.001
testDefaultOrdinal 0.02
testModletLocation 0.008
testFindModlets 0.041

DefaultModelContextTest

testGetPlatformProviderLocation 0
testServiceProperties 2.638
testValidateTestModel 0.193
testTestModel 2.597
testProviderSorting 0.044
testGetProviderLocation 0
testGetDefaultPlatformProviderLocation 0
testGetDefaultProviderLocation 0
testFindTestModel 0.088
testFindModletsWithAttributes 0.138
testFindModlets 0.177
testProcessTestModel 0.245
CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0
testCreateSchema 0.257
testGetInvalidModlets 2.745
testLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.31
testProcessModel 0.017
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 0.251
testDefaultLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.271
testAttributes 0
testModletSchemaSystemId 0
testLogging 0.001
testFindResources 0
testCreateMarshaller 0.001
testCreateResourceResolver 0.125
testCreateContext 0.163
testFindResource 0.001
testCreateEntityResolver 0.175
testValidateModel 0.139
testFindClass 0.001
testFindModel 0.228
testCreateModelContext 0.022
testDefaultModletSchemaSystemId 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.001
testGetModlets 0.028
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.115
testCreateServiceObject 0
testCreateUnmarshaller 0.108

ModletProviderTest

testFindModlets 0.004

ModletsTest

GetSchemasReturnsNullForUnknownModel 0
GetSchemasForUriThrowsNullPointerExceptionWithNonNullMessageOnNullUri 0
GetSchemasForModelThrowsNullPointerExceptionWithNonNullMessageOnNullModel 0
GetSchemasFromMultipleModels 0
GetServicesReturnsNullForUnknownModel 0
GetServicesFromMultipleModels 0.001
GetServicesForModelThrowsNullPointerExceptionWithNonNullMessageOnNullModel 0.001

ServiceFactoryTest

CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0.001

ModletObjectTest

testGetAnyObject 0.005
testGetAnyElement 0.002

ModelValidationReportTest

testSerializabe 0.011

ModelContextFactoryErrorTest

testModelContextFactoryError 0.004