Surefire Report

Summary

[Summary] [Package List] [Test Cases]


TestsErrors FailuresSkippedSuccess RateTime
14401099.306%96.904

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


Package List

[Summary] [Package List] [Test Cases]


PackageTestsErrors FailuresSkippedSuccess RateTime
com.trendmicro.grid.acl.ds.jpa.util30000100%0
com.trendmicro.grid.acl.ds.jpa.tagquery1701094.118%33.125
com.trendmicro.grid.acl.ds.jpa97000100%63.779

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

com.trendmicro.grid.acl.ds.jpa.util

ClassTestsErrors FailuresSkippedSuccess RateTime
JpaUtilsTest18000100%0
NameValidatorTest10000100%0
TagsSerializedCacheTest2000100%0

com.trendmicro.grid.acl.ds.jpa.tagquery

ClassTestsErrors FailuresSkippedSuccess RateTime
GenericProviderTagMatchingTest5000100%16.234
HibernateSearchProviderTagMatchingTest501080%16.578
IndexActionTest3000100%0.313
IndexOptimizeTaskTest1000100%0
IndexQueueTest3000100%0

com.trendmicro.grid.acl.ds.jpa

ClassTestsErrors FailuresSkippedSuccess RateTime
FamilyNamesByVendorListPageTest4000100%8.89
FamilyNamesListPageTest3000100%0.359
JobsByStateListPageTest3000100%0.422
JpaFileRepositoryTest11000100%50.11
JpaJobRepositoryTest13000100%0.484
JpaPackageFamilyRepositoryTest6000100%0.078
JpaPackageRepositoryTest14000100%0.484
JpaProcessingResultReceiverTest10000100%1.906
JpaReportReceiverTest5000100%0.187
JpaSourceRepositoryTest14000100%0.359
JpaVendorRepositoryTest4000100%0.031
ReceivedDataSetsHandlerTest1000100%0
SourcesOfDomainListPageTest6000100%0.328
VendorNamesListPageTest3000100%0.141

Test Cases

[Summary] [Package List] [Test Cases]

FamilyNamesByVendorListPageTest

testNonExistingVendorReturnsNull8.063
testGetListPageReturnNullIfNotExisting0.015
testGetListPageReturnSingleElement0.141
testMethodReturnsValidPages0.406

FamilyNamesListPageTest

testGetListPageReturnNullIfNotExisting0.016
testGetListPageReturnSingleElement0
testMethodReturnsValidPages0.343

JobsByStateListPageTest

testGetListPageReturnNullIfNotExisting0.031
testGetListPageReturnSingleElement0.016
testMethodReturnsValidPages0.375

JpaFileRepositoryTest

testIsFilesKnownReturnTrueOnlyOnKnownEntries0.063
testIsFilesTaggedWith5.016
testGetFileIdentifiersWithSHA15
testGetCanonicalIdentifiersWithMD55
testGetCanonicalIdentifiersWithSHA1AndMD55
testGetFileInformationListWithSHA15
testGetFileInformationListWithMD55.015
testGetFileInformationListWithSHA1AndMD55.016
testGetFileDetailsWithSHA15
testGetFileDetailsWithMD55
testGetFileDetailsWithSHA1AndMD55

JpaJobRepositoryTest

testCreateJobIsNotNullAndAtomic0
testCreateJobCreatesAJobInstance0
testCreateSubJob0.062
testAddJobSources0.219
testUpdateJobFailsOnNull0
testUpdateJobFailsOnNonExisting0
testUpdateJob0
testFinalizeJobRemovedPrepared0.016
testFinalizeJobFailsIfPreparedIsSetToAState0.016
testFinalizeJob0.015
testGetJobState0.016
testGetJobByStateInRange0.016
testGetJobDetails0.109

JpaPackageFamilyRepositoryTest

testCreate0.031
testCannotCreateFamilyWithIllegalName0.016
testUpdateFailsIfBaseNameDoesNotExist0
testUpdate0.015
testGetByNameReturnNullIfNotExists0
testGetByName0.016

JpaPackageRepositoryTest

testGetPackageNamesInFamily0.078
testIsPackagesTaggedWithById0.031
testIsPackagesTaggedWithByName0.047
testGetReferencingPackageNamesById0.016
testGetReferencingPackageNames0.031
testGetFilesContainedInPackageById0.015
testGetFilesContainedInPackageByName0.016
testGetPackagesContainedInPackageById0.031
testGetPackagesContainedInPackageByName0.032
testGetPackageInformationListById0.046
testGetPackageInformationListByName0.032
testGetPackageDetailsListById0.047
testGetPackageDetailsListByName0.031
testGetPackageFileIdentifiersByName0.031

JpaProcessingResultReceiverTest

testReceive0.765
testCanUpdatePackageFileDate0.11
testCanAddSamePackageMultipleTimes0.125
testCanChangeMetaContentAndRecordHistory0.172
testCanChangeMetaContentAndRecordHistoryForNamedIdentifier0.14
testCanChangeMetaContentAndCheckRevisionIfHistoryRecordingIsDisabled0.125
testHistoryRecordingIfEnabled0.156
testNoHistoryRecordingIfDisabled0.125
testCanHaveSameFilesIncludedMultipleTimes0.047
testCanSendOversizedPackages0.141

JpaReportReceiverTest

testReceiveDoesNotFailIfMD5IsNotMissing0.015
testReceiveCreatesUnknownFileEntries0.047
testUnknownFilesCanBeUpdatedInProcessing0.063
testReceiveAddsStatisticsEntries0.031
testReceiveUpdatesStatisticsEntries0.031

JpaSourceRepositoryTest

testCreateIdentifierDoesNotReturnNull0
testCreateIdentifierFailsIfInvalidHash0.015
testCreateIdentifierFailsIfInvalidURI0
testReferenceAndGetReferencingSources0.063
testGetReferencedFiles0.015
testGetReferencedPackageNames0.079
testGetReferencingSourcesReturnsAnOrderedList0.062
testGetSourcesOfDomainReturnNullForNonExistingDomain0.016
testGetSourceInformationList0
testCreateSource0.015
testCreateSourceEncodesNonASCIIChars0.032
testCreateSourceCannotCreateSameSourceTwice0
testUpdateSource0.046
testSetInternalURI0.016

JpaVendorRepositoryTest

testCreate0.016
testUpdate0.015
testCannotCreateVendorWithIllegalName0
testUpdateFailsIfNameDoesNotExist0

ReceivedDataSetsHandlerTest

canFindRenamedPaths0

SourcesOfDomainListPageTest

testGetListPageReturnNullIfNotExistingNoRange0
testGetListPageReturnNullIfOutOfRange0.015
testGetListPageReturnsCorrectResultsOnDefaultRanges0.016
testGetListPageReturnNullIfNotExisting0
testGetListPageReturnSingleElement0
testMethodReturnsValidPages0.281

GenericProviderTagMatchingTest

testGetMatchingFiles5.062
testGetMatchingFilesSupportRanges5.063
testGetMatchingPackageNames3.015
testGetMatchingPackageNamesSupportsRanges3.047
testCanQueryMultipleTags0.047

HibernateSearchProviderTagMatchingTest

testGetMatchingFiles5.344
testGetMatchingFilesSupportRanges5.078
testGetMatchingPackageNames3.062
testGetMatchingPackageNamesSupportsRanges3.047
testCanQueryMultipleTags0.031
Expression: TagQuery{expression=[ tag2, tag3]}

IndexActionTest

testTaskDoesNotRunWhenIndexerIsDisabled0.203
testTaskIndexesAllPendingElements0.016
testActionRemembersWhatWasIndexed0.094

IndexOptimizeTaskTest

testOptimizeIsCalled0

IndexQueueTest

testCanBeSerialized0
testCanPollBacklogRanges0
testCanPollNewRange0

JpaUtilsTest

testToBytesPassedNulls0
testToBytesConvertsUUIDTo16Bytes0
testFromBytesFailsIfBytesNot16Bytes0
testFromBytesEqualsToBytes0
testSerializeTagsAcceptsNull0
testSerializeTagsAcceptsBeginsAndEndsWithSpace0
testSerializeTagsContainsAllOnce0
testSerializeTagsSortsTags0
testSerializeTagsSortsMixedCaseTags0
testSerializeTagsLowercasesTags0
testSerializeTagsRemovesWS0
testDeserializeTagsAcceptsNull0
testDeserializeTagsSortsTagsAndCorrectsCase0
testDeserializeTags0
testCanDeserializeMetadataFromString0
testCanDeserializeMetadataFromStAXSource0
testIsTaggedWithNormal0
testIsTaggedWithNegate0

NameValidatorTest

testValidateVendorNamePassedValid0
testValidateVendorNameFailsInvalid0
testValidatePackageFamilyNamePassedValid0
testValidatePackageFamilyNameFailsOnDifferentVendor0
testValidatePackageFamilyNameFailsIfPackageName0
testValidatePackageFamilyNameFailsIfNoVendor0
testValidatePackageNamePassedValid0
testValidatePackageNameFailsOnDifferentVendor0
testValidatePackageNameFailsIfFamilyName0
testValidatePackageNameFailsIfNoVendor0

TagsSerializedCacheTest

testGetSupportsTagArrays0
testGetSupportsNullTagArrays0

VendorNamesListPageTest

testGetListPageReturnNullIfNotExisting0
testGetListPageReturnSingleElement0
testMethodReturnsValidPages0.141

Failure Details

[Summary] [Package List] [Test Cases]


testCanQueryMultipleTags
java.lang.AssertionError: Expression: TagQuery{expression=[ tag2, tag3]}