Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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% 60.966

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.494
ModelValidationReportTest 1 0 0 0 100% 0.063
DefaultServiceFactoryExecutorServiceTest 3 0 0 0 100% 0.095
ModletProviderTest 1 0 0 0 100% 0.033
DefaultServiceFactoryTest 3 0 0 0 100% 0.048
ModelExceptionTest 1 0 0 0 100% 0.084
DefaultModletValidatorTest 5 0 0 0 100% 0.012
ModletValidatorTest 1 0 0 0 100% 0.003
ModletObjectTest 2 0 0 0 100% 0.01
ModelContextFactoryErrorTest 1 0 0 0 100% 0.007
DefaultModletProcessorExecutorServiceTest 9 0 0 0 100% 5.042
ServicesTest 1 0 0 0 100% 0.006
ModletProcessorTest 1 0 0 0 100% 0.003
DefaultModletProviderTest 10 0 0 0 100% 0.018
ModletsTest 7 0 0 0 100% 0.035
DefaultModelContextTest 40 0 0 0 100% 24.68
DefaultModletProcessorTest 9 0 0 0 100% 3.175
DefaultModletValidatorExecutorServiceTest 5 0 0 0 100% 0.091
ServiceFactoryTest 1 0 0 0 100% 0.112
ModelContextFactoryTest 6 0 0 0 100% 0.233
DefaultModelContextExecutorServiceTest 40 0 0 0 100% 11.722

Test Cases

[Summary] [Package List] [Test Cases]

ModelContextTest

CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.256
testCreateSchema 2.71
testGetInvalidModlets 4.808
testLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.045
testProcessModel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 1.038
testDefaultLogLevel 0.005
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.329
testAttributes 0.002
testModletSchemaSystemId 0.002
testLogging 0.001
testFindResources 0.002
testCreateMarshaller 0.43
testCreateResourceResolver 0.288
testCreateContext 0.255
testFindResource 0.033
testCreateEntityResolver 1.591
testValidateModel 0.861
testFindClass 0.001
testFindModel 0.277
testCreateModelContext 0.024
testDefaultModletSchemaSystemId 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.209
testGetModlets 0.269
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.253
testCreateServiceObject 0.134
testCreateUnmarshaller 0.305

ModelValidationReportTest

testSerializabe 0.059

DefaultServiceFactoryExecutorServiceTest

OrdinalBackedByDefaultOrdinal 0.002
DefaultOrdinalBackedBySystemProperty 0
CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0.077

ModletProviderTest

testFindModlets 0.025

DefaultServiceFactoryTest

OrdinalBackedByDefaultOrdinal 0.012
DefaultOrdinalBackedBySystemProperty 0.001
CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0

ModelExceptionTest

testModelException 0.028

DefaultModletValidatorTest

testEnabled 0
testOrdinal 0.001
testDefaultEnabled 0
testDefaultOrdinal 0
testValidateModlets 0.003

ModletValidatorTest

testValidateModlets 0.001

ModletObjectTest

testGetAnyObject 0.006
testGetAnyElement 0.001

ModelContextFactoryErrorTest

testModelContextFactoryError 0.004

DefaultModletProcessorExecutorServiceTest

testEnabled 0.381
testDefaultProcessModlets 2.019
testOrdinal 0
testDefaultTransformerLocation 0.578
testDefaultEnabled 1.28
testDefaultOrdinal 0.005
testTransformerLocation 0.687
testFindTransformers 0.063
testProcessModlets 0.001

ServicesTest

testGetServices 0.002

ModletProcessorTest

testProcessModlets 0.001

DefaultModletProviderTest

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

ModletsTest

GetSchemasReturnsNullForUnknownModel 0.002
GetSchemasForUriThrowsNullPointerExceptionWithNonNullMessageOnNullUri 0.005
GetSchemasForModelThrowsNullPointerExceptionWithNonNullMessageOnNullModel 0.008
GetSchemasFromMultipleModels 0
GetServicesReturnsNullForUnknownModel 0.001
GetServicesFromMultipleModels 0
GetServicesForModelThrowsNullPointerExceptionWithNonNullMessageOnNullModel 0.001

DefaultModelContextTest

testGetPlatformProviderLocation 0.266
testServiceProperties 6.515
testValidateTestModel 0.251
testTestModel 5.382
testProviderSorting 0.044
testGetProviderLocation 0.001
testGetDefaultPlatformProviderLocation 0.001
testGetDefaultProviderLocation 0
testFindTestModel 0.197
testFindModletsWithAttributes 0.187
testFindModlets 0.318
testProcessTestModel 0.519
CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.024
testCreateSchema 0.554
testGetInvalidModlets 3.152
testLogLevel 0.015
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.334
testProcessModel 0.001
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 0.289
testDefaultLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.781
testAttributes 0.001
testModletSchemaSystemId 0.001
testLogging 0.001
testFindResources 0.004
testCreateMarshaller 0.272
testCreateResourceResolver 0.512
testCreateContext 0.185
testFindResource 0.01
testCreateEntityResolver 0.218
testValidateModel 0.117
testFindClass 0
testFindModel 0.566
testCreateModelContext 0.134
testDefaultModletSchemaSystemId 0.006
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.929
testGetModlets 0.232
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.626
testCreateServiceObject 0.146
testCreateUnmarshaller 0.331

DefaultModletProcessorTest

testEnabled 0.545
testDefaultProcessModlets 0.457
testOrdinal 0.004
testDefaultTransformerLocation 0.943
testDefaultEnabled 0.628
testDefaultOrdinal 0.001
testTransformerLocation 0.515
testFindTransformers 0.02
testProcessModlets 0.001

DefaultModletValidatorExecutorServiceTest

testEnabled 0.004
testOrdinal 0.021
testDefaultEnabled 0
testDefaultOrdinal 0
testValidateModlets 0.009

ServiceFactoryTest

CreateServiceFactoryMethodThrowsNullPointerExceptionWithNonNullMessageOnNullParameter 0.098

ModelContextFactoryTest

testModelContextNotNull 0.017
testModelContextFactoryClassNotFound 0.039
testModelContextFactoryIllegalClass 0.031
testModelContextFactoryIllegalAccessException 0.02
testModelContextFactoryInstantiationException 0.048
testModelContextFactoryDefaultInstance 0.005

DefaultModelContextExecutorServiceTest

testGetPlatformProviderLocation 0.013
testServiceProperties 3.244
testValidateTestModel 0.662
testTestModel 3.215
testProviderSorting 0.231
testGetProviderLocation 0.001
testGetDefaultPlatformProviderLocation 0
testGetDefaultProviderLocation 0
testFindTestModel 0.542
testFindModletsWithAttributes 0.287
testFindModlets 0.094
testProcessTestModel 0.137
CreateServiceObjectsThrowsNullPointerExceptionWithNonNullMessageOnNullArguments 0.001
testCreateSchema 0.257
testGetInvalidModlets 1.543
testLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonOperationalPropertyObject 0.08
testProcessModel 0.001
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiablePropertyObject 0.099
testDefaultLogLevel 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForNonInstantiableServiceClass 0.182
testAttributes 0
testModletSchemaSystemId 0
testLogging 0
testFindResources 0
testCreateMarshaller 0.062
testCreateResourceResolver 0.116
testCreateContext 0.118
testFindResource 0
testCreateEntityResolver 0.092
testValidateModel 0.115
testFindClass 0
testFindModel 0.12
testCreateModelContext 0.003
testDefaultModletSchemaSystemId 0
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForInacessibleServiceClass 0.111
testGetModlets 0.054
CreateServiceObjectsThrowsModelExceptionWithNonNullMessageForUnsupportedPropertyTypes 0.083
testCreateServiceObject 0.011
testCreateUnmarshaller 0.142