-
reviewed13. Recorded-duration readout format UID: SRS-013 TYPE: ui STATUS: Approved RELATIONS (Parent): RELATIONS (Child): STATEMENT: While a recording session is active, the software shall display the recorded duration in HH:MM:SS format.
RATIONALE: Refines SYS-005. A recorded-duration readout in a fixed HH:MM:SS format lets the operator see how much signal has been captured so far while keeping the live signal in view.
REVIEWED_HASH: 44a71204c417957885ee30f52c99c5b19e8e51c0e3da1d1cda7243ae850f84c6
REVIEWED_BY: @DougYoungberg
NOTES: coverage-plan: UT-001 verifies the duration-to-HH:MM:SS formatting at the unit tier; ST-009 observes the readout shown in HH:MM:SS format in the running application during an active recording.
Exercise the RecordingWidgetState.formattedElapsedTime getter with a range of recorded-duration values and assert the returned string is the zero-padded HH:MM:SS representation of that duration.
For a seeded elapsedTime the getter returns hours, minutes, and seconds, each zero-padded to two digits and joined by colons: Duration.zero yields "00:00:00"; 1 minute 5 seconds yields "00:01:05"; 1 hour 1 minute 1 second yields "01:01:01"; and hours are not wrapped at 24 (100 hours yields "100:00:00").
ae3855a7b171f5f34e0094b9b1a986dd607504e3737a532edf03b7bb50c97f57
@DougYoungberg
Test file: test/unit/domain/entities/ui/recording_widget_state_test.dart, in the UT-001-prefixed test case (the test name carries the UID prefix for the Flutter/JUnit join channel). Verifies the SRS-013 recorded-duration format at the unit tier (Class-B UT-to-SRS asymmetry); the widget-render integration is covered by IT-008 and the running-application presentation by ST-009.