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
8d450a9f
authored
Apr 28, 2020
by
olly
Committed by
Oliver Woodman
May 01, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix assertThat actual/expected order
PiperOrigin-RevId: 308844678
parent
2d494861
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
testutils/src/main/java/com/google/android/exoplayer2/testutil/TestUtil.java
testutils/src/main/java/com/google/android/exoplayer2/testutil/TestUtil.java
View file @
8d450a9f
...
@@ -271,10 +271,10 @@ public class TestUtil {
...
@@ -271,10 +271,10 @@ public class TestUtil {
/** Returns whether two {@link android.media.MediaCodec.BufferInfo BufferInfos} are equal. */
/** Returns whether two {@link android.media.MediaCodec.BufferInfo BufferInfos} are equal. */
public
static
void
assertBufferInfosEqual
(
public
static
void
assertBufferInfosEqual
(
MediaCodec
.
BufferInfo
expected
,
MediaCodec
.
BufferInfo
actual
)
{
MediaCodec
.
BufferInfo
expected
,
MediaCodec
.
BufferInfo
actual
)
{
assertThat
(
expected
.
flags
).
isEqualTo
(
actual
.
flags
);
assertThat
(
actual
.
flags
).
isEqualTo
(
expected
.
flags
);
assertThat
(
expected
.
offset
).
isEqualTo
(
actual
.
offset
);
assertThat
(
actual
.
offset
).
isEqualTo
(
expected
.
offset
);
assertThat
(
expected
.
presentationTimeUs
).
isEqualTo
(
actual
.
presentationTimeUs
);
assertThat
(
actual
.
presentationTimeUs
).
isEqualTo
(
expected
.
presentationTimeUs
);
assertThat
(
expected
.
size
).
isEqualTo
(
actual
.
size
);
assertThat
(
actual
.
size
).
isEqualTo
(
expected
.
size
);
}
}
/**
/**
...
...
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