Thursday, March 27, 2014

Week12 Blog8

Progress I made
  1. Following the discussions in last week's meeting, I changed the alert sound from the system notification sound to an external sound, played using pygame.
  2. Squashed and rebased all commits
  3. Tested auto-recording using the test cases below
 Test cases:

- Empty case
  • No talks in database
- "No talks available" dialog box 
  • talk A, has room number, start time already passed
  • talk A, no room number, start time later than current time
  • talk A, room 123, set to a different later date
  • talks A B C, all have same room number, all with starting times that have already passed
  • talks A B C, A B have same room numbers, C has different room number, all with starting times that have already passed
  • talks A B C, A B have same room numbers, C has different room number, A B start time passed, C start time later than current time, but room number selected in the recording interface is the room for talk A
- "No room selected" dialog box (room field empty in recording interface)
  • talk A, has room number, start time later than current time
- One talk available (room 123 selected)
  • talk A, room 123, start time later than current time
  • talks A B C, A B have no room number, C room 123, all start time later than current time
  • talks A B C, A C room 456, B room 123, all start time later than current time
  • talks A B, all in room 123, B's start time between start and end time of A (need to fix!) 
- More than one talk available (room 123 selected)
  • talks A B C, A C room 123, B room 456, all start time later than current time
  • talks A B C, all in room 123, A C start time later than current time, B start time passed
  • talks A B C, all in room 123, all start time later than current time
- Stop auto-record (room 123 selected)
  • talks A B C, all in room 123, all start time later than current time,press "Stop Auto-Record" before recording starts
  • talks A B C, all in room 123, all start time later than current time,press "Stop Auto-Record" in the middle of a recording
- Countdown display + flash screen + alert sound
  • talk A, room 123, set start time to 2 hours after current time
  • talk A, room 123, set start time to 3 minutes after current time
  • talk A, room 123, set start time to 1.5 minutes after current time
  • talk A, room 123, set start time to 20 seconds after current time
  • talk A, room 123, set duration to 3 minutes 10 seconds
  • talk A, room 123, set duration to 1.5 minutes
  • talk A, room 123, set duration to 20 seconds
- Length of recording (check the talk is recorded properly and saved in the video directory)
  • talk A, room 123, set duration to 1 minute
  • talk A, room 123, set duration to 10 seconds
Also check that when in auto-record mode, all buttons in recording interface are disabled, and the Stop Auto-Record button is pressed down.

Plans for next week
  • Fix problem found by test case above
  • Find out the alert sound's license
  • Try to change from using pygame to QSound
  • Edit, polish, and finish the project proposal
  • Request for code review and make any last modifications to the files in the pull request

Problems
None. Thanks to Dennis and Thanh, finally figured out an easier way to rebase to master!


No comments:

Post a Comment