| /* |
| * Copyright (C) 2010 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| package com.android.cts.tradefed; |
| |
| import com.android.cts.tradefed.result.CtsXmlResultReporterTest; |
| import com.android.cts.tradefed.result.DeviceInfoResultTest; |
| import com.android.cts.tradefed.result.TestPackageResultTest; |
| import com.android.cts.tradefed.result.TestResultsTest; |
| import com.android.cts.tradefed.result.TestSummaryXmlTest; |
| import com.android.cts.tradefed.result.TestTest; |
| import com.android.cts.tradefed.result.TestLogTest; |
| import com.android.cts.tradefed.testtype.Abi; |
| import com.android.cts.tradefed.testtype.CtsTestTest; |
| import com.android.cts.tradefed.testtype.DeqpTestRunnerTest; |
| import com.android.cts.tradefed.testtype.JarHostTestTest; |
| import com.android.cts.tradefed.testtype.TestFilterTest; |
| import com.android.cts.tradefed.testtype.TestPackageDefTest; |
| import com.android.cts.tradefed.testtype.TestPackageXmlParserTest; |
| import com.android.cts.tradefed.testtype.TestPlanTest; |
| import com.android.cts.tradefed.testtype.WrappedGTestResultParserTest; |
| import com.android.tradefed.testtype.IAbi; |
| |
| import junit.framework.Test; |
| import junit.framework.TestSuite; |
| |
| /** |
| * A test suite for all cts-tradefed unit tests. |
| * <p/> |
| * All tests listed here should be self-contained, and do not require any external dependencies |
| * (such as a full CTS build with XML etc). |
| */ |
| public class UnitTests extends TestSuite { |
| |
| public static final IAbi ABI = new Abi("armeabi-v7a", "32"); |
| |
| public UnitTests() { |
| super(); |
| |
| // result package |
| addTestSuite(CtsXmlResultReporterTest.class); |
| addTestSuite(DeviceInfoResultTest.class); |
| addTestSuite(TestPackageResultTest.class); |
| addTestSuite(TestResultsTest.class); |
| addTestSuite(TestSummaryXmlTest.class); |
| addTestSuite(TestTest.class); |
| addTestSuite(TestLogTest.class); |
| |
| // testtype package |
| addTestSuite(CtsTestTest.class); |
| addTestSuite(JarHostTestTest.class); |
| addTestSuite(TestFilterTest.class); |
| addTestSuite(TestPackageDefTest.class); |
| addTestSuite(TestPackageXmlParserTest.class); |
| addTestSuite(TestPlanTest.class); |
| addTestSuite(WrappedGTestResultParserTest.class); |
| addTestSuite(DeqpTestRunnerTest.class); |
| } |
| |
| public static Test suite() { |
| return new UnitTests(); |
| } |
| } |