3/12/2021 Task 1 Bug List: SOFT3202 COMP9202 Software Construction and Design 2
Task 1 Bug List
Remember – you should be able to catch the bugs WITHOUT needing to see this list. Only use this to verify your work, or if you have tried but got completely stuck (but you should try speaking to your tutor first anyway)
To protect innocent eyes the bugs are written in white text on a white background. You can either highlight them, or cut and paste them somewhere else to view them.
1. ReportGenerator.generateReport() will yield a report omitting all enrolled student lines
2. Student.setPreferredName will throw an IllegalArgumentException if a null parameter is given.
3. Faculty.getUnit will always return the first unit in its internal list regardless of whether it matches or not.
4. Unit.withdrawStudent will appear to run ok but will not have any effect (the student will not be withdrawn).
5. EnrolmentSystem.addStudent will auto-enrol the student in a Unit.
6. ReportGenerator.generateReport() will not include any line endings.
7. Student() (the constructor) accepts names longer than 64 characters.
8. Faculty.getAbbreviation will return a truncated version of the faculty’s name instead of the abbreviation it was given.
9. Unit.enrolStudent will happily enrol a student with a matching SID and/or unikey to an already enrolled student.
10. EnrolmentSystem.addUnit will throw an incorrect exception type if there is no matching faculty
11. Batch 3
12. Batch 3
13. Batch 3
14. Batch 3
15. Batch 3
16. Batch 4
17. Batch 4
18. Batch 4
19. Batch 4
20. Batch 4
https://canvas.sydney.edu.au/courses/31635/pages/task-1-bug-list 1/2
3/12/2021 Task 1 Bug List: SOFT3202 COMP9202 Software Construction and Design 2
Copyright ý The University of Sydney. Unless otherwise indicated, 3rd party material has been reproduced and communicated to you by or on behalf of the University of Sydney in accordance with section 113P of the Copyright Act 1968 (Act). The material in this communication may be subject to copyright under the Act. Any further reproduction or communication of this material by you may be the subject of copyright protection under the Act. Do not remove this notice.
Live streamed classes in this unit may be recorded to enable students to review the content. If you have concerns about this, please visit our student guide (https://canvas.sydney.edu.au/courses/4901/pages/zoom) and contact the unit coordinator.
https://canvas.sydney.edu.au/courses/31635/pages/task-1-bug-list 2/2