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
4d843da6
authored
Feb 10, 2019
by
Oliver Woodman
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove failing test on 2.9.5
parent
c38cd1cc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
23 deletions
library/core/src/test/java/com/google/android/exoplayer2/source/ConcatenatingMediaSourceTest.java
library/core/src/test/java/com/google/android/exoplayer2/source/ConcatenatingMediaSourceTest.java
View file @
4d843da6
...
...
@@ -590,29 +590,6 @@ public final class ConcatenatingMediaSourceTest {
}
@Test
public
void
testCustomCallbackIsCalledAfterRelease
()
throws
IOException
{
DummyMainThread
dummyMainThread
=
new
DummyMainThread
();
ConditionVariable
callbackCalledCondition
=
new
ConditionVariable
();
try
{
dummyMainThread
.
runOnMainThread
(
()
->
{
SourceInfoRefreshListener
listener
=
mock
(
SourceInfoRefreshListener
.
class
);
mediaSource
.
addMediaSources
(
Arrays
.
asList
(
createMediaSources
(
2
)));
mediaSource
.
prepareSource
(
listener
,
/* mediaTransferListener= */
null
);
mediaSource
.
moveMediaSource
(
/* currentIndex= */
0
,
/* newIndex= */
1
,
new
Handler
(),
callbackCalledCondition:
:
open
);
mediaSource
.
releaseSource
(
listener
);
});
assertThat
(
callbackCalledCondition
.
block
(
MediaSourceTestRunner
.
TIMEOUT_MS
)).
isTrue
();
}
finally
{
dummyMainThread
.
release
();
}
}
@Test
public
void
testPeriodCreationWithAds
()
throws
IOException
,
InterruptedException
{
// Create concatenated media source with ad child source.
Timeline
timelineContentOnly
=
...
...
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