FormServiceTest

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,143 of 1,1430%2 of 20%33333073073232
shouldFieldCreateModifyDelete()1670%n/a11484811
shouldFormCreateUpdateDelete()1000%n/a11303011
getForms_shouldReturnFormsContainingAllFormFieldsInContainingAllFormFields()950%n/a11161611
saveFormResource_shouldOverwriteAnExistingResourceWithSameName()820%n/a11222211
purgeForm_shouldDeleteFormResourcesForDeletedForm()660%n/a11191911
saveFormResource_shouldBeAbleToSaveAnXSLT()620%n/a11181811
duplicateForm_shouldCopyResourcesForOldFormToNewForm()530%n/a11151511
purgeFormResource_shouldDeleteAFormResource()530%n/a11171711
getFormField_shouldIgnoreFormFieldsPassedToIgnoreFormFields()500%n/a11101011
saveFormResource_shouldPersistAFormResource()470%n/a11141411
getResourceAsString(String)370%20%228811
getForms_shouldReturnDuplicateFormWhenGivenFieldsIncludedInFormMultipleTimes()360%n/a118811
saveFormField_shouldPropagateSaveToTheFieldPropertyOnTheGivenFormField()320%n/a119911
duplicateForm_shouldClearChangedDetailsAndUpdateCreationDetails()300%n/a117711
saveFieldType_shouldCreateNewFieldType()260%n/a118811
saveFieldType_shouldUpdateExistingFieldType()260%n/a118811
duplicateForm_shouldGiveANewUuidToTheDuplicatedForm()220%n/a117711
mergeDuplicateFields_shouldMergeDuplicateFieldsInFormFieldsAndThenPurgeTheDuplicateFields()200%n/a116611
getFormField_shouldNotFailWithNullIgnoreFormFieldsArgument()180%n/a113311
getFormField_shouldSimplyReturnNullForNonexistentConcepts()140%n/a112211
getFormField_shouldSimplyReturnNullForNonexistentForms()140%n/a112211
getFieldByUuid_shouldFindObjectGivenValidUuid()130%n/a114411
getFieldTypeByUuid_shouldFindObjectGivenValidUuid()130%n/a114411
getFormByUuid_shouldFindObjectGivenValidUuid()130%n/a114411
getFormFieldByUuid_shouldFindObjectGivenValidUuid()130%n/a114411
getFormsContainingConcept_shouldGetAllFormsForConcept()130%n/a113311
getFieldAnswerByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
getFieldByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
getFieldTypeByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
getFormByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
getFormFieldByUuid_shouldReturnNullIfNoObjectFoundWithGivenUuid()50%n/a112211
FormServiceTest()30%n/a111111