Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
417 0 0 5 98.801% 13.573

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
es.bsc.dataclay.util 2 0 0 0 100% 0.028
es.bsc.dataclay.metadataservice 1 0 0 1 0% 0
es.bsc.dataclay.logic.accountmgr 27 0 0 0 100% 2.661
es.bsc.dataclay.logic.namespacemgr 46 0 0 0 100% 0.279
es.bsc.dataclay.logic.datasetmgr 11 0 0 0 100% 0.037
es.bsc.dataclay.serialization 72 0 0 0 100% 1.55
es.bsc.dataclay.logic.interfacemgr 14 0 0 0 100% 0.047
es.bsc.dataclay.logic.sessionmgr 3 0 0 0 100% 0.032
es.bsc.dataclay.logic.datacontractmgr 12 0 0 1 91.667% 0.043
es.bsc.dataclay.logic.classmgr 204 0 0 2 99.02% 8.418
es.bsc.dataclay.logic.contractmgr 24 0 0 0 100% 0.478
es.bsc.dataclay.dbhandler 1 0 0 1 0% 0

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

es.bsc.dataclay.util

Class Tests Errors Failures Skipped Success Rate Time
LruCacheTest 1 0 0 0 100% 0.002
ReflectorTest 1 0 0 0 100% 0.026

es.bsc.dataclay.metadataservice

Class Tests Errors Failures Skipped Success Rate Time
MetaDataServiceTest 1 0 0 1 0% 0

es.bsc.dataclay.logic.accountmgr

Class Tests Errors Failures Skipped Success Rate Time
AccountManagerTest 17 0 0 0 100% 1.702
AccountManagerDBTest 10 0 0 0 100% 0.959

es.bsc.dataclay.logic.namespacemgr

Class Tests Errors Failures Skipped Success Rate Time
NamespaceManagerTest 46 0 0 0 100% 0.279

es.bsc.dataclay.logic.datasetmgr

Class Tests Errors Failures Skipped Success Rate Time
DataSetManagerTest 11 0 0 0 100% 0.037

es.bsc.dataclay.serialization

Class Tests Errors Failures Skipped Success Rate Time
DataClayJavaArrayTest 18 0 0 0 100% 0.012
IDTest 1 0 0 0 100% 0.004
PasswordCredentialTest 3 0 0 0 100% 0.002
JavaBufferTest 18 0 0 0 100% 0.008
DirectNettyBufferTest 18 0 0 0 100% 0.011
DataClayJavaCollectionTest 10 0 0 0 100% 0.016
PropertyIDTest 3 0 0 0 100% 0.01
DataClayJavaMapTest 1 0 0 0 100% 1.487

es.bsc.dataclay.logic.interfacemgr

Class Tests Errors Failures Skipped Success Rate Time
InterfaceManagerTest 14 0 0 0 100% 0.047

es.bsc.dataclay.logic.sessionmgr

Class Tests Errors Failures Skipped Success Rate Time
SessionManagerTest 3 0 0 0 100% 0.032

es.bsc.dataclay.logic.datacontractmgr

Class Tests Errors Failures Skipped Success Rate Time
DataContractManagerTest 12 0 0 1 91.667% 0.043

es.bsc.dataclay.logic.classmgr

Class Tests Errors Failures Skipped Success Rate Time
ClassManagerByteCodeTest 1 0 0 1 0% 0.001
ClassManagerOperationTest 162 0 0 0 100% 7.236
ClassManagerClassTest 1 0 0 1 0% 0
ClassManagerPropertyTest 40 0 0 0 100% 1.181

es.bsc.dataclay.logic.contractmgr

Class Tests Errors Failures Skipped Success Rate Time
ContractManagerTest 24 0 0 0 100% 0.478

es.bsc.dataclay.dbhandler

Class Tests Errors Failures Skipped Success Rate Time
SQLHandlerTest 1 0 0 1 0% 0

Test Cases

[Summary] [Package List] [Test Cases]

DataClayJavaArrayTest

testCharArray 0
testFloatArray 0
testJavaDoubleArray 0
testVLQ 0
testByteArray 0
testJavaIntArray 0
testJavaFloatArray 0.004
testJavaLongArray 0
testBooleanArray 0
testJavaCharArray 0
testLongArray 0.001
testShortArray 0.001
testJavaByteArray 0.001
testIntArray 0.001
testBigArray 0.003
testJavaShortArray 0.001
testDoubleArray 0
testJavaBooleanArray 0

IDTest

testSimpleIDSerialization 0.004

InterfaceManagerTest

testRemoveInterface2Interfaces 0.008
testRemoveInterface 0.003
testGetInterfacesOfClass0 0.002
testGetInterfacesOfClass1 0.003
testGetInterfacesOfClassN 0.003
testGetInterfacesOfNamespaceInfo 0.004
testGetMetaClassOfInterface 0.002
testGetInterfacesInfo 0.004
testGetInterfacesAccessingOperation0 0.001
testGetInterfacesAccessingOperation1 0.003
testGetInterfacesAccessingOperationN 0.005
testGetSubsetInterfacesOfClasses 0.003
testRemoveInterfaceNotInNamespace 0.003
testNewInterface 0.003

DataContractManagerTest

testAccountTriesToRegisterToPublicContractAndAlreadyHasContractWithProvider 0.011
testGetDataContractOfApplicantWithProvider 0.003
testGetInfoOfSomeActiveDataContractForAccountWithoutContractsWithProvider 0.003
testGetDataContractIDsOfApplicant 0.003
testCheckDataSetHasNoDataContracts 0.003
testGetInfoOfSomeActiveDataContractForAccountWithProvider 0.003
testNewPrivateDataContract 0.002
testNewPublicDataContract 0.003
testNewGMTPrivateDataContract 0.003
skipped
testGetDataContractIDsOfProvider 0.007
testAccountWithOnlyOneDataContractPerProvider 0
testRegisterToPublicActiveDataContract 0.002

AccountManagerTest

testExistsAccountFails 1.554
testValidateAccountWrongNormalRole 0.014
testNewAccount 0.014
testValidateAccount 0.013
testValidateAccountNormal 0.01
testGetAccountList 0.012
testNewAccountAlreadyExist 0.012
testValidateAccountWrongCredential 0.008
testGetAccountID 0.008
testValidateAccountWrongAdminCredential 0.007
testExistsAccount 0.007
testNewAccountWrongCredential 0.007
testValidateAccountWrongID 0.007
testValidateAccountAdmin 0.007
testValidateAccountWrongNormalCredential 0.007
testNewAccountWrongAdmin 0.008
testValidateAccountWrongAdminRole 0.007

PasswordCredentialTest

testPasswordCredentialDoubleSerialization 0.001
testSimplePasswordCredentialSerialization 0.001
testPasswordCredentialSerialization 0

JavaBufferTest

testSerializeCharArray 0.004
testSerializeBool 0
testSerializeByte 0
testSerializeChar 0
testSerializeLong 0
testSerializeBoolArray 0
testSerializeByteArray 0
testIncreaseBufferSize 0.002
testSerializeFloatArray 0
testSerializeDouble 0
testSerializeString 0.001
testSerializeIntArray 0
testSerializeStringArray 0.001
testSerializeLongArray 0
testSerializeShortArray 0
testSerializeFloat 0
testSerializeShort 0
testSerializeInt 0

DirectNettyBufferTest

testSerializeCharArray 0
testSerializeBool 0
testSerializeByte 0
testSerializeChar 0
testSerializeLong 0.001
testSerializeBoolArray 0.002
testSerializeByteArray 0
testIncreaseBufferSize 0
testSerializeFloatArray 0.001
testSerializeDouble 0.005
testSerializeString 0.001
testSerializeIntArray 0
testSerializeStringArray 0.001
testSerializeLongArray 0
testSerializeShortArray 0
testSerializeFloat 0
testSerializeShort 0
testSerializeInt 0

ClassManagerByteCodeTest

es.bsc.dataclay.logic.classmgr.ClassManagerByteCodeTest 0.001
skipped

ClassManagerOperationTest

testGetOperationNameNotExistException[0] 0.287
testGetOperationID[0] 0.121
testNewOperation[0] 0.037
testGetImplementationsOfOperationNotExistException[0] 0.02
testNewOperationAlreadyInClassException[0] 0.04
testRemoveOperation[0] 0.059
testRemoveOperationNotExistException[0] 0.021
testGetImplementationsOfOperation[0] 0.037
testSameTypeOperationAlreadyInClassException[0] 0.037
testGetOperationNameNotExistException[1] 0.058
testGetOperationID[1] 0.068
testNewOperation[1] 0.064
testGetImplementationsOfOperationNotExistException[1] 0.022
testNewOperationAlreadyInClassException[1] 0.066
testRemoveOperation[1] 0.096
testRemoveOperationNotExistException[1] 0.04
testGetImplementationsOfOperation[1] 0.08
testSameTypeOperationAlreadyInClassException[1] 0.07
testGetOperationNameNotExistException[2] 0.027
testGetOperationID[2] 0.053
testNewOperation[2] 0.053
testGetImplementationsOfOperationNotExistException[2] 0.019
testNewOperationAlreadyInClassException[2] 0.054
testRemoveOperation[2] 0.088
testRemoveOperationNotExistException[2] 0.02
testGetImplementationsOfOperation[2] 0.055
testSameTypeOperationAlreadyInClassException[2] 0.049
testGetOperationNameNotExistException[3] 0.018
testGetOperationID[3] 0.041
testNewOperation[3] 0.04
testGetImplementationsOfOperationNotExistException[3] 0.013
testNewOperationAlreadyInClassException[3] 0.041
testRemoveOperation[3] 0.077
testRemoveOperationNotExistException[3] 0.014
testGetImplementationsOfOperation[3] 0.042
testSameTypeOperationAlreadyInClassException[3] 0.04
testGetOperationNameNotExistException[4] 0.03
testGetOperationID[4] 0.097
testNewOperation[4] 0.103
testGetImplementationsOfOperationNotExistException[4] 0.028
testNewOperationAlreadyInClassException[4] 0.098
testRemoveOperation[4] 0.161
testRemoveOperationNotExistException[4] 0.022
testGetImplementationsOfOperation[4] 0.105
testSameTypeOperationAlreadyInClassException[4] 0.094
testGetOperationNameNotExistException[5] 0.021
testGetOperationID[5] 0.06
testNewOperation[5] 0.067
testGetImplementationsOfOperationNotExistException[5] 0.018
testNewOperationAlreadyInClassException[5] 0.061
testRemoveOperation[5] 0.115
testRemoveOperationNotExistException[5] 0.015
testGetImplementationsOfOperation[5] 0.066
testSameTypeOperationAlreadyInClassException[5] 0.06
testGetOperationNameNotExistException[6] 0.016
testGetOperationID[6] 0.028
testNewOperation[6] 0.028
testGetImplementationsOfOperationNotExistException[6] 0.012
testNewOperationAlreadyInClassException[6] 0.028
testRemoveOperation[6] 0.044
testRemoveOperationNotExistException[6] 0.01
testGetImplementationsOfOperation[6] 0.03
testSameTypeOperationAlreadyInClassException[6] 0.027
testGetOperationNameNotExistException[7] 0.017
testGetOperationID[7] 0.029
testNewOperation[7] 0.024
testGetImplementationsOfOperationNotExistException[7] 0.009
testNewOperationAlreadyInClassException[7] 0.023
testRemoveOperation[7] 0.041
testRemoveOperationNotExistException[7] 0.012
testGetImplementationsOfOperation[7] 0.031
testSameTypeOperationAlreadyInClassException[7] 0.023
testGetOperationNameNotExistException[8] 0.016
testGetOperationID[8] 0.028
testNewOperation[8] 0.028
testGetImplementationsOfOperationNotExistException[8] 0.009
testNewOperationAlreadyInClassException[8] 0.024
testRemoveOperation[8] 0.044
testRemoveOperationNotExistException[8] 0.011
testGetImplementationsOfOperation[8] 0.032
testSameTypeOperationAlreadyInClassException[8] 0.028
testGetOperationNameNotExistException[9] 0.023
testGetOperationID[9] 0.054
testNewOperation[9] 0.05
testGetImplementationsOfOperationNotExistException[9] 0.01
testNewOperationAlreadyInClassException[9] 0.04
testRemoveOperation[9] 0.071
testRemoveOperationNotExistException[9] 0.01
testGetImplementationsOfOperation[9] 0.045
testSameTypeOperationAlreadyInClassException[9] 0.041
testGetOperationNameNotExistException[10] 0.016
testGetOperationID[10] 0.048
testNewOperation[10] 0.043
testGetImplementationsOfOperationNotExistException[10] 0.009
testNewOperationAlreadyInClassException[10] 0.037
testRemoveOperation[10] 0.057
testRemoveOperationNotExistException[10] 0.008
testGetImplementationsOfOperation[10] 0.035
testSameTypeOperationAlreadyInClassException[10] 0.037
testGetOperationNameNotExistException[11] 0.01
testGetOperationID[11] 0.031
testNewOperation[11] 0.029
testGetImplementationsOfOperationNotExistException[11] 0.007
testNewOperationAlreadyInClassException[11] 0.031
testRemoveOperation[11] 0.05
testRemoveOperationNotExistException[11] 0.008
testGetImplementationsOfOperation[11] 0.032
testSameTypeOperationAlreadyInClassException[11] 0.028
testGetOperationNameNotExistException[12] 0.009
testGetOperationID[12] 0.025
testNewOperation[12] 0.024
testGetImplementationsOfOperationNotExistException[12] 0.007
testNewOperationAlreadyInClassException[12] 0.036
testRemoveOperation[12] 0.05
testRemoveOperationNotExistException[12] 0.036
testGetImplementationsOfOperation[12] 0.048
testSameTypeOperationAlreadyInClassException[12] 0.041
testGetOperationNameNotExistException[13] 0.016
testGetOperationID[13] 0.046
testNewOperation[13] 0.049
testGetImplementationsOfOperationNotExistException[13] 0.012
testNewOperationAlreadyInClassException[13] 0.049
testRemoveOperation[13] 0.083
testRemoveOperationNotExistException[13] 0.011
testGetImplementationsOfOperation[13] 0.05
testSameTypeOperationAlreadyInClassException[13] 0.043
testGetOperationNameNotExistException[14] 0.019
testGetOperationID[14] 0.077
testNewOperation[14] 0.109
testGetImplementationsOfOperationNotExistException[14] 0.016
testNewOperationAlreadyInClassException[14] 0.1
testRemoveOperation[14] 0.149
testRemoveOperationNotExistException[14] 0.016
testGetImplementationsOfOperation[14] 0.077
testSameTypeOperationAlreadyInClassException[14] 0.055
testGetOperationNameNotExistException[15] 0.016
testGetOperationID[15] 0.085
testNewOperation[15] 0.068
testGetImplementationsOfOperationNotExistException[15] 0.011
testNewOperationAlreadyInClassException[15] 0.082
testRemoveOperation[15] 0.127
testRemoveOperationNotExistException[15] 0.019
testGetImplementationsOfOperation[15] 0.094
testSameTypeOperationAlreadyInClassException[15] 0.066
testGetOperationNameNotExistException[16] 0.012
testGetOperationID[16] 0.06
testNewOperation[16] 0.06
testGetImplementationsOfOperationNotExistException[16] 0.015
testNewOperationAlreadyInClassException[16] 0.059
testRemoveOperation[16] 0.096
testRemoveOperationNotExistException[16] 0.01
testGetImplementationsOfOperation[16] 0.043
testSameTypeOperationAlreadyInClassException[16] 0.041
testGetOperationNameNotExistException[17] 0.013
testGetOperationID[17] 0.042
testNewOperation[17] 0.039
testGetImplementationsOfOperationNotExistException[17] 0.01
testNewOperationAlreadyInClassException[17] 0.042
testRemoveOperation[17] 0.076
testRemoveOperationNotExistException[17] 0.01
testGetImplementationsOfOperation[17] 0.045
testSameTypeOperationAlreadyInClassException[17] 0.042

ClassManagerClassTest

es.bsc.dataclay.logic.classmgr.ClassManagerClassTest 0
skipped

ContractManagerTest

testContractNotPublic 0.258
testNewPublicContract 0.014
testGetContractIDsOfApplicantWithProvider 0.011
testCheckInterfaceHasNoContracts 0.019
testRegisterToPublicActiveContract 0.009
testGetInfoOfMultipleContractsPerActiveContractsForAccount 0.018
testGetContractIDsOfApplicant 0.006
testContractNotExist 0.005
testGetInfoOfMultipleInterfacesPerActiveContractsForAccount 0.014
testCheckNotValidInterfacesInActiveContractsForAccount 0.007
testGetContract 0.011
testNewPrivateContract 0.005
testCheckInterfacesInActiveContractsForAccount 0.011
testCheckImplementationHasNoContracts 0.01
testAccountAlreadyRegisteredInContract 0.007
testGetInfoOfActiveContractForAccount 0.01
testInterfaceNotInContract 0.007
testGetContractIDsOfProvider 0.006
testCheckNamespaceHasNoContracts 0.006
testCheckInterfacesInNonActiveContractsForAccount 0.01
testContractNotActive 0.006
testCheckInterfacesInActiveContractsForNotValidAccount 0.01
testAccountNotRegistered 0.006
testGetInfoOfInerfacesInActiveContractsForAccount 0.012

SQLHandlerTest

es.bsc.dataclay.dbhandler.SQLHandlerTest 0
skipped

AccountManagerDBTest

getAllNormalAccounts 0.926
testStore 0.003
existsAccountByName 0.003
getByID 0.003
existsAccountByID 0.003
close 0.003
store 0.003
getByName 0.002
dropTables 0.01
createTables 0.003

LruCacheTest

lruCacheTest 0.002

ClassManagerPropertyTest

testNewProperty[0] 0.045
testGetPropertyID[0] 0.028
testNewPropertyAlreadyInClassException[0] 0.041
testGetPropertyIDNotExistException[0] 0.015
testNewProperty[1] 0.044
testGetPropertyID[1] 0.042
testNewPropertyAlreadyInClassException[1] 0.042
testGetPropertyIDNotExistException[1] 0.013
testNewProperty[2] 0.042
testGetPropertyID[2] 0.04
testNewPropertyAlreadyInClassException[2] 0.026
testGetPropertyIDNotExistException[2] 0.009
testNewProperty[3] 0.025
testGetPropertyID[3] 0.025
testNewPropertyAlreadyInClassException[3] 0.027
testGetPropertyIDNotExistException[3] 0.02
testNewProperty[4] 0.033
testGetPropertyID[4] 0.024
testNewPropertyAlreadyInClassException[4] 0.026
testGetPropertyIDNotExistException[4] 0.009
testNewProperty[5] 0.025
testGetPropertyID[5] 0.03
testNewPropertyAlreadyInClassException[5] 0.026
testGetPropertyIDNotExistException[5] 0.009
testNewProperty[6] 0.031
testGetPropertyID[6] 0.033
testNewPropertyAlreadyInClassException[6] 0.04
testGetPropertyIDNotExistException[6] 0.013
testNewProperty[7] 0.039
testGetPropertyID[7] 0.04
testNewPropertyAlreadyInClassException[7] 0.044
testGetPropertyIDNotExistException[7] 0.012
testNewProperty[8] 0.037
testGetPropertyID[8] 0.04
testNewPropertyAlreadyInClassException[8] 0.039
testGetPropertyIDNotExistException[8] 0.013
testNewProperty[9] 0.04
testGetPropertyID[9] 0.041
testNewPropertyAlreadyInClassException[9] 0.039
testGetPropertyIDNotExistException[9] 0.014

NamespaceManagerTest

testGetNamespace 0.019
testRemoveNamespaceWrongNamespace 0.003
testRegisterImplementationInterfaceNotExistsException 0.008
testGetImportedInterfacesFromClassNotImported 0.016
testRegisterOperationInterfaceContractNotExistsException 0.005
testNewNamespace 0.004
testCheckImportNotUsedFail 0.005
testRegisterOperationInterfaceNotExistsException 0.005
testRegisterPropertyNamespaceNotExistException 0.008
testNewNamespaceAlreadyExists 0
testImportInterfacesAlreadyExistsException 0.005
testRegisterOperationUsesImport 0.008
testRegisterSubClassInterfaceNotExistsException 0.005
testImportInterfaces 0.009
testRegisterPropertyInterfaceContractNotExistsException 0.005
testGetImportedInterfacesForMetaClasses 0.016
testRegisterSubClassUsesImport 0.007
testGetImportedInterfacesFromClassNameNamespaceDoesNotExistException 0.009
testUnregisterSubClassUsesImport 0.007
testGetNamespacesInfo 0.005
testImportInterfacesNamespaceNotExistException 0.003
testCheckNamespaceResponsibleCorrectNamespace 0.003
testRemoveInterfaceNotExistsException 0.005
testGetImportedInterfacesFromClassName 0.01
testGetNamespacesNames 0.006
testRegisterPropertyUsesImport 0.007
testRegisterImplementationNamespaceNotExistException 0.004
testRegisterImplementationUsesImport 0.007
testRemoveImportedInterfaces 0.007
testUnregisterOperationUsesImport 0.007
testRegisterOperationNamespaceNotExistException 0.004
testCheckNamespaceResponsibleWrongNamespace 0.003
testRemoveNamespaceCorrectNamespace 0.005
testCheckNamespaceResponsibleWrongResponsible 0
testGetImportsOfAccount 0.006
testRemoveInterfacesNamespaceNotExistException 0.004
testRegisterSubClassNamespaceNotExistException 0.004
testGetWrongNamespacesResponsibles 0.005
testCheckImportsNotUsedAndGet 0.005
testRemoveInterfaceContractNotExistsException 0.004
testRegisterSubClassInterfaceContractNotExistsException 0.005
testUnregisterImplementationUsesImport 0.007
testCheckImportNotUsedNamespaceNotExistException 0.004
testRegisterPropertyInterfaceNotExistsException 0.004
testRegisterImplementationInterfaceContractNotExistsException 0.005
testRemoveNamespace2NamespacesWithSameResponsible 0.006

SessionManagerTest

testGetSessionInfo 0.025
badSessionTest 0.003
testNewSession 0.004

ReflectorTest

getSignatureSubTypesTest 0.026

DataClayJavaCollectionTest

testCharColl 0
testFloatColl 0
testLongColl 0
testShortColl 0.001
testByteColl 0.001
testCollOfColls 0.007
testBigColl 0.002
testDoubleColl 0.002
testIntColl 0.002
testBooleanColl 0.001

DataSetManagerTest

testNewDataSetAlreadyExists 0.008
testRemoveDataSetWrongDataSet 0.003
testRemoveDataSetCorrectDataSet 0.003
testGetPublicDataSets 0.003
testGetDataSetsInfo 0.002
testCheckDataSetIsPublic 0.004
testNewDataSet 0.002
testRemoveDataSet2DataSetsWithSameResponsible 0.004
testGetDataSet 0.002
testCheckDataSetResponsibleCorrectDataSet 0.003
testCheckDataSetResponsibleWrongDataSet 0.003

PropertyIDTest

testSimplePropertyIDSerialization 0.009
testPropertyIDSerialization 0
testPropertyIDDoubleSerialization 0.001

MetaDataServiceTest

es.bsc.dataclay.metadataservice.MetaDataServiceTest 0
skipped

DataClayJavaMapTest

testIntMap 1.487

Failure Details

[Summary] [Package List] [Test Cases]


testNewGMTPrivateDataContract
skipped: skipped
es.bsc.dataclay.logic.classmgr.ClassManagerByteCodeTest
skipped: skipped
es.bsc.dataclay.logic.classmgr.ClassManagerClassTest
skipped: skipped
es.bsc.dataclay.dbhandler.SQLHandlerTest
skipped: skipped
es.bsc.dataclay.metadataservice.MetaDataServiceTest
skipped: skipped