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
3f84c869
authored
Feb 16, 2023
by
kimvde
Committed by
christosts
Feb 17, 2023
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Rename TransformationTest to ExportTest
PiperOrigin-RevId: 510087543
parent
5fee7df6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
20 deletions
library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/mh/TransformationTest.java → library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/mh/ExportTest.java
library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/mh/
Transformation
Test.java
→
library/transformer/src/androidTest/java/com/google/android/exoplayer2/transformer/mh/
Export
Test.java
View file @
3f84c869
...
...
@@ -46,13 +46,13 @@ import org.junit.runner.RunWith;
/** {@link Transformer} instrumentation tests. */
@RunWith
(
AndroidJUnit4
.
class
)
public
class
Transformation
Test
{
public
class
Export
Test
{
private
static
final
String
TAG
=
"
Transformation
Test"
;
private
static
final
String
TAG
=
"
Export
Test"
;
@Test
public
void
transform
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
"
;
public
void
export
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
Transformer
transformer
=
new
Transformer
.
Builder
(
context
)
...
...
@@ -67,8 +67,8 @@ public class TransformationTest {
}
@Test
public
void
transform
WithoutDecodeEncode
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
WithoutDecodeEncode"
;
public
void
export
WithoutDecodeEncode
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
WithoutDecodeEncode"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
Transformer
transformer
=
new
Transformer
.
Builder
(
context
).
build
();
MediaItem
mediaItem
=
...
...
@@ -78,8 +78,8 @@ public class TransformationTest {
}
@Test
public
void
transform
ToSpecificBitrate
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
ToSpecificBitrate"
;
public
void
export
ToSpecificBitrate
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
ToSpecificBitrate"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
Transformer
transformer
=
new
Transformer
.
Builder
(
context
)
...
...
@@ -101,8 +101,8 @@ public class TransformationTest {
}
@Test
public
void
transform
4K60
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
4K60"
;
public
void
export
4K60
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
4K60"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
if
(
AndroidTestUtil
.
skipAndLogIfFormatsUnsupported
(
...
...
@@ -126,8 +126,8 @@ public class TransformationTest {
}
@Test
public
void
transform
8K24
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
8K24"
;
public
void
export
8K24
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
8K24"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
if
(
AndroidTestUtil
.
skipAndLogIfFormatsUnsupported
(
...
...
@@ -147,8 +147,8 @@ public class TransformationTest {
}
@Test
public
void
transform
NoAudio
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
NoAudio"
;
public
void
export
NoAudio
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
NoAudio"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
Transformer
transformer
=
new
Transformer
.
Builder
(
context
)
...
...
@@ -165,8 +165,8 @@ public class TransformationTest {
}
@Test
public
void
transform
NoVideo
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
NoVideo"
;
public
void
export
NoVideo
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
NoVideo"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
Transformer
transformer
=
new
Transformer
.
Builder
(
context
)
...
...
@@ -182,8 +182,8 @@ public class TransformationTest {
}
@Test
public
void
transform
Sef
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
Sef"
;
public
void
export
Sef
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
Sef"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
if
(
Util
.
SDK_INT
<
25
)
{
...
...
@@ -203,8 +203,8 @@ public class TransformationTest {
}
@Test
public
void
transform
FrameRotation
()
throws
Exception
{
String
testId
=
TAG
+
"_
transform
FrameRotation"
;
public
void
export
FrameRotation
()
throws
Exception
{
String
testId
=
TAG
+
"_
export
FrameRotation"
;
Context
context
=
ApplicationProvider
.
getApplicationContext
();
Transformer
transformer
=
new
Transformer
.
Builder
(
context
).
build
();
...
...
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