From 6e019f72de951acb21cec433a4da6cb64a103082 Mon Sep 17 00:00:00 2001 From: orionlee Date: Tue, 5 Nov 2019 10:14:07 -0800 Subject: code style / comment tweak per review --- .../core/storage/ItemEnqueuePositionCalculatorTest.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'core/src/test/java/de') diff --git a/core/src/test/java/de/danoeh/antennapod/core/storage/ItemEnqueuePositionCalculatorTest.java b/core/src/test/java/de/danoeh/antennapod/core/storage/ItemEnqueuePositionCalculatorTest.java index 68eb434a4..40ffd26b4 100644 --- a/core/src/test/java/de/danoeh/antennapod/core/storage/ItemEnqueuePositionCalculatorTest.java +++ b/core/src/test/java/de/danoeh/antennapod/core/storage/ItemEnqueuePositionCalculatorTest.java @@ -189,17 +189,13 @@ public class ItemEnqueuePositionCalculatorTest { // A shallow copy, as the test code will manipulate the queue List queue = new ArrayList<>(queueInitial); - // Test body - Playable currentlyPlaying = getCurrentlyPlaying(idCurrentlyPlaying); - // User clicks download on feed item 101 FeedItem tFI101 = setAsDownloading(101, stubDownloadStateProvider); doAddToQueueAndAssertResult(message + " (1st download)", calculator, tFI101, queue, currentlyPlaying, idsExpectedAfter101); - // Then user clicks download on feed item 102 FeedItem tFI102 = setAsDownloading(102, stubDownloadStateProvider); doAddToQueueAndAssertResult(message + " (2nd download, it should preserve order of download)", @@ -225,10 +221,6 @@ public class ItemEnqueuePositionCalculatorTest { } - // Common helpers: - // - common queue (of items) for tests - // - construct FeedItems for tests - static void doAddToQueueAndAssertResult(String message, ItemEnqueuePositionCalculator calculator, FeedItem itemToAdd, -- cgit v1.2.3