1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2017 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<configuration description="Multi device Hello World Example">
17    <!-- Some option for the whole configuration-->
18    <option name="test-tag" value="multi-device-hello-world" />
19
20    <!-- Each device configuration -->
21    <device name="device1">
22        <target_preparer class="com.android.tradefed.targetprep.DeviceSetup">
23            <option name="disable" value="true" />
24        </target_preparer>
25    </device>
26
27    <!-- A device tag can be completely empty if it doesn't require any setup -->
28    <device name="device2" />
29
30    <!-- preparer that affects all the devices, called after the individual target_preparer -->
31    <!-- Not required: If you have none, you can remove all the 'multi_target_preparer' -->
32    <multi_target_preparer class="com.android.tradefed.targetprep.multi.StubMultiTargetPreparer" />
33    <multi_target_preparer class="com.android.tradefed.targetprep.multi.HelloWorldMultiTargetPreparer" />
34
35    <!-- logger in verbose for the example -->
36    <logger class="com.android.tradefed.log.FileLogger">
37        <option name="log-level" value="VERBOSE" />
38        <option name="log-level-display" value="VERBOSE" />
39    </logger>
40
41    <!-- tests that will be ran -->
42    <test class="com.android.tradefed.HelloWorldMultiDevices" />
43
44    <!-- result reporters -->
45    <result_reporter class="com.android.tradefed.result.ConsoleResultReporter" />
46
47</configuration>
48
49