Registrar requires functionality in RegistrationManager for assigning a Faculty to a Course, removing a Faculty from a Course, and resetting a Faculty’s FacultySchedule.
Implement RegistrationManager.addFacultyToCourse(Course, Faculty)
If the currentUser isn’t null and is the Registrar, the Faculty’s FacultySchedule should be updated with the given Course. Any exceptions should be propagated to the GUI.
Implement RegistrationManager.removeFacultyFromCourse(Course, Faculty)
If the currentUser isn’t null and is the Registrar, the Faculty’s FacultySchedule should be updated by removing the given Course. Any exceptions should be propagated to the GUI.
Implement RegistrationManager.resetFacultySchedule(Faculty)
If the currentUser isn’t null and is the Registrar, the Faculty’s FacultySchedule should be reset. Any exceptions should be propagated to the GUI.
Update RegistrationManagerTest
Add test cases to ensure the new functionality is working correctly and that you have at least 80% statement coverage.
Pass all Tests
Run all unit tests and ensure that they are all passing and that the teaching staff unit tests are also all passing before moving on.
GitHub Resources:
Push to GitHub
Push your PackScheduler project to GitHub
- Add the unstaged changes to the index.
- Commit and push changes. Remember to use a meaningful commit message describing how you have changed the code.
Check the following items on Jenkins for your last build and use the results to estimate your grade:
Check Jenkins
Check your project on Jenkins to ensure that you are making progress.
