Igor Murashkin 292a9347f7 startop: Add iorapd binder integration test
Connects to the binder 'iorapd' service as a client
and tests round-trip callback functionality.

Also adds mockito-inline to the test build, allowing us to mock
any class/methods, even if it's static or final.

Note: selinux is currently not supported, need to use
 $> adb shell setenforce 0

Prior to running any tests relying on binder connectivity.

Bug: 72170747
Test: atest libiorap-java-tests
Change-Id: Id5ba579845105e331d764838c357924810a64c6c
2018-10-02 17:51:38 -07:00

38 lines
1.6 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 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.
-->
<!--suppress AndroidUnknownAttribute -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.google.android.startop.iorap.tests"
android:sharedUserId="com.google.android.startop.iorap.tests"
android:versionCode="1"
android:versionName="1.0" >
<!--suppress AndroidDomInspection -->
<instrumentation
android:name="android.support.test.runner.AndroidJUnitRunner"
android:targetPackage="com.google.android.startop.iorap.tests" />
<!--
'debuggable=true' is required to properly load mockito jvmti dependencies,
otherwise it gives the following error at runtime:
Openjdkjvmti plugin was loaded on a non-debuggable Runtime.
Plugin was loaded too late to change runtime state to DEBUGGABLE. -->
<application android:debuggable="true">
<uses-library android:name="android.test.runner" />
</application>
</manifest>