1 /*
2  * Copyright (C) 2018 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 package com.android.tradefed;
17 
18 import com.android.tradefed.device.MicrodroidFuncTest;
19 import com.android.tradefed.device.TestDeviceFileFuncTest;
20 import com.android.tradefed.device.TestDeviceFuncTest;
21 import com.android.tradefed.device.TestDevicePackageFuncTest;
22 import com.android.tradefed.device.TestDeviceUserFuncTest;
23 import com.android.tradefed.util.PerfettoTraceRecorderFuncTest;
24 import com.android.tradefed.suite.checker.ActivityStatusCheckerFuncTest;
25 import com.android.tradefed.targetprep.AppSetupFuncTest;
26 import com.android.tradefed.targetprep.DeviceSetupFuncTest;
27 import com.android.tradefed.targetprep.UserCleanerFuncTest;
28 import com.android.tradefed.testtype.DeviceSuite;
29 import com.android.tradefed.testtype.InstrumentationTestFuncTest;
30 
31 import org.junit.runner.RunWith;
32 import org.junit.runners.Suite.SuiteClasses;
33 
34 /** A test suite for all Trade Federation functional tests that requires a device. */
35 @RunWith(DeviceSuite.class)
36 @SuiteClasses({
37     // device
38     TestDeviceFuncTest.class,
39     MicrodroidFuncTest.class,
40     // device tests by function type
41     TestDeviceFileFuncTest.class,
42     TestDevicePackageFuncTest.class,
43     TestDeviceUserFuncTest.class,
44     // suite.checker
45     ActivityStatusCheckerFuncTest.class,
46     // targetprep
47     AppSetupFuncTest.class,
48     DeviceSetupFuncTest.class,
49     UserCleanerFuncTest.class,
50     // testtype
51     InstrumentationTestFuncTest.class,
52     // collector
53     PerfettoTraceRecorderFuncTest.class,
54 })
55 public class DeviceFuncTests {}
56