Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 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 | |
Eric Rowe | 897c959 | 2012-02-13 18:13:05 -0800 | [diff] [blame] | 18 | import com.android.tradefed.build.BuildInfoTest; |
Brett Chabot | f9c821f | 2013-01-09 11:20:46 -0800 | [diff] [blame] | 19 | import com.android.tradefed.build.DeviceBuildDescriptorTest; |
Brett Chabot | beaebb0 | 2011-02-07 16:16:06 -0800 | [diff] [blame] | 20 | import com.android.tradefed.build.DeviceBuildInfoTest; |
| 21 | import com.android.tradefed.build.FileDownloadCacheTest; |
Eric Rowe | 897c959 | 2012-02-13 18:13:05 -0800 | [diff] [blame] | 22 | import com.android.tradefed.build.KernelBuildInfoTest; |
| 23 | import com.android.tradefed.build.KernelDeviceBuildInfoTest; |
Jorge Gonzalez | 6f9fcfa | 2011-04-04 12:45:39 -0700 | [diff] [blame] | 24 | import com.android.tradefed.build.OtaZipfileBuildProviderTest; |
Brett Chabot | dfd83b4 | 2011-04-26 17:22:29 -0700 | [diff] [blame] | 25 | import com.android.tradefed.build.SdkBuildInfoTest; |
Omari Stephens | 1c6afbe | 2011-01-05 16:42:50 -0800 | [diff] [blame] | 26 | import com.android.tradefed.command.CommandFileParserTest; |
Brett Chabot | 0283cb4 | 2010-08-07 16:12:17 -0700 | [diff] [blame] | 27 | import com.android.tradefed.command.CommandSchedulerTest; |
Brett Chabot | 7924cfd | 2010-10-11 17:54:31 -0700 | [diff] [blame] | 28 | import com.android.tradefed.command.ConsoleTest; |
Brett Chabot | 33513a5 | 2011-11-09 18:20:04 -0800 | [diff] [blame] | 29 | import com.android.tradefed.command.RemoteManagerTest; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 30 | import com.android.tradefed.config.ArgsOptionParserTest; |
Brett Chabot | e278a5b | 2010-06-01 16:20:14 -0700 | [diff] [blame] | 31 | import com.android.tradefed.config.ConfigurationDefTest; |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 32 | import com.android.tradefed.config.ConfigurationFactoryTest; |
Brett Chabot | 5e4bc50 | 2010-06-10 20:10:30 -0700 | [diff] [blame] | 33 | import com.android.tradefed.config.ConfigurationTest; |
Brett Chabot | e278a5b | 2010-06-01 16:20:14 -0700 | [diff] [blame] | 34 | import com.android.tradefed.config.ConfigurationXmlParserTest; |
Brett Chabot | 09a17ad | 2012-04-03 15:20:01 -0700 | [diff] [blame] | 35 | import com.android.tradefed.config.OptionCopierTest; |
Brett Chabot | f89a9b0 | 2010-08-24 15:43:05 -0700 | [diff] [blame] | 36 | import com.android.tradefed.config.OptionSetterTest; |
Omari Stephens | 73bb7b1 | 2012-05-16 17:46:26 -0700 | [diff] [blame] | 37 | import com.android.tradefed.config.OptionUpdateRuleTest; |
Eric Rowe | afc9df0 | 2012-03-21 10:08:50 -0700 | [diff] [blame] | 38 | import com.android.tradefed.device.CpuStatsCollectorTest; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 39 | import com.android.tradefed.device.DeviceManagerTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 40 | import com.android.tradefed.device.DeviceSelectionOptionsTest; |
Brett Chabot | ac3a79e | 2010-05-26 13:46:36 -0700 | [diff] [blame] | 41 | import com.android.tradefed.device.DeviceStateMonitorTest; |
Brett Chabot | becb8bd | 2013-02-15 12:42:12 -0800 | [diff] [blame] | 42 | import com.android.tradefed.device.DumpsysPackageParserTest; |
Jorge Gonzalez | 6f9fcfa | 2011-04-04 12:45:39 -0700 | [diff] [blame] | 43 | import com.android.tradefed.device.ReconnectingRecoveryTest; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 44 | import com.android.tradefed.device.TestDeviceTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 45 | import com.android.tradefed.device.WaitDeviceRecoveryTest; |
Brett Chabot | 3ed9293 | 2010-06-03 15:37:41 -0700 | [diff] [blame] | 46 | import com.android.tradefed.device.WifiHelperTest; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 47 | import com.android.tradefed.invoker.TestInvocationTest; |
Neal Nguyen | 85df8c9 | 2010-04-02 16:50:55 -0700 | [diff] [blame] | 48 | import com.android.tradefed.log.FileLoggerTest; |
Neal Nguyen | 2ceabaa | 2010-05-26 14:42:14 -0700 | [diff] [blame] | 49 | import com.android.tradefed.log.LogRegistryTest; |
Brett Chabot | 51a4e3d | 2010-03-09 11:08:44 -0800 | [diff] [blame] | 50 | import com.android.tradefed.result.CollectingTestListenerTest; |
Eric Rowe | 00e5c92 | 2012-03-21 17:44:05 -0700 | [diff] [blame] | 51 | import com.android.tradefed.result.EmailResultReporterTest; |
Jorge Gonzalez | 888dced | 2011-07-28 13:50:44 -0700 | [diff] [blame] | 52 | import com.android.tradefed.result.FailureEmailResultReporterTest; |
Eric Rowe | 00e5c92 | 2012-03-21 17:44:05 -0700 | [diff] [blame] | 53 | import com.android.tradefed.result.InvocationFailureEmailResultReporterTest; |
Brett Chabot | 44d0db5 | 2011-01-12 18:57:34 -0800 | [diff] [blame] | 54 | import com.android.tradefed.result.InvocationToJUnitResultForwarderTest; |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 55 | import com.android.tradefed.result.JUnitToInvocationResultForwarderTest; |
Brett Chabot | feeb214 | 2010-04-16 16:22:52 -0700 | [diff] [blame] | 56 | import com.android.tradefed.result.LogFileSaverTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 57 | import com.android.tradefed.result.SnapshotInputStreamSourceTest; |
Eric Rowe | 00e5c92 | 2012-03-21 17:44:05 -0700 | [diff] [blame] | 58 | import com.android.tradefed.result.TestFailureEmailResultReporterTest; |
Omari Stephens | a01abfe | 2010-09-07 15:48:44 -0700 | [diff] [blame] | 59 | import com.android.tradefed.result.TestSummaryTest; |
Brett Chabot | 6420e9b | 2010-03-31 11:21:16 -0700 | [diff] [blame] | 60 | import com.android.tradefed.result.XmlResultReporterTest; |
Omari Stephens | 10a4fc9 | 2013-04-09 16:41:35 -0700 | [diff] [blame^] | 61 | import com.android.tradefed.targetprep.BuildInfoAttributePreparerTest; |
Jorge Gonzalez | 7bf75d7 | 2011-03-22 21:06:49 -0700 | [diff] [blame] | 62 | import com.android.tradefed.targetprep.DefaultTestsZipInstallerTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 63 | import com.android.tradefed.targetprep.DeviceFlashPreparerTest; |
Brett Chabot | beaebb0 | 2011-02-07 16:16:06 -0800 | [diff] [blame] | 64 | import com.android.tradefed.targetprep.DeviceSetupTest; |
Jorge Gonzalez | 7bf75d7 | 2011-03-22 21:06:49 -0700 | [diff] [blame] | 65 | import com.android.tradefed.targetprep.FastbootDeviceFlasherTest; |
Brett Chabot | beaebb0 | 2011-02-07 16:16:06 -0800 | [diff] [blame] | 66 | import com.android.tradefed.targetprep.FlashingResourcesParserTest; |
Eric Rowe | 472db16 | 2012-01-26 18:30:38 -0800 | [diff] [blame] | 67 | import com.android.tradefed.targetprep.KernelFlashPreparerTest; |
Brett Chabot | f7ef817 | 2011-06-08 19:48:51 -0700 | [diff] [blame] | 68 | import com.android.tradefed.targetprep.SdkAvdPreparerTest; |
Eric Rowe | 7b647b4 | 2012-05-17 17:18:35 -0700 | [diff] [blame] | 69 | import com.android.tradefed.targetprep.StopServicesSetupTest; |
Jorge Gonzalez | 7bf75d7 | 2011-03-22 21:06:49 -0700 | [diff] [blame] | 70 | import com.android.tradefed.targetprep.SystemUpdaterDeviceFlasherTest; |
Brett Chabot | 7020791 | 2010-10-28 14:53:05 -0700 | [diff] [blame] | 71 | import com.android.tradefed.testtype.DeviceTestCaseTest; |
Brett Chabot | 7fda9c1 | 2011-07-08 11:34:16 -0700 | [diff] [blame] | 72 | import com.android.tradefed.testtype.DeviceTestSuite; |
Omari Stephens | 42026c0 | 2013-03-20 22:17:27 -0700 | [diff] [blame] | 73 | import com.android.tradefed.testtype.FakeTestTest; |
Neal Nguyen | 67a747d | 2010-06-16 19:01:57 -0700 | [diff] [blame] | 74 | import com.android.tradefed.testtype.GTestResultParserTest; |
Brett Chabot | 0283cb4 | 2010-08-07 16:12:17 -0700 | [diff] [blame] | 75 | import com.android.tradefed.testtype.GTestTest; |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 76 | import com.android.tradefed.testtype.HostTestTest; |
Brett Chabot | 51a4e3d | 2010-03-09 11:08:44 -0800 | [diff] [blame] | 77 | import com.android.tradefed.testtype.InstrumentationListTestTest; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 78 | import com.android.tradefed.testtype.InstrumentationTestTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 79 | import com.android.tradefed.testtype.NativeBenchmarkTestParserTest; |
| 80 | import com.android.tradefed.testtype.NativeStressTestParserTest; |
| 81 | import com.android.tradefed.testtype.NativeStressTestTest; |
Brett Chabot | 6420e9b | 2010-03-31 11:21:16 -0700 | [diff] [blame] | 82 | import com.android.tradefed.testtype.testdefs.XmlDefsParserTest; |
| 83 | import com.android.tradefed.testtype.testdefs.XmlDefsTestTest; |
Brett Chabot | 6374a56 | 2012-11-28 15:35:49 -0800 | [diff] [blame] | 84 | import com.android.tradefed.util.AaptParserTest; |
Omari Stephens | eaabb7f | 2011-11-11 20:27:51 -0800 | [diff] [blame] | 85 | import com.android.tradefed.util.ArrayUtilTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 86 | import com.android.tradefed.util.ByteArrayListTest; |
Brett Chabot | c5ea26e | 2010-08-09 19:45:40 -0700 | [diff] [blame] | 87 | import com.android.tradefed.util.ConditionPriorityBlockingQueueTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 88 | import com.android.tradefed.util.EmailTest; |
Brett Chabot | a17af5d | 2010-08-23 13:51:17 -0700 | [diff] [blame] | 89 | import com.android.tradefed.util.FileUtilTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 90 | import com.android.tradefed.util.MultiMapTest; |
Omari Stephens | 63ad807 | 2012-09-17 16:59:10 -0700 | [diff] [blame] | 91 | import com.android.tradefed.util.NullUtilTest; |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 92 | import com.android.tradefed.util.QuotationAwareTokenizerTest; |
| 93 | import com.android.tradefed.util.RegexTrieTest; |
Brett Chabot | 494d0c1 | 2010-05-21 12:48:02 -0700 | [diff] [blame] | 94 | import com.android.tradefed.util.RunUtilTest; |
Brett Chabot | 722ad72 | 2013-01-29 16:07:02 -0800 | [diff] [blame] | 95 | import com.android.tradefed.util.SizeLimitedOutputStreamTest; |
Maxim Siniavine | 0c243a5 | 2012-09-04 17:41:28 -0700 | [diff] [blame] | 96 | import com.android.tradefed.util.net.HttpMultipartPostTest; |
Brett Chabot | dfd83b4 | 2011-04-26 17:22:29 -0700 | [diff] [blame] | 97 | import com.android.tradefed.util.xml.AndroidManifestWriterTest; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 98 | |
| 99 | import junit.framework.Test; |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 100 | |
| 101 | /** |
| 102 | * A test suite for all Trade Federation unit tests. |
| 103 | * <p/> |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 104 | * All tests listed here should be self-contained, and should not require any external dependencies. |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 105 | */ |
Brett Chabot | 7fda9c1 | 2011-07-08 11:34:16 -0700 | [diff] [blame] | 106 | public class UnitTests extends DeviceTestSuite { |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 107 | |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 108 | public UnitTests() { |
| 109 | super(); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 110 | // build |
Eric Rowe | 897c959 | 2012-02-13 18:13:05 -0800 | [diff] [blame] | 111 | addTestSuite(BuildInfoTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 112 | addTestSuite(DeviceBuildInfoTest.class); |
Brett Chabot | f9c821f | 2013-01-09 11:20:46 -0800 | [diff] [blame] | 113 | addTestSuite(DeviceBuildDescriptorTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 114 | addTestSuite(FileDownloadCacheTest.class); |
Eric Rowe | 897c959 | 2012-02-13 18:13:05 -0800 | [diff] [blame] | 115 | addTestSuite(KernelBuildInfoTest.class); |
| 116 | addTestSuite(KernelDeviceBuildInfoTest.class); |
Jorge Gonzalez | 6f9fcfa | 2011-04-04 12:45:39 -0700 | [diff] [blame] | 117 | addTestSuite(OtaZipfileBuildProviderTest.class); |
Brett Chabot | dfd83b4 | 2011-04-26 17:22:29 -0700 | [diff] [blame] | 118 | addTestSuite(SdkBuildInfoTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 119 | |
| 120 | // command |
Omari Stephens | 1c6afbe | 2011-01-05 16:42:50 -0800 | [diff] [blame] | 121 | addTestSuite(CommandFileParserTest.class); |
Brett Chabot | 0283cb4 | 2010-08-07 16:12:17 -0700 | [diff] [blame] | 122 | addTestSuite(CommandSchedulerTest.class); |
Brett Chabot | 7924cfd | 2010-10-11 17:54:31 -0700 | [diff] [blame] | 123 | addTestSuite(ConsoleTest.class); |
Brett Chabot | 33513a5 | 2011-11-09 18:20:04 -0800 | [diff] [blame] | 124 | addTestSuite(RemoteManagerTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 125 | |
| 126 | // config |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 127 | addTestSuite(ArgsOptionParserTest.class); |
Brett Chabot | e278a5b | 2010-06-01 16:20:14 -0700 | [diff] [blame] | 128 | addTestSuite(ConfigurationDefTest.class); |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 129 | addTestSuite(ConfigurationFactoryTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 130 | addTestSuite(ConfigurationTest.class); |
Brett Chabot | e278a5b | 2010-06-01 16:20:14 -0700 | [diff] [blame] | 131 | addTestSuite(ConfigurationXmlParserTest.class); |
Brett Chabot | 09a17ad | 2012-04-03 15:20:01 -0700 | [diff] [blame] | 132 | addTestSuite(OptionCopierTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 133 | addTestSuite(OptionSetterTest.class); |
Omari Stephens | 73bb7b1 | 2012-05-16 17:46:26 -0700 | [diff] [blame] | 134 | addTestSuite(OptionUpdateRuleTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 135 | |
| 136 | // device |
Eric Rowe | afc9df0 | 2012-03-21 10:08:50 -0700 | [diff] [blame] | 137 | addTestSuite(CpuStatsCollectorTest.class); |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 138 | addTestSuite(DeviceManagerTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 139 | addTestSuite(DeviceSelectionOptionsTest.class); |
Brett Chabot | ac3a79e | 2010-05-26 13:46:36 -0700 | [diff] [blame] | 140 | addTestSuite(DeviceStateMonitorTest.class); |
Brett Chabot | becb8bd | 2013-02-15 12:42:12 -0800 | [diff] [blame] | 141 | addTestSuite(DumpsysPackageParserTest.class); |
Jorge Gonzalez | 6f9fcfa | 2011-04-04 12:45:39 -0700 | [diff] [blame] | 142 | addTestSuite(ReconnectingRecoveryTest.class); |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 143 | addTestSuite(TestDeviceTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 144 | addTestSuite(WaitDeviceRecoveryTest.class); |
Brett Chabot | 3ed9293 | 2010-06-03 15:37:41 -0700 | [diff] [blame] | 145 | addTestSuite(WifiHelperTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 146 | |
| 147 | // invoker |
| 148 | addTestSuite(TestInvocationTest.class); |
| 149 | |
| 150 | // log |
Neal Nguyen | 85df8c9 | 2010-04-02 16:50:55 -0700 | [diff] [blame] | 151 | addTestSuite(FileLoggerTest.class); |
Neal Nguyen | 2ceabaa | 2010-05-26 14:42:14 -0700 | [diff] [blame] | 152 | addTestSuite(LogRegistryTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 153 | |
| 154 | // result |
Brett Chabot | 51a4e3d | 2010-03-09 11:08:44 -0800 | [diff] [blame] | 155 | addTestSuite(CollectingTestListenerTest.class); |
Eric Rowe | 00e5c92 | 2012-03-21 17:44:05 -0700 | [diff] [blame] | 156 | addTestSuite(EmailResultReporterTest.class); |
Jorge Gonzalez | 888dced | 2011-07-28 13:50:44 -0700 | [diff] [blame] | 157 | addTestSuite(FailureEmailResultReporterTest.class); |
Eric Rowe | 00e5c92 | 2012-03-21 17:44:05 -0700 | [diff] [blame] | 158 | addTestSuite(InvocationFailureEmailResultReporterTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 159 | addTestSuite(InvocationToJUnitResultForwarderTest.class); |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 160 | addTestSuite(JUnitToInvocationResultForwarderTest.class); |
Brett Chabot | feeb214 | 2010-04-16 16:22:52 -0700 | [diff] [blame] | 161 | addTestSuite(LogFileSaverTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 162 | addTestSuite(SnapshotInputStreamSourceTest.class); |
Omari Stephens | a01abfe | 2010-09-07 15:48:44 -0700 | [diff] [blame] | 163 | addTestSuite(TestSummaryTest.class); |
Eric Rowe | 00e5c92 | 2012-03-21 17:44:05 -0700 | [diff] [blame] | 164 | addTestSuite(TestFailureEmailResultReporterTest.class); |
Brett Chabot | 6420e9b | 2010-03-31 11:21:16 -0700 | [diff] [blame] | 165 | addTestSuite(XmlResultReporterTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 166 | |
| 167 | // targetprep |
Omari Stephens | 10a4fc9 | 2013-04-09 16:41:35 -0700 | [diff] [blame^] | 168 | addTestSuite(BuildInfoAttributePreparerTest.class); |
Jorge Gonzalez | 7bf75d7 | 2011-03-22 21:06:49 -0700 | [diff] [blame] | 169 | addTestSuite(DefaultTestsZipInstallerTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 170 | addTestSuite(DeviceFlashPreparerTest.class); |
Brett Chabot | c7d8f28 | 2010-09-02 19:20:40 -0700 | [diff] [blame] | 171 | addTestSuite(DeviceSetupTest.class); |
Jorge Gonzalez | 7bf75d7 | 2011-03-22 21:06:49 -0700 | [diff] [blame] | 172 | addTestSuite(FastbootDeviceFlasherTest.class); |
Brett Chabot | c7d8f28 | 2010-09-02 19:20:40 -0700 | [diff] [blame] | 173 | addTestSuite(FlashingResourcesParserTest.class); |
Eric Rowe | 472db16 | 2012-01-26 18:30:38 -0800 | [diff] [blame] | 174 | addTestSuite(KernelFlashPreparerTest.class); |
Brett Chabot | f7ef817 | 2011-06-08 19:48:51 -0700 | [diff] [blame] | 175 | addTestSuite(SdkAvdPreparerTest.class); |
Eric Rowe | 7b647b4 | 2012-05-17 17:18:35 -0700 | [diff] [blame] | 176 | addTestSuite(StopServicesSetupTest.class); |
Jorge Gonzalez | 7bf75d7 | 2011-03-22 21:06:49 -0700 | [diff] [blame] | 177 | addTestSuite(SystemUpdaterDeviceFlasherTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 178 | |
| 179 | // testtype |
Brett Chabot | 7020791 | 2010-10-28 14:53:05 -0700 | [diff] [blame] | 180 | addTestSuite(DeviceTestCaseTest.class); |
Omari Stephens | 42026c0 | 2013-03-20 22:17:27 -0700 | [diff] [blame] | 181 | addTestSuite(FakeTestTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 182 | addTestSuite(GTestResultParserTest.class); |
| 183 | addTestSuite(GTestTest.class); |
| 184 | addTestSuite(HostTestTest.class); |
Brett Chabot | 51a4e3d | 2010-03-09 11:08:44 -0800 | [diff] [blame] | 185 | addTestSuite(InstrumentationListTestTest.class); |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 186 | addTestSuite(InstrumentationTestTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 187 | addTestSuite(NativeBenchmarkTestParserTest.class); |
| 188 | addTestSuite(NativeStressTestParserTest.class); |
| 189 | addTestSuite(NativeStressTestTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 190 | |
| 191 | // testtype/testdefs |
Brett Chabot | 6420e9b | 2010-03-31 11:21:16 -0700 | [diff] [blame] | 192 | addTestSuite(XmlDefsParserTest.class); |
| 193 | addTestSuite(XmlDefsTestTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 194 | |
| 195 | // util |
Brett Chabot | 6374a56 | 2012-11-28 15:35:49 -0800 | [diff] [blame] | 196 | addTestSuite(AaptParserTest.class); |
Omari Stephens | eaabb7f | 2011-11-11 20:27:51 -0800 | [diff] [blame] | 197 | addTestSuite(ArrayUtilTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 198 | addTestSuite(ByteArrayListTest.class); |
| 199 | addTestSuite(ConditionPriorityBlockingQueueTest.class); |
| 200 | addTestSuite(EmailTest.class); |
Brett Chabot | a17af5d | 2010-08-23 13:51:17 -0700 | [diff] [blame] | 201 | addTestSuite(FileUtilTest.class); |
Brett Chabot | 722ad72 | 2013-01-29 16:07:02 -0800 | [diff] [blame] | 202 | addTestSuite(HttpMultipartPostTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 203 | addTestSuite(MultiMapTest.class); |
Omari Stephens | 63ad807 | 2012-09-17 16:59:10 -0700 | [diff] [blame] | 204 | addTestSuite(NullUtilTest.class); |
Omari Stephens | 644531a | 2011-02-28 23:02:02 -0800 | [diff] [blame] | 205 | addTestSuite(QuotationAwareTokenizerTest.class); |
| 206 | addTestSuite(RegexTrieTest.class); |
| 207 | addTestSuite(RunUtilTest.class); |
Brett Chabot | 722ad72 | 2013-01-29 16:07:02 -0800 | [diff] [blame] | 208 | addTestSuite(SizeLimitedOutputStreamTest.class); |
Omari Stephens | 2313d2f | 2011-08-16 19:00:35 -0700 | [diff] [blame] | 209 | |
| 210 | // util subdirs |
Brett Chabot | dfd83b4 | 2011-04-26 17:22:29 -0700 | [diff] [blame] | 211 | addTestSuite(AndroidManifestWriterTest.class); |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 212 | } |
| 213 | |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 214 | public static Test suite() { |
Brett Chabot | a08f718 | 2010-03-08 18:55:38 -0800 | [diff] [blame] | 215 | return new UnitTests(); |
Brett Chabot | 74121d8 | 2010-01-28 20:14:27 -0800 | [diff] [blame] | 216 | } |
| 217 | } |