Sonar metrics for OpenMRS Core Master

Build: #481 was successful Scheduled with changes by Daniel Kayiwa

Code commits

Git

  • Daniel Kayiwa

    Daniel Kayiwa 0f856b8f6a23d55fb074a768d4274af7c59e6325

    Merge pull request #1444 from Fernando-Jack/TRUNK-3195
    TRUNK-3195: creating JUnit Test for validate behavior of HibernateFormDAO.getFormCriteria

  • Fernando Barbosa <fernando.esmeria@gmail.com>

    Fernando Barbosa <fernando.esmeria@gmail.com> 4d31068dd99543eaabd85f84577e1b3e0529b2ab m

    TRUNK-3195: creating JUnit Test for validate behavior of HibernateFormDAO.getFormCriteria
    -Created JUnitTest in FormService
    -Created new FormService dataset to use in the Unit Test. Dataset contains multiple forms.
    -Modified getFormCriteria() Logic to consider form fields passed in the containingAnyFormField parameter when filtering.

    • api/src/main/java/org/openmrs/api/FormService.java (version 4d31068dd99543eaabd85f84577e1b3e0529b2ab)
    • api/src/main/java/org/openmrs/api/db/hibernate/HibernateFormDAO.java (version 4d31068dd99543eaabd85f84577e1b3e0529b2ab)
    • api/src/test/java/org/openmrs/api/FormServiceTest.java (version 4d31068dd99543eaabd85f84577e1b3e0529b2ab)
    • api/src/test/resources/org/openmrs/api/include/FormServiceTest-multipleForms-formFields.xml (version 4d31068dd99543eaabd85f84577e1b3e0529b2ab)