Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
175 0 0 0 100% 57.601

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 175 0 0 0 100% 57.601

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
ModelContextTest 28 0 0 0 100% 15.197
DefaultModletProcessorTest 9 0 0 0 100% 3.289
DefaultModletProcessorExecutorServiceTest 9 0 0 0 100% 2.105
DefaultModelContextExecutorServiceTest 40 0 0 0 100% 25.698
ModletProcessorTest 1 0 0 0 100% 0.045
ModletsTest 7 0 0 0 100% 0.021
ModelValidationReportTest 1 0 0 0 100% 0.061
DefaultServiceFactoryTest 3 0 0 0 100% 0.011
ServicesTest 1 0 0 0 100% 0.005
ModletValidatorTest 1 0 0 0 100% 0.029
ServiceFactoryTest 1 0 0 0 100% 0.034
ModletObjectTest 2 0 0 0 100% 0.043
ModelExceptionTest 1 0 0 0 100% 0.027
DefaultModletValidatorExecutorServiceTest 5 0 0 0 100% 0.009
ModelContextFactoryTest 6 0 0 0 100% 0.02
DefaultModletProviderTest 10 0 0 0 100% 0.066
DefaultModletValidatorTest 5 0 0 0 100% 0.003
DefaultServiceFactoryExecutorServiceTest 3 0 0 0 100% 0.015
ModletProviderTest 1 0 0 0 100% 0.003
ModelContextFactoryErrorTest 1 0 0 0 100% 0.008
DefaultModelContextTest 40 0 0 0 100% 10.912

Test Cases

[Summary] [Package List] [Test Cases]

ModelContextTest

CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.301
testCreateSchema 2.914
testGetInvalidModlets 4.372
testLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.355
testProcessModel 0.001
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 1.097
testDefaultLogLevel 0.027
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.734
testAttributes 0.023
testModletSchemaSystemId 0.006
testLogging 0.003
testFindResources 0.001
testCreateMarshaller 0.284
testCreateResourceResolver 0.863
testCreateContext 0.524
testFindResource 0.038
testCreateEntityResolver 0.372
testValidateModel 0.509
testFindClass 0.011
testFindModel 0.404
testCreateModelContext 0.031
testDefaultModletSchemaSystemId 0.005
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.266
testGetModlets 0.133
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.307
testCreateServiceObject 0.031
testCreateUnmarshaller 0.41

DefaultModletProcessorTest

testEnabled 0.333
testDefaultProcessModlets 0.879
testOrdinal 0
testDefaultTransformerLocation 0.349
testDefaultEnabled 0.687
testDefaultOrdinal 0.002
testTransformerLocation 0.629
testFindTransformers 0.26
testProcessModlets 0.078

DefaultModletProcessorExecutorServiceTest

testEnabled 0.276
testDefaultProcessModlets 0.282
testOrdinal 0
testDefaultTransformerLocation 0.33
testDefaultEnabled 0.761
testDefaultOrdinal 0.015
testTransformerLocation 0.355
testFindTransformers 0.029
testProcessModlets 0.001

DefaultModelContextExecutorServiceTest

testGetPlatformProviderLocation 0.265
testServiceProperties 6.169
testValidateTestModel 0.523
testTestModel 4.262
testProviderSorting 0.162
testGetProviderLocation 0
testGetDefaultPlatformProviderLocation 0
testGetDefaultProviderLocation 0
testFindTestModel 0.685
testFindModletsWithAttributes 0.579
testFindModlets 0.463
testProcessTestModel 0.84
CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.001
testCreateSchema 0.55
testGetInvalidModlets 4.226
testLogLevel 0.017
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.74
testProcessModel 0.008
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 0.366
testDefaultLogLevel 0.001
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.287
testAttributes 0.002
testModletSchemaSystemId 0.001
testLogging 0.001
testFindResources 0.001
testCreateMarshaller 0.436
testCreateResourceResolver 0.292
testCreateContext 0.258
testFindResource 0.004
testCreateEntityResolver 0.501
testValidateModel 0.601
testFindClass 0.096
testFindModel 0.653
testCreateModelContext 0.059
testDefaultModletSchemaSystemId 0.006
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.662
testGetModlets 0.375
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.231
testCreateServiceObject 0.019
testCreateUnmarshaller 0.236

ModletProcessorTest

testProcessModlets 0.036

ModletsTest

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

ModelValidationReportTest

testSerializabe 0.056

DefaultServiceFactoryTest

OrdinalBackedByDefaultOrdinal 0
DefaultOrdinalBackedBySystemProperty 0.002
CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0.003

ServicesTest

testGetServices 0.002

ModletValidatorTest

testValidateModlets 0.022

ServiceFactoryTest

CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0.023

ModletObjectTest

testGetAnyObject 0.017
testGetAnyElement 0.015

ModelExceptionTest

testModelException 0.018

DefaultModletValidatorExecutorServiceTest

testEnabled 0
testOrdinal 0
testDefaultEnabled 0.001
testDefaultOrdinal 0
testValidateModlets 0.001

ModelContextFactoryTest

testModelContextNotNull 0
testModelContextFactoryClassNotFound 0.005
testModelContextFactoryIllegalClass 0.004
testModelContextFactoryIllegalAccessException 0.004
testModelContextFactoryInstantiationException 0.002
testModelContextFactoryDefaultInstance 0

DefaultModletProviderTest

testDefaultValidating 0.002
testEnabled 0.001
testOrdinal 0
testDefaultModletLocation 0
testDefaultEnabled 0.003
testFindModletsAtLocation 0.027
testValidating 0
testDefaultOrdinal 0
testModletLocation 0
testFindModlets 0

DefaultModletValidatorTest

testEnabled 0.002
testOrdinal 0
testDefaultEnabled 0
testDefaultOrdinal 0
testValidateModlets 0

DefaultServiceFactoryExecutorServiceTest

OrdinalBackedByDefaultOrdinal 0.001
DefaultOrdinalBackedBySystemProperty 0.012
CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0

ModletProviderTest

testFindModlets 0.001

ModelContextFactoryErrorTest

testModelContextFactoryError 0.004

DefaultModelContextTest

testGetPlatformProviderLocation 0.017
testServiceProperties 3.234
testValidateTestModel 0.735
testTestModel 2.813
testProviderSorting 0.163
testGetProviderLocation 0.001
testGetDefaultPlatformProviderLocation 0
testGetDefaultProviderLocation 0.003
testFindTestModel 0.145
testFindModletsWithAttributes 0.195
testFindModlets 0.097
testProcessTestModel 0.171
CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.001
testCreateSchema 0.188
testGetInvalidModlets 1.388
testLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.119
testProcessModel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 0.087
testDefaultLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.104
testAttributes 0.001
testModletSchemaSystemId 0
testLogging 0
testFindResources 0
testCreateMarshaller 0.175
testCreateResourceResolver 0.23
testCreateContext 0.18
testFindResource 0.001
testCreateEntityResolver 0.116
testValidateModel 0.117
testFindClass 0.002
testFindModel 0.123
testCreateModelContext 0.001
testDefaultModletSchemaSystemId 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.096
testGetModlets 0.041
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.086
testCreateServiceObject 0.022
testCreateUnmarshaller 0.138