Sonar metrics for OpenMRS Core Master

Build: #1214 was successful Scheduled with changes by teleivo <mrteleivo@gmail.com> and Ivo Ulrich <teleivo@users.noreply.github.com>

Build result summary

Details

Completed
Duration
32 minutes
Labels
None
Revision
0bae18e5ddfbb9d01825de58b4c89a0a246b92c6 0bae18e5ddfbb9d01825de58b4c89a0a246b92c6
Total tests
3508
First to pass since
#1213 (Scheduled with changes by 6 people)

Code commits

Author Commit Message Commit date
Ivo Ulrich <teleivo@users.noreply.github.com> Ivo Ulrich <teleivo@users.noreply.github.com> 0bae18e5ddfbb9d01825de58b4c89a0a246b92c6 0bae18e5ddfbb9d01825de58b4c89a0a246b92c6 Merge pull request #2123 from teleivo/fix-conceptvalidatortest
Fix and clean ConceptValidatorTest
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> e4cb346ee8c63915c1261e8412340b8d0eb6ae16 e4cb346ee8c63915c1261e8412340b8d0eb6ae16 Fix and clean ConceptValidatorTest
* fix failing test validate_shouldFailIfAnyNameIsAnEmptyString
had wrong assertion
* extract duplicate test setup into setUp method
* make conceptService a member and autowire it
* make concept cd4Count and weight members since they are used multiple
times
* arrange tests in arrange, act, assert way so reading is easier
* add test for when getNames() returns empty list
* fix validate_shouldFailIfTheObjectParameterIsNull
which expects an IAE but from the validator. However the call to
new BindException(null, "concept");

fails since the target object must not be null

Tests

Fixed tests 1
Status Test Failing since View job Duration
Successful ConceptValidatorTest validate_shouldFailIfAnyNameIsAnEmptyString History
Failing since build #1213 (Scheduled with changes by 6 people) Sonar Full Analysis < 1 sec