Sonar metrics for OpenMRS Core Master

Build: #1630 failed Scheduled with changes by teleivo <>

Code commits


  • teleivo <>

    teleivo <> d33ab88d966193833792047d7bb91796107da9de

    Add missing tests for Module.getExtensions()
    * add tests to achieve full coverage of getExtensions()
    * use a more realisitc setup as Module follows in its creation
    via ModuleFileParser

    • api/src/test/java/org/openmrs/module/ (version d33ab88d966193833792047d7bb91796107da9de)
  • teleivo <>

    teleivo <> 61a1b3ef5ce0ef2b2612c2c7b54f4c5d3fd3becf

    Turn ModuleExtensionsTest into unit tests
    ModuleExtensionsTest uses powermock and asserts on private methods which
    is not needed as we can assert on the resulting List of Extensions
    whether the extension names are expanded

    • api/src/test/java/org/openmrs/module/ (version 61a1b3ef5ce0ef2b2612c2c7b54f4c5d3fd3becf)