| /* |
| * Copyright (C) 2015 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.compatibility.common.tradefed; |
| |
| import com.android.compatibility.common.tradefed.build.CompatibilityBuildHelperTest; |
| import com.android.compatibility.common.tradefed.build.CompatibilityBuildProviderTest; |
| import com.android.compatibility.common.tradefed.command.CompatibilityConsoleTest; |
| import com.android.compatibility.common.tradefed.config.ConfigurationFactoryTest; |
| import com.android.compatibility.common.tradefed.result.ConsoleReporterTest; |
| import com.android.compatibility.common.tradefed.result.MetadataReporterTest; |
| import com.android.compatibility.common.tradefed.result.SubPlanHelperTest; |
| import com.android.compatibility.common.tradefed.result.suite.CertificationChecksumHelperTest; |
| import com.android.compatibility.common.tradefed.result.suite.CertificationSuiteResultReporterTest; |
| import com.android.compatibility.common.tradefed.result.suite.PreviousResultLoaderTest; |
| import com.android.compatibility.common.tradefed.result.suite.PreviousSessionFileCopierTest; |
| import com.android.compatibility.common.tradefed.targetprep.BusinessLogicPreparerTest; |
| import com.android.compatibility.common.tradefed.targetprep.DeviceInfoCollectorTest; |
| import com.android.compatibility.common.tradefed.targetprep.DeviceInteractionHelperInstallerTest; |
| import com.android.compatibility.common.tradefed.targetprep.DynamicConfigPusherTest; |
| import com.android.compatibility.common.tradefed.targetprep.MediaPreparerTest; |
| import com.android.compatibility.common.tradefed.targetprep.PropertyCheckTest; |
| import com.android.compatibility.common.tradefed.targetprep.SettingsPreparerTest; |
| import com.android.compatibility.common.tradefed.targetprep.VtsDeviceInfoCollectorTest; |
| import com.android.compatibility.common.tradefed.testtype.SubPlanTest; |
| import com.android.compatibility.common.tradefed.util.CollectorUtilTest; |
| import com.android.compatibility.common.tradefed.util.DynamicConfigFileReaderTest; |
| import com.android.compatibility.common.tradefed.util.OptionHelperTest; |
| import com.android.compatibility.common.tradefed.util.RetryFilterHelperTest; |
| |
| import org.junit.runner.RunWith; |
| import org.junit.runners.Suite; |
| import org.junit.runners.Suite.SuiteClasses; |
| |
| /** |
| * A test suite for all compatibility tradefed unit tests. |
| * |
| * <p>All tests listed here should be self-contained, and do not require any external dependencies. |
| */ |
| @RunWith(Suite.class) |
| @SuiteClasses({ |
| // build |
| CompatibilityBuildHelperTest.class, |
| CompatibilityBuildProviderTest.class, |
| |
| // command |
| CompatibilityConsoleTest.class, |
| |
| // config |
| ConfigurationFactoryTest.class, |
| |
| // result |
| ConsoleReporterTest.class, |
| MetadataReporterTest.class, |
| SubPlanHelperTest.class, |
| |
| // result.suite |
| CertificationChecksumHelperTest.class, |
| CertificationSuiteResultReporterTest.class, |
| PreviousResultLoaderTest.class, |
| PreviousSessionFileCopierTest.class, |
| |
| // targetprep |
| BusinessLogicPreparerTest.class, |
| DeviceInfoCollectorTest.class, |
| DeviceInteractionHelperInstallerTest.class, |
| DynamicConfigPusherTest.class, |
| MediaPreparerTest.class, |
| PropertyCheckTest.class, |
| SettingsPreparerTest.class, |
| VtsDeviceInfoCollectorTest.class, |
| |
| // testtype |
| SubPlanTest.class, |
| |
| // util |
| CollectorUtilTest.class, |
| DynamicConfigFileReaderTest.class, |
| OptionHelperTest.class, |
| RetryFilterHelperTest.class, |
| }) |
| public class UnitTests { |
| // empty on purpose |
| } |