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
bcbb7d23
authored
Feb 07, 2020
by
kimvde
Committed by
kim-vde
Feb 11, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Move assets from opus to testdata module
PiperOrigin-RevId: 293780365
parent
e4eb55a2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
extensions/opus/build.gradle
extensions/opus/src/androidTest/java/com/google/android/exoplayer2/ext/opus/OpusPlaybackTest.java
extensions/opus/src/androidTest/assets/bear-opus.webm → testdata/src/test/assets/ogg/bear-opus.webm
extensions/opus/build.gradle
View file @
bcbb7d23
...
...
@@ -29,9 +29,12 @@ android {
testInstrumentationRunner
'androidx.test.runner.AndroidJUnitRunner'
}
sourceSets
.
main
{
jniLibs
.
srcDir
'src/main/libs'
jni
.
srcDirs
=
[]
// Disable the automatic ndk-build call by Android Studio.
sourceSets
{
main
{
jniLibs
.
srcDir
'src/main/libs'
jni
.
srcDirs
=
[]
// Disable the automatic ndk-build call by Android Studio.
}
androidTest
.
assets
.
srcDir
'../../testdata/src/test/assets/'
}
testOptions
.
unitTests
.
includeAndroidResources
=
true
...
...
extensions/opus/src/androidTest/java/com/google/android/exoplayer2/ext/opus/OpusPlaybackTest.java
View file @
bcbb7d23
...
...
@@ -38,7 +38,7 @@ import org.junit.runner.RunWith;
@RunWith
(
AndroidJUnit4
.
class
)
public
class
OpusPlaybackTest
{
private
static
final
String
BEAR_OPUS_URI
=
"asset:///bear-opus.webm"
;
private
static
final
String
BEAR_OPUS_URI
=
"asset:///
ogg/
bear-opus.webm"
;
@Before
public
void
setUp
()
{
...
...
extensions/opus/src/androidTest/assets
/bear-opus.webm
→
testdata/src/test/assets/ogg
/bear-opus.webm
View file @
bcbb7d23
No preview for this file type
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