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
02dc937c
authored
Jan 18, 2019
by
tonihei
Committed by
Oliver Woodman
Jan 21, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix flaky DownloadIndexUtilTest.
PiperOrigin-RevId: 229934901
parent
57ed0087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
library/core/src/test/java/com/google/android/exoplayer2/offline/DownloadIndexUtilTest.java
library/core/src/test/java/com/google/android/exoplayer2/offline/DownloadIndexUtilTest.java
View file @
02dc937c
...
...
@@ -97,7 +97,7 @@ public class DownloadIndexUtilTest {
assertThat
(
downloadState
.
cacheKey
).
isEqualTo
(
action2
.
customCacheKey
);
assertThat
(
downloadState
.
customMetadata
).
isEqualTo
(
action2
.
data
);
assertThat
(
downloadState
.
uri
).
isEqualTo
(
action2
.
uri
);
assertThat
(
downloadState
.
streamKeys
).
isEqualTo
(
new
StreamKey
[]
{
streamKey2
,
streamKey1
}
);
assertThat
(
Arrays
.
asList
(
downloadState
.
streamKeys
)).
containsExactly
(
streamKey1
,
streamKey2
);
assertThat
(
downloadState
.
state
).
isEqualTo
(
DownloadState
.
STATE_QUEUED
);
}
...
...
@@ -142,7 +142,7 @@ public class DownloadIndexUtilTest {
assertThat
(
downloadState
.
cacheKey
).
isEqualTo
(
action
.
customCacheKey
);
assertThat
(
downloadState
.
customMetadata
).
isEqualTo
(
action
.
data
);
assertThat
(
downloadState
.
uri
).
isEqualTo
(
action
.
uri
);
assertThat
(
downloadState
.
streamKeys
).
isEqualTo
(
action
.
keys
.
toArray
(
new
StreamKey
[
0
])
);
assertThat
(
Arrays
.
asList
(
downloadState
.
streamKeys
)).
containsExactlyElementsIn
(
action
.
keys
);
assertThat
(
downloadState
.
state
).
isEqualTo
(
state
);
}
...
...
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