ConceptTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,103 of 2,1030%6 of 60%63634474476060
getSetMembers_shouldReturnConceptSetMembersSortedAccordingToTheSortWeight()1040%n/a11181811
getAllConceptNameLocales_shouldReturnAllLocalesForConceptNamesForThisConceptWithoutDuplicates()890%n/a11111111
getDescription_shouldNotReturnMatchOnLanguageOnlyIfExactMatchExists()730%n/a119911
getSynonyms_shouldSortPreferredFirst()560%n/a11141411
getAnswers_shouldNotReturnRetiredIfFalse()530%n/a11101011
getAnswers_shouldReturnRetiredIfTrue()530%n/a11101011
addSetMember_shouldInsertTheConceptInTheThirdSlot()530%n/a11121211
getAnswers_shouldReturnRetiredByDefault()510%n/a11101011
addSetMember_shouldInsertTheConceptBeforeTheFirstWithZeroIndex()500%20%229911
getName_shouldReturnExactNameLocaleMatchGivenExactEqualsTrue()490%n/a11111111
setPreferredName_shouldOnlyAllowOnePreferredName()450%n/a11101011
addSetMember_shouldAppendConceptToTheExistingListOfConceptSet()450%n/a11101011
getPreferredName_shouldReturnTheConceptNameExplicitlyMarkedAsLocalePreferred()440%n/a118811
getNamesBoolean_shouldNotReturnVoidedConceptName()430%n/a11111111
getPreferredName_shouldReturnTheFullySpecifiedNameIfNoNameIsExplicitlyMarkedAsLocalePreferred()420%n/a118811
addName_shouldReplaceTheOldFullySpecifiedNameWithACurrentOne()420%n/a11101011
addName_shouldReplaceTheOldPreferredNameWithACurrentOne()420%n/a11101011
getSetMembers_shouldReturnAllTheConceptMembersOfCurrentConcept()410%n/a11101011
getShortestName_shouldReturnTheShortestNameForTheConceptFromAnyLocaleIfExactIsFalse()410%n/a117711
getShortestName_shouldReturnTheShortestNameInAGivenLocaleForAConceptIfExactIsTrue()410%n/a117711
addName_shouldReplaceTheOldShortNameWithACurrentOne()400%n/a11101011
createMockConcept(int, Locale)390%20%22101011
addAnswer_shouldSetTheSortWeightToTheMaxPlusOneIfNotProvided()380%n/a119911
setPreferredName_shouldAddTheNameToTheListOfNamesIfItNotAmongThemBefore()370%n/a117711
addSetMember_shouldInsertTheConceptAtTheEndWithNegativeOneIndex()350%n/a118811
getShortestName_shouldReturnNullIfTheirAreNoNamesInTheSpecifiedLocaleAndExactIsTrue()350%n/a116611
getFullySpecifiedName_shouldReturnTheNameMarkedAsFullySpecifiedForTheGivenLocale()340%n/a118811
getCompatibleNames_shouldExcludeIncompatibleCountryLocales()330%n/a119911
getNames_shouldNotReturnVoidedConceptName()330%n/a119911
getShortestName_shouldReturnTheNameMarkedAsTheShortNameForTheLocaleIfItIsPresent()330%n/a116611
getNamesLocale_shouldReturnNonVoidedConceptName()320%n/a118811
createMockConceptName(int, Locale, ConceptNameType, Boolean)310%20%229911
addSetMember_shouldPlaceTheNewConceptLastInTheList()300%n/a117711
addSetMember_shouldAppendConceptToExistingConceptSet()290%n/a117711
getName_shouldReturnNullIfNoNamesAreFoundInLocaleGivenExactEqualsTrue()280%n/a116611
setPreferredName_shouldFailIfThePreferredNameToSetToIsAnIndexTerm()280%n/a117711
getDescription_shouldReturnMatchOnLocaleExactly()270%n/a114411
setShortName_shouldSetTheConceptNameTypeOfTheSpecifiedNameToShort()270%n/a117711
getDescription_shouldReturnMatchOnLanguageOnly()260%n/a114411
addSetMember_shouldAddTheConceptToTheCurrentListOfConceptSet()260%n/a116611
getSetMembers_shouldReturnUnmodifiableListOfConceptMemberList()260%n/a116611
addSetMember_shouldAssignTheGivenConceptAsAConceptSet()260%n/a116611
setFullySpecifiedName_shouldAddTheNameToTheListOfNamesIfItNotAmongThemBefore()260%n/a115511
setShortName_shouldAddTheNameToTheListOfNamesIfItNotAmongThemBefore()260%n/a115511
getCompatibleNames_shouldExcludeIncompatibleLanguageLocales()250%n/a114411
addSetMember_shouldAddConceptAsAConceptSet()250%n/a116611
addSetMember_shouldAssignTheCallingComponentAsParentToTheConceptSet()250%n/a116611
setFullySpecifiedName_shouldConvertThePreviousFullySpecifiedNameIfAnyToASynonym()250%n/a116611
setShortName_shouldConvertThePreviousShortNameIfAnyToASynonym()250%n/a116611
getDescription_shouldNotReturnLanguageOnlyMatchForExactMatches()240%n/a114411
getName_shouldNotFailIfNoNamesAreDefined()210%n/a114411
getNamesLocale_shouldReturnEmptyCollection()190%n/a115511
getAnswers_shouldNotReturnNullIfAnswersListIsNull()180%n/a116611
setFullySpecifiedName_shouldSetTheConceptNameTypeOfTheSpecifiedNameToFullySpecified()180%n/a115511
addName_shouldMarkTheFirstNameAddedAsFullySpecified()180%n/a114411
addAnswer_shouldNotFailIfAnswersListIsNull()170%n/a115511
getBestNameLocale_shouldReturnNull()160%n/a115511
getAnswers_shouldInitAnswersObject()130%n/a114411
setup()90%n/a112211
ConceptTest()30%n/a111111