many changes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// Autoplay decision logic
|
||||
// TRACES: UR-023, UR-026 | DR-047, DR-048, DR-029
|
||||
use serde::{Deserialize, Serialize};
|
||||
use crate::repository::types::MediaItem;
|
||||
|
||||
|
||||
@@ -232,14 +232,13 @@ impl PlayerBackend for NullBackend {
|
||||
}
|
||||
}
|
||||
|
||||
// TRACES: UR-003, UR-004 | DR-004 | UT-026, UT-027, UT-028, UT-029, UT-030, UT-031, UT-032, UT-033
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
/// Test NullBackend volume default value
|
||||
///
|
||||
/// @req-test: UT-026 - NullBackend volume default value
|
||||
/// @req-test: DR-004 - PlayerBackend trait
|
||||
/// TRACES: UR-016 | DR-004 | UT-026
|
||||
#[test]
|
||||
fn test_null_backend_volume_default() {
|
||||
let backend = NullBackend::new();
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
// Player module - Complete playback control system
|
||||
// TRACES: UR-003, UR-004, UR-005, UR-019, UR-023, UR-026 |
|
||||
// IR-003, IR-004, IR-006, IR-008 |
|
||||
// DR-001, DR-004, DR-005, DR-009, DR-028, DR-029, DR-047
|
||||
pub mod autoplay;
|
||||
pub mod backend;
|
||||
pub mod events;
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
/// - Tokio runtime panics when spawning async tasks from std::thread
|
||||
/// - Position update thread failures
|
||||
/// - Event emission issues
|
||||
///
|
||||
/// TRACES: UR-003, UR-004 | IR-003 | IT-003, IT-004
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
@@ -505,6 +505,7 @@ pub enum AddPosition {
|
||||
End,
|
||||
}
|
||||
|
||||
// TRACES: UR-005, UR-015 | DR-005 | UT-003, UT-004, UT-005
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
@@ -78,6 +78,7 @@ impl SleepTimerState {
|
||||
}
|
||||
}
|
||||
|
||||
// TRACES: UR-026 | DR-029 | UT-012
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user