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
6927239a
authored
Jul 15, 2020
by
kimvde
Committed by
Oliver Woodman
Jul 24, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove some occurrences of gendered pronouns
ISSUE: #7565 PiperOrigin-RevId: 321367089
parent
f55526f7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
library/core/src/test/java/com/google/android/exoplayer2/text/ttml/TtmlDecoderTest.java
testdata/src/test/assets/ttml/multiple_regions.xml
library/core/src/test/java/com/google/android/exoplayer2/text/ttml/TtmlDecoderTest.java
View file @
6927239a
...
@@ -304,16 +304,16 @@ public final class TtmlDecoderTest {
...
@@ -304,16 +304,16 @@ public final class TtmlDecoderTest {
// assertEquals(1f, cue.size);
// assertEquals(1f, cue.size);
cue
=
getOnlyCueAtTimeUs
(
subtitle
,
21_000_000
);
cue
=
getOnlyCueAtTimeUs
(
subtitle
,
21_000_000
);
assertThat
(
cue
.
text
.
toString
()).
isEqualTo
(
"
She
first said this"
);
assertThat
(
cue
.
text
.
toString
()).
isEqualTo
(
"
They
first said this"
);
assertThat
(
cue
.
position
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
position
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
line
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
line
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
size
).
isEqualTo
(
35
f
/
100
f
);
assertThat
(
cue
.
size
).
isEqualTo
(
35
f
/
100
f
);
cue
=
getOnlyCueAtTimeUs
(
subtitle
,
25_000_000
);
cue
=
getOnlyCueAtTimeUs
(
subtitle
,
25_000_000
);
assertThat
(
cue
.
text
.
toString
()).
isEqualTo
(
"
She
first said this\nThen this"
);
assertThat
(
cue
.
text
.
toString
()).
isEqualTo
(
"
They
first said this\nThen this"
);
cue
=
getOnlyCueAtTimeUs
(
subtitle
,
29_000_000
);
cue
=
getOnlyCueAtTimeUs
(
subtitle
,
29_000_000
);
assertThat
(
cue
.
text
.
toString
()).
isEqualTo
(
"
She
first said this\nThen this\nFinally this"
);
assertThat
(
cue
.
text
.
toString
()).
isEqualTo
(
"
They
first said this\nThen this\nFinally this"
);
assertThat
(
cue
.
position
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
position
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
line
).
isEqualTo
(
45
f
/
100
f
);
assertThat
(
cue
.
line
).
isEqualTo
(
45
f
/
100
f
);
}
}
...
...
testdata/src/test/assets/ttml/multiple_regions.xml
View file @
6927239a
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<p
begin=
"1s"
end=
"4s"
region=
"region4"
>
amet
</p>
<p
begin=
"1s"
end=
"4s"
region=
"region4"
>
amet
</p>
</div>
</div>
<div
region=
"ultimate"
>
<div
region=
"ultimate"
>
<p
begin=
"21s"
end=
"34s"
>
She
first said this
</p>
<p
begin=
"21s"
end=
"34s"
>
They
first said this
</p>
<p
begin=
"25s"
end=
"34s"
>
Then this
</p>
<p
begin=
"25s"
end=
"34s"
>
Then this
</p>
<p
begin=
"29s"
end=
"34s"
>
Finally this
</p>
<p
begin=
"29s"
end=
"34s"
>
Finally this
</p>
</div>
</div>
...
...
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