feat(handler): History tab support

This commit is contained in:
2024-12-02 18:03:59 -07:00
parent 1c6e798632
commit 4f5bad5874
13 changed files with 1805 additions and 23 deletions
@@ -145,4 +145,24 @@ mod tests {
active_sonarr_block
);
}
#[rstest]
fn test_delegates_history_blocks_to_history_handler(
#[values(
ActiveSonarrBlock::History,
ActiveSonarrBlock::HistoryItemDetails,
ActiveSonarrBlock::HistorySortPrompt,
ActiveSonarrBlock::FilterHistory,
ActiveSonarrBlock::FilterHistoryError,
ActiveSonarrBlock::SearchHistory,
ActiveSonarrBlock::SearchHistoryError
)]
active_sonarr_block: ActiveSonarrBlock,
) {
test_handler_delegation!(
SonarrHandler,
ActiveSonarrBlock::History,
active_sonarr_block
);
}
}