Surefire Report

Summary


TestsErrors FailuresSkippedSuccess RateTime
114000100%3.003

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

Package List


PackageTestsErrors FailuresSkippedSuccess RateTime
uk.ac.ebi.biobabel.util39000100%0.709
uk.ac.ebi.biobabel.util.collections15000100%1.862
uk.ac.ebi.biobabel.util.xml4000100%0.095
uk.ac.ebi.biobabel.validator56000100%0.337

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

uk.ac.ebi.biobabel.util

ClassTestsErrors FailuresSkippedSuccess RateTime
AccessionNumberComparatorTest3000100%0.06
TestChemicalDataUtil5000100%0.575
TestStringUtil21000100%0.057
TestWebUtil10000100%0.017

uk.ac.ebi.biobabel.util.collections

ClassTestsErrors FailuresSkippedSuccess RateTime
ChemicalElementSymbolComparatorTest1000100%0.005
ChemicalNameComparatorTest2000100%1.856
CollectionMapTest4000100%0
ConfigurableComparatorTest2000100%0
ListReaderTest1000100%0
OperatorSetTest5000100%0.001

uk.ac.ebi.biobabel.util.xml

ClassTestsErrors FailuresSkippedSuccess RateTime
XPathSAXHandlerTest4000100%0.095

uk.ac.ebi.biobabel.validator

ClassTestsErrors FailuresSkippedSuccess RateTime
SyntaxValidatorTest8000100%0.066
TestChemicalDataValidator4000100%0.003
TestDbIdentifierValidator44000100%0.268

Test Cases

AccessionNumberComparatorTest

testCompareDifferentPrefixes0.015
testCompareDifferentCasePrefixes0
testCompare0.001

ChemicalElementSymbolComparatorTest

testCompare0.001

ChemicalNameComparatorTest

testCompare0.014
testSort1.819

CollectionMapTest

testSet0
testAdd0
testReverse0
testReverseSet0

ConfigurableComparatorTest

testCompare0
testConfigurableComparatorString0

ListReaderTest

testReadStringList0

OperatorSetTest

testRemoveObject0
testToString0
testToStringProperty0
testBuilder0
testParse0

TestChemicalDataUtil

testCountAtomsNoTextSearches0.216
testIsPossibleFormulaSearch0.034
testCountAtomsTextSearches0.309
testCountAtomsCoefficients0.014
testGetCmlFormula0

TestStringUtil

testIsNullOrEmptyStringNull0
testIsNullOrEmptyStringEmpty0
testIsNullOrEmptyStringNotEmpty0.006
testStringReverseCasingComparatorClassCastException0
testStringReverseCasingComparatorNullPointerException0.003
testStringReverseCasingComparatorNoCasingTest0.005
testStringReverseCasingComparatorCasingTest0
testIsIntegerIsNull0
testIsIntegerDecimalDigits0.001
testIsIntegerCharacters0.007
testIsIntegerDigits0
testIsUpperCaseIsNull0
testIsUpperCaseTrue0.004
testIsUpperCaseFalseSpace0
testToArrayIsNull0.011
testToArrayEmpty0
testToArrayZeroChunks0
testToArrayOver0
testToArrayUnder0
testToArrayOverWithRemainder0.005
testGetMatchingBrackets0

TestWebUtil

testEscapeHTMLTagStringIsNull0
testEscapeHTMLTagStringIsEmpty0
testEscapeHTMLTagStringHasEmptySpace0.002
testEscapeHTMLTagStringAllCharacters0.001
testEscapeHTMLTagStringAmpersandFirst0.004
testEscapeHTMLTagIgnoreUnicodeStringWithUnicode0
testEscapeHTMLTagIgnoreUnicodeStringIsNull0.008
testEscapeHTMLTagIgnoreUnicodeStringIsEmpty0
testEscapeHTMLTagIgnoreUnicodeStringCloseUnicode0
testAddInvisibleHtmlSpaces0.001

XPathSAXHandlerTest

test010.059
test020.009
test02wrongXpath0.013
test030.013

SyntaxValidatorTest

testValidateNoBrackets0.002
testValidateGoodBrackets0
testValidateGoodDifferentBrackets0.004
testValidateOverlappingBrackets0.001
testValidateNoOpeningBracket0
testValidateNoClosingBracket0.016
testValidateOverlappingMultipleBrackets0
testInvalidPunctuationEnd0.002

TestChemicalDataValidator

testIsValidChemicalFormulaStringNull0
testIsValidChemicalFormulaStringEmpty0.001
testIsValidChemicalFormulaStringSpace0.001
testIsValidChemicalFormulaWithInvalidFormula0.001

TestDbIdentifierValidator

testValidatePatentId0.005
testValidateCASStringNull0.009
testValidateCASStringEmpty0
testValidateCASStringTrue0.001
testValidateCASStringFalse0
testValidateGMELINStringTrue0
testValidateGMELINStringFalse0.003
testValidateBEILSTEINStringTrue0.001
testValidateBEILSTEINStringFalse0.007
testValidateMOLBASEStringTrue0
testValidateMOLBASEStringFalse0.001
testValidateMSDChemStringTrue0.009
testValidateMacieId0.014
testValidateMSDChemStringFalse0.001
testValidateMSDChemExtendedStringTrue0.005
testValidateMSDChemExtendedStringFalse0.005
testValidateCOMEStringTrue0.003
testValidateCOMEStringFalse0.005
testValidateKEGGCompoundStringTrue0
testValidateKEGGCompoundStringFalse0.001
testValidateKEGGGlycanStringTrue0
testValidateKEGGGlycanStringFalse0.001
testValidatePDBStringTrue0.003
testValidatePDBStringFalse0.003
testValidateECStringTrue0.013
testValidateECStringFalse0.003
testValidateChebiStringTrue0.004
testValidateChebiStringFalse0.005
testValidateUmbbdStringTrue0.005
testValidateUmbddStringFalse0.003
testValidateResidStringTrue0.007
testValidateResidStringFalse0.002
testValidateWebElementsIdStringTrue0.009
testValidateWebElementsIdStringFalse0.012
testValidateLipidMapsClassIdStringTrue0.006
testValidateLipidMapsClassIdStringFalse0.003
testValidateLipidMapsInstanceIdStringTrue0.014
testValidateLipidMapsInstanceIdStringFalse0.017
testValidateKeggReactionId0.01
testValidateDrugBankId0.004
testValidateUniPathwayId0.01
testValidateMetaCycRxnId0.027
testValidateReactomeId0.01
testValidateDrugId0.018