Home | History | Annotate | Download | only in tradefed
      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.targetprep.AppSetupFuncTest;
     23 import com.android.tradefed.targetprep.DeviceSetupFuncTest;
     24 import com.android.tradefed.testtype.DeviceSuite;
     25 import com.android.tradefed.testtype.InstrumentationTestFuncTest;
     26 import com.android.tradefed.util.FileUtilFuncTest;
     27 import com.android.tradefed.util.RunUtilFuncTest;
     28 import com.android.tradefed.util.net.HttpHelperFuncTest;
     29 
     30 import org.junit.runner.RunWith;
     31 import org.junit.runners.Suite.SuiteClasses;
     32 
     33 /**
     34  * A test suite for all Trade Federation functional tests.
     35  *
     36  * <p>This suite requires a device.
     37  */
     38 @RunWith(DeviceSuite.class)
     39 @SuiteClasses({
     40     // build
     41     FileDownloadCacheFuncTest.class,
     42     // command
     43     CommandSchedulerFuncTest.class,
     44     // command.remote
     45     RemoteManagerFuncTest.class,
     46     // device
     47     TestDeviceFuncTest.class,
     48     // targetprep
     49     AppSetupFuncTest.class,
     50     DeviceSetupFuncTest.class,
     51     // testtype
     52     InstrumentationTestFuncTest.class,
     53     // util
     54     FileUtilFuncTest.class,
     55     // TODO: temporarily remove from suite until we figure out how to install gtest data
     56     //this.addTestSuite(GTestFuncTest.class);
     57     HttpHelperFuncTest.class,
     58     RunUtilFuncTest.class,
     59 })
     60 public class FuncTests {}
     61