1 /*
2  * Copyright (C) 2010 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.build.FileDownloadCacheFuncTest;
19 import com.android.tradefed.command.CommandSchedulerFuncTest;
20 import com.android.tradefed.command.remote.RemoteManagerFuncTest;
21 import com.android.tradefed.device.TestDeviceFuncTest;
22 import com.android.tradefed.device.metric.DeviceMetricDataFuncTest;
23 import com.android.tradefed.proto.PlatformProtosFuncTest;
24 import com.android.tradefed.targetprep.AppSetupFuncTest;
25 import com.android.tradefed.targetprep.DeviceSetupFuncTest;
26 import com.android.tradefed.testtype.DeviceSuite;
27 import com.android.tradefed.testtype.InstrumentationTestFuncTest;
28 import com.android.tradefed.util.FileUtilFuncTest;
29 import com.android.tradefed.util.GCSBucketUtilFuncTest;
30 import com.android.tradefed.util.GCSFileDownloaderFuncTest;
31 import com.android.tradefed.util.RunUtilFuncTest;
32 import com.android.tradefed.util.net.HttpHelperFuncTest;
33 
34 import org.junit.runner.RunWith;
35 import org.junit.runners.Suite.SuiteClasses;
36 
37 /**
38  * A test suite for all Trade Federation functional tests.
39  *
40  * <p>This suite requires a device.
41  */
42 @RunWith(DeviceSuite.class)
43 @SuiteClasses({
44     // build
45     FileDownloadCacheFuncTest.class,
46     // command
47     CommandSchedulerFuncTest.class,
48     // command.remote
49     RemoteManagerFuncTest.class,
50     // device
51     TestDeviceFuncTest.class,
52     // device.metric
53     DeviceMetricDataFuncTest.class,
54     // proto
55     PlatformProtosFuncTest.class,
56     // targetprep
57     AppSetupFuncTest.class,
58     DeviceSetupFuncTest.class,
59     // testtype
60     InstrumentationTestFuncTest.class,
61     // util
62     FileUtilFuncTest.class,
63     GCSFileDownloaderFuncTest.class,
64     GCSBucketUtilFuncTest.class,
65     // TODO: temporarily remove from suite until we figure out how to install gtest data
66     //this.addTestSuite(GTestFuncTest.class);
67     HttpHelperFuncTest.class,
68     RunUtilFuncTest.class,
69 })
70 public class FuncTests {}
71