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.prodtests; 17 18 import com.android.build.tests.ImageStatsTest; 19 import com.android.continuous.SmokeTestTest; 20 import com.android.monkey.MonkeyBaseTest; 21 import com.android.regression.tests.DetectRegressionTest; 22 import com.android.regression.tests.MetricsTest; 23 import com.android.regression.tests.MetricsXmlParserTest; 24 import com.android.scenario.AppSetupTest; 25 26 import org.junit.runner.RunWith; 27 import org.junit.runners.Suite; 28 import org.junit.runners.Suite.SuiteClasses; 29 30 /** 31 * A test suite for all Trade Federation unit tests running under Junit4. 32 * 33 * <p>All tests listed here should be self-contained, and should not require any external 34 * dependencies. 35 */ 36 @RunWith(Suite.class) 37 @SuiteClasses({ 38 // build.tests 39 ImageStatsTest.class, 40 41 // continuous 42 SmokeTestTest.class, 43 44 // monkey 45 MonkeyBaseTest.class, 46 47 // regression 48 DetectRegressionTest.class, 49 MetricsTest.class, 50 MetricsXmlParserTest.class, 51 52 // scenario 53 AppSetupTest.class, 54 }) 55 public class UnitTests { 56 // empty of purpose 57 } 58