Remove obsolete UnitTests setups
They are not needed anymore.
Test: make
Bug: 173821543
Change-Id: Iedad3f2c51719e555b31fdcc7d2ef2b17efed94c
diff --git a/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/UnitTests.java b/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/UnitTests.java
deleted file mode 100644
index 1f25ba9..0000000
--- a/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/UnitTests.java
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- * 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
-}
diff --git a/common/host-side/util/tests/src/com/android/compatibility/common/util/HostUnitTests.java b/common/host-side/util/tests/src/com/android/compatibility/common/util/HostUnitTests.java
deleted file mode 100644
index 2fb0868..0000000
--- a/common/host-side/util/tests/src/com/android/compatibility/common/util/HostUnitTests.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * 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.util;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-/**
- * A test suite for all host util unit tests.
- *
- * <p>All tests listed here should be self-contained, and do not require any external dependencies.
- */
-@RunWith(Suite.class)
-@SuiteClasses({
- BusinessLogicHostExecutorTest.class,
- DynamicConfigHandlerTest.class,
- ModuleResultTest.class,
- TestFilterTest.class,
- PollingCheckTest.class,
-})
-public class HostUnitTests {
- // empty on purpose
-}
diff --git a/common/util/tests/src/com/android/compatibility/common/util/UnitTests.java b/common/util/tests/src/com/android/compatibility/common/util/UnitTests.java
deleted file mode 100644
index a7f8460..0000000
--- a/common/util/tests/src/com/android/compatibility/common/util/UnitTests.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * 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.util;
-
-import org.junit.runner.RunWith;
-import org.junit.runners.Suite;
-import org.junit.runners.Suite.SuiteClasses;
-
-/**
- * A test suite for all util unit tests.
- *
- * <p>All tests listed here should be self-contained, and do not require any external dependencies.
- */
-@RunWith(Suite.class)
-@SuiteClasses({
- BackupUtilsTest.class,
- BusinessLogicTest.class,
- CaseResultTest.class,
- CrashUtilsTest.class,
- DynamicConfigTest.class,
- LightInvocationResultTest.class,
- MetricsXmlSerializerTest.class,
- MultipartFormTest.class,
- ReportLogTest.class,
- ResultHandlerTest.class,
- StatTest.class,
- TestResultTest.class,
- ReadElfTest.class,
-})
-public class UnitTests {
- // empty on purpose
-}