Files
frameworks_base/media/packages/BluetoothMidiService/tests/unit/Android.bp
Phil Burk 6c0aff044d BluetoothMidi test: test encoder and decoder
Also test MidiFramer
Add end-to-end test through encoder and decoder.
Add test for reserved bit in header.

Bug: 35669198
Bug: 140638458
Bug: 149927520
Test: atest BluetoothMidiTests
Change-Id: I767deab6847d2b45e01bed29f5eed3df0f0e46c0
Merged-In: I767deab6847d2b45e01bed29f5eed3df0f0e46c0
2020-04-04 00:43:20 +00:00

39 lines
1.2 KiB
Plaintext

//
// Copyright (C) 2019 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.
//
android_test {
name: "BluetoothMidiTests",
srcs: ["src/**/*.java"],
certificate: "platform",
static_libs: [
//"frameworks-base-testutils",
"android-support-test",
"androidx.test.core",
"androidx.test.ext.truth",
"androidx.test.runner",
"androidx.test.rules",
"platform-test-annotations",
"BluetoothMidiLib",
],
test_suites: ["device-tests"],
libs: [
"framework-res",
"android.test.runner",
"android.test.base",
"android.test.mock",
],
}