forked from openmrs/openmrs-module-providermanagement
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests for methods in providerManagementUtils (openmrs#31)
Added test cases for getSupervisors: Contribution for PROV-91. Added two test cases for getSupervisors; Testing that the list returned is not empty after setting a supervisor/supervisee relationship, Testing that the list returned is empty on a provider with no supervisor, and testing that the list returned is of proper length when a supervisor/supervisee relationship exists. Added test cases for clearTimeComponent: Contribution for PROV-91. Added three test cases for clearTimeComponint; Testing the date returned when passed a day that has already started ( (hour, min, second) != (0, 0, 0) ), testing the date returned when passed a date with a negative value in the date, and testing the date returned when passed a day that has just started ( (hour, min, second) == (0, 0, 0) ). Added test cases for getSupervisees: Contribution for PROV-91. Added two test cases for getSupervisees; Testing that the list returned is not empty after setting a supervisor/supervisee relationship, Testing that the list returned is empty on a provider with no supervisee, and testing that the list returned is of proper length when a supervisor/supervisee relationship exists.
- Loading branch information
1 parent
2673657
commit 9722809
Showing
1 changed file
with
98 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters