As specified by TA in #206, door now has one transient fault
In GUI, fault DOORS STUCK represented with Doors.State.STUCK instead of Fault.DOORS_INTERRUPTED, DOORS_STUCK
Merged attemptToOpenDoors and attemptToCloseDoors into changeDoorState(Doors.State)
ElevatorFaultTest: added test methods to cover for door getting stuck and door getting stuck being handled, on both opening and closing.
A possible improvement is to replace the doorsMalfunctioning boolean with simply changing the state of the door to STUCK.
Changes
A possible improvement is to replace the doorsMalfunctioning boolean with simply changing the state of the door to STUCK.