|
|
|
@ -148,8 +148,8 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Check, DownloadItemStatus.Downloading)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Queued, DownloadItemStatus.Queued)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Downloading, DownloadItemStatus.Downloading)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.SeedingWait, DownloadItemStatus.Completed)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Seeding, DownloadItemStatus.Completed)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.SeedingWait, DownloadItemStatus.Downloading)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Seeding, DownloadItemStatus.Downloading)]
|
|
|
|
|
public void GetItems_should_return_queued_item_as_downloadItemStatus(TransmissionTorrentStatus apiStatus, DownloadItemStatus expectedItemStatus)
|
|
|
|
|
{
|
|
|
|
|
_queued.Status = apiStatus;
|
|
|
|
@ -163,7 +163,7 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.TransmissionTests
|
|
|
|
|
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Queued, DownloadItemStatus.Queued)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Downloading, DownloadItemStatus.Downloading)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Seeding, DownloadItemStatus.Completed)]
|
|
|
|
|
[TestCase(TransmissionTorrentStatus.Seeding, DownloadItemStatus.Downloading)]
|
|
|
|
|
public void GetItems_should_return_downloading_item_as_downloadItemStatus(TransmissionTorrentStatus apiStatus, DownloadItemStatus expectedItemStatus)
|
|
|
|
|
{
|
|
|
|
|
_downloading.Status = apiStatus;
|
|
|
|
|