LocationServiceTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,586 of 1,5860%0 of 0n/a66664264266666
getLocationsHavingAllTags_shouldGetLocationsHavingAllTags()1100%n/a11191911
saveLocation_shouldCascadeSaveToChildLocationFromLocation()980%n/a11262611
getLocationsHavingAnyTag_shouldGetLocationsHavingAnyTag()850%n/a11151511
saveLocation_shouldAddLocationTagToLocation()590%n/a11151511
saveLocation_shouldCreateLocationSuccessfully()580%n/a11181811
saveLocation_shouldUpdateLocationSuccessfully()550%n/a11151511
saveLocationTag_shouldUpdateLocationTagSuccessfully()550%n/a11151511
retireLocation_shouldRetireLocationSuccessfully()540%n/a11141411
saveLocation_shouldOverwriteTransientTagIfTagWithSameNameExists()530%n/a11111111
retireLocationTag_shouldRetireLocationTagSuccessfully()530%n/a11151511
retireLocationAttributeType_shouldRetireALocationAttributeType()460%n/a11131311
unretireLocationAttributeType_shouldUnretireARetiredLocationAttributeType()410%n/a11131311
getAllLocations_shouldPushRetiredLocationsToTheEndOfTheListWhenIncludeRetiredIsTrue()370%n/a118811
saveLocationAttributeType_shouldEditAnExistingLocationAttributeType()370%n/a119911
saveLocationTag_shouldCreateLocationTagSuccessfully()340%n/a11101011
saveLocationAttributeType_shouldCreateANewLocationAttributeType()340%n/a119911
getLocationsByTag_shouldGetLocationsByTag()330%n/a115511
saveLocation_shouldRemoveChildLocationFromLocation()300%n/a117711
saveLocation_shouldRemoveLocationTagFromLocation()300%n/a117711
retireLocationTag_shouldRetireLocationTagWithGivenReason()300%n/a119911
unretireLocation_shouldUnretireRetiredLocation()280%n/a119911
unretireLocationTag_shouldUnretireRetiredLocationTag()280%n/a119911
saveLocation_shouldThrowAPIExceptionIfTransientTagIsNotFound()240%n/a117711
saveLocationTag_shouldThrowAPIExceptionIfTagHasNoName()220%n/a117711
purgeLocationAttributeType_shouldCompletelyRemoveALocationAttributeType()220%n/a115511
purgeLocation_shouldDeleteLocationSuccessfully()190%n/a116611
purgeLocationTag_shouldDeleteLocationTag()190%n/a116611
saveLocation_shouldReturnSavedObject()180%n/a116611
getDefaultLocation_shouldReturnDefaultLocationForTheImplementation()170%n/a115511
getDefaultLocation_shouldReturnUnknownLocationIfTheGlobalPropertyIsSomethingElseThatDoesnotExist()170%n/a115511
getLocationTagByName_shouldGetLocationTagByName()160%n/a114411
saveLocationTag_shouldThrowExceptionIfTagNameIsNull()150%n/a115511
saveLocationTag_shouldReturnSavedObject()140%n/a114411
getLocationsHavingAllTags_shouldReturnEmptyListWhenNoLocationHasTheGivenTags()130%n/a114411
getLocationsHavingAnyTag_shouldReturnEmptyListWhenNoLocationHasTheGivenTags()130%n/a114411
getLocationByUuid_shouldFindObjectGivenValidUuid()130%n/a114411
getLocationsByTag_shouldReturnEmptyListWhenNoLocationsHasTheGivenTag()120%n/a113311
getLocationsHavingAllTags_shouldReturnAllUnretiredLocationsGivenAnEmptyTagList()120%n/a113311
getLocationsHavingAnyTag_shouldReturnEmptyListWhenGivenAnEmptyTagList()120%n/a113311
getLocationAttributeByUuid_shouldGetTheLocationAttributeWithTheGivenUuid()120%n/a115511
getLocationAttributeType_shouldReturnTheLocationAttributeTypeWithTheGivenId()110%n/a113311
getRootLocations_shouldReturnRootLocationsIncludingRetired()100%n/a113311
getRootLocations_shouldReturnOnlyUnretiredRootLocations()100%n/a113311
getAllLocations_shouldReturnAllLocationsWhenIncludeRetiredIsTrue()100%n/a113311
getAllLocations_shouldReturnOnlyUnretiredLocationsWhenIncludeRetiresIsFalse()100%n/a113311
getAllLocationTags_shouldReturnAllLocationTagsIfIncludeRetiredIsTrue()100%n/a113311
getAllLocationTags_shouldReturnOnlyUnretiredLocationTagsIfIncludeRetiredIsFalse()100%n/a113311
getAllLocationAttributeTypes_shouldReturnAllLocationAttributeTypesIncludingRetiredOnes()100%n/a113311
getLocationAttributeTypeByUuid_shouldReturnTheLocationAttributeTypeWithTheGivenUuid()100%n/a114411
getLocationAttributeByUuid_shouldReturnNullIfNoLocationAttributeHasTheGivenUuid()100%n/a114411
getAllLocations_shouldReturnAllLocationsIncludingRetired()90%n/a113311
getAllLocationTags_shouldReturnAllLocationTagsIncludingRetired()90%n/a113311
saveLocation_shouldThrowAPIExceptionIfLocationHasNoName()90%n/a113311
getLocationAttributeType_shouldReturnNullIfNoLocationAttributeTypeExistsWithTheGivenId()90%n/a113311
getLocations_shouldReturnEmptyListWhenNoLocationMatchTheNameFragment()80%n/a112211
getLocationTags_shouldReturnEmptyListWhenNoLocationTagMatchGivenSearchString()80%n/a112211
getLocationTagByUuid_shouldFindObjectGivenValidUuid()80%n/a113311
getLocationAttributeTypeByUuid_shouldReturnNullIfNoLocationAttributeTypeExistsWithTheGivenUuid()80%n/a113311
getLocation_shouldReturnNullWhenNoLocationMatchGivenLocationId()60%n/a112211
getLocationTag_shouldReturnNullWhenNoLocationTagMatchGivenId()60%n/a112211
getLocation_shouldReturnNullWhenNoLocationMatchGivenLocationName()50%n/a112211
getLocationTagByName_shouldReturnNullWhenNoLocationTagMatchGivenName()50%n/a112211
getLocationByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
getLocationTagByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
runBeforeEachTest()40%n/a112211
LocationServiceTest()30%n/a111111