Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw
Build: #638 was successful
Job: Default Job was successful
Code commits
openmrs-module-webservices.rest
-
Rafal Korytkowski dadc8bcf0334ca12297a3e363d3f79bf33c60c91
Merge pull request #242 from teleivo/RESTWS-619
RESTWS-619 Add SearchConfigTest -
teleivo <mrteleivo@gmail.com> e494fd2238a5d607657ed86c151f8a03c3e87279
RESTWS-619 Add SearchConfigTest
* add javadocs to SearchConfig
* add test class for SearchConfig
* move validation of parameters in constructor before setting the instance
properties. so we fail fast if a param is invalid (also fixes a NPE if given a
null supportedOpenmrsVersions).
* simplify SearchConfig.equals()
id, supportedResource, supportedOpenmrsVersion do not have to be tested for
null since they cannot be null (see constructors).
replace obj == null and obj.getClass() != getClass() with instanceof operator- omod-common/src/main/java/org/openmrs/module/webservices/rest/web/resource/api/SearchConfig.java (version e494fd2238a5d607657ed86c151f8a03c3e87279)
- omod-common/src/test/java/org/openmrs/module/webservices/rest/web/resource/api/SearchConfigTest.java (version e494fd2238a5d607657ed86c151f8a03c3e87279)