Commit ebd37cfb by eguven Committed by Oliver Woodman

Moved testutils package to a seperate module so it can be accessed by the tests in other modules.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=123964784
parent 105ef1da
......@@ -40,6 +40,12 @@ android {
lintOptions {
abortOnError false
}
sourceSets {
androidTest {
java.srcDirs += "../testutils/src/main/java/"
}
}
}
dependencies {
......
......@@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
include ':library'
include ':testutils'
include ':demo'
include ':extension-opus'
include ':extension-vp9'
......
apply plugin: 'com.android.library'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
minSdkVersion 9
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile project(':library')
compile 'org.mockito:mockito-core:1.9.5'
}
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.exoplayer.testutils">
<!--
Important: ExoPlayerLib specifies a minSdkVersion of 9 because various components provided by
the library may be of use on older devices. However, please note that the core video playback
functionality provided by the library requires API level 16 or greater.
-->
<uses-sdk android:minSdkVersion="9" android:targetSdkVersion="23"/>
</manifest>
......@@ -19,7 +19,6 @@ import com.google.android.exoplayer.C;
import com.google.android.exoplayer.extractor.ExtractorInput;
import android.util.SparseBooleanArray;
import junit.framework.Assert;
import java.io.EOFException;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment