CohortServiceTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total873 of 8730%8 of 80%32322142142828
getCohortsContainingPatient_shouldNotReturnVoidedCohorts()670%n/a11121211
getCohort_shouldGetTheNonvoidedCohortIfTwoExistWithSameName()600%40%33101011
voidCohort_shouldNotChangeAnAlreadyVoidedCohort()580%n/a11131311
saveCohort_shouldCreateNewCohorts()500%n/a11111111
getAllCohorts_shouldReturnAllCohortsAndVoided()470%n/a11111111
getAllCohorts_shouldNotReturnAnyVoidedCohorts()460%n/a11111111
getCohort_shouldOnlyGetNonVoidedCohortsByName()440%n/a11111111
voidCohort_shouldFailIfReasonIsNull()420%n/a11161611
getCohorts_shouldMatchCohortsByPartialName()400%n/a11101011
removePatientFromCohort_shouldSaveCohortAfterRemovingPatient()400%n/a117711
addPatientToCohort_shouldNotFailIfCohortAlreadyContainsPatient()380%n/a119911
voidCohort_shouldVoidCohort()370%n/a118811
getCohortsContainingPatient_shouldReturnCohortsThatHaveGivenPatient()360%n/a117711
voidCohort_shouldFailIfReasonIsEmpty()330%n/a11121211
purgeCohort_shouldDeleteCohortFromDatabase()290%n/a117711
removePatientFromCohort_shouldNotFailIfCohortDoesNotContainPatient()290%n/a118811
saveCohort_shouldUpdateAnExistingCohort()260%n/a117711
addPatientToCohort_shouldAddAPatientAndSaveTheCohort()260%n/a115511
evaluate_shouldReturnAllPatientsWithBlankPatientSearchCohortDefinitionProvider()250%n/a118811
getAllCohorts_shouldGetAllNonvoidedCohortsInDatabase()210%n/a116611
getCohort_shouldGetCohortById()200%20%225511
getCohort_shouldGetCohortGivenAName()170%20%224411
getCohortByUuid_shouldFindObjectGivenValidUuid()160%n/a115511
getCohorts_shouldNeverReturnNull()120%n/a115511
getCohortByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
static {...}30%n/a111111
CohortServiceTest()30%n/a111111
runBeforeAllTests()30%n/a112211