Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6473d46c
authored
Apr 19, 2019
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix tests
parent
b4b82f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/dash/src/test/java/com/google/android/exoplayer2/source/dash/offline/DownloadManagerDashTest.java
library/dash/src/test/java/com/google/android/exoplayer2/source/dash/offline/DownloadManagerDashTest.java
View file @
6473d46c
...
@@ -32,6 +32,7 @@ import com.google.android.exoplayer2.offline.DownloadManager;
...
@@ -32,6 +32,7 @@ import com.google.android.exoplayer2.offline.DownloadManager;
import
com.google.android.exoplayer2.offline.DownloadRequest
;
import
com.google.android.exoplayer2.offline.DownloadRequest
;
import
com.google.android.exoplayer2.offline.DownloaderConstructorHelper
;
import
com.google.android.exoplayer2.offline.DownloaderConstructorHelper
;
import
com.google.android.exoplayer2.offline.StreamKey
;
import
com.google.android.exoplayer2.offline.StreamKey
;
import
com.google.android.exoplayer2.scheduler.Requirements
;
import
com.google.android.exoplayer2.testutil.DummyMainThread
;
import
com.google.android.exoplayer2.testutil.DummyMainThread
;
import
com.google.android.exoplayer2.testutil.DummyMainThread.TestRunnable
;
import
com.google.android.exoplayer2.testutil.DummyMainThread.TestRunnable
;
import
com.google.android.exoplayer2.testutil.FakeDataSet
;
import
com.google.android.exoplayer2.testutil.FakeDataSet
;
...
@@ -192,7 +193,6 @@ public class DownloadManagerDashTest {
...
@@ -192,7 +193,6 @@ public class DownloadManagerDashTest {
}
}
// Disabled due to flakiness.
// Disabled due to flakiness.
@Ignore
@Test
@Test
public
void
testHandleRemoveActionBeforeDownloadFinish
()
throws
Throwable
{
public
void
testHandleRemoveActionBeforeDownloadFinish
()
throws
Throwable
{
handleDownloadRequest
(
fakeStreamKey1
);
handleDownloadRequest
(
fakeStreamKey1
);
...
@@ -204,7 +204,6 @@ public class DownloadManagerDashTest {
...
@@ -204,7 +204,6 @@ public class DownloadManagerDashTest {
}
}
// Disabled due to flakiness [Internal: b/122290449].
// Disabled due to flakiness [Internal: b/122290449].
@Ignore
@Test
@Test
public
void
testHandleInterferingRemoveAction
()
throws
Throwable
{
public
void
testHandleInterferingRemoveAction
()
throws
Throwable
{
final
ConditionVariable
downloadInProgressCondition
=
new
ConditionVariable
();
final
ConditionVariable
downloadInProgressCondition
=
new
ConditionVariable
();
...
@@ -260,6 +259,7 @@ public class DownloadManagerDashTest {
...
@@ -260,6 +259,7 @@ public class DownloadManagerDashTest {
downloadIndex
,
downloadIndex
,
new
DefaultDownloaderFactory
(
new
DefaultDownloaderFactory
(
new
DownloaderConstructorHelper
(
cache
,
fakeDataSourceFactory
)));
new
DownloaderConstructorHelper
(
cache
,
fakeDataSourceFactory
)));
downloadManager
.
setRequirements
(
new
Requirements
(
0
));
downloadManagerListener
=
downloadManagerListener
=
new
TestDownloadManagerListener
(
new
TestDownloadManagerListener
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment