The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2005 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 | |
Brett Chabot | 0dc59e7 | 2010-04-01 18:21:38 -0700 | [diff] [blame] | 17 | package android.database; |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 18 | |
| 19 | import junit.framework.TestSuite; |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 20 | |
| 21 | public class NewDatabasePerformanceTestSuite extends TestSuite { |
| 22 | public static TestSuite suite() { |
| 23 | TestSuite suite = |
| 24 | new TestSuite(NewDatabasePerformanceTestSuite.class.getName()); |
| 25 | |
Fyodor Kupolov | b5f3804 | 2017-05-23 12:01:07 -0700 | [diff] [blame] | 26 | suite.addTestSuite(NewDatabasePerformanceTests.Insert100.class); |
| 27 | suite.addTestSuite(NewDatabasePerformanceTests.InsertIndexed100.class); |
| 28 | suite.addTestSuite(NewDatabasePerformanceTests.Select100.class); |
| 29 | suite.addTestSuite(NewDatabasePerformanceTests.SelectStringComparison100.class); |
| 30 | suite.addTestSuite(NewDatabasePerformanceTests.SelectIndex100.class); |
| 31 | suite.addTestSuite(NewDatabasePerformanceTests.InnerJoin100.class); |
| 32 | suite.addTestSuite(NewDatabasePerformanceTests.InnerJoinOneSide100.class); |
| 33 | suite.addTestSuite(NewDatabasePerformanceTests.InnerJoinNoIndex100.class); |
| 34 | suite.addTestSuite(NewDatabasePerformanceTests.SelectSubQIndex100.class); |
| 35 | suite.addTestSuite(NewDatabasePerformanceTests.SelectIndexStringComparison100.class); |
| 36 | suite.addTestSuite(NewDatabasePerformanceTests.SelectInteger100.class); |
| 37 | suite.addTestSuite(NewDatabasePerformanceTests.SelectString100.class); |
| 38 | suite.addTestSuite(NewDatabasePerformanceTests.SelectIntegerIndex100.class); |
| 39 | suite.addTestSuite(NewDatabasePerformanceTests.SelectIndexString100.class); |
| 40 | suite.addTestSuite(NewDatabasePerformanceTests.SelectStringStartsWith100.class); |
| 41 | suite.addTestSuite(NewDatabasePerformanceTests.DeleteIndexed100.class); |
| 42 | suite.addTestSuite(NewDatabasePerformanceTests.Delete100.class); |
| 43 | suite.addTestSuite(NewDatabasePerformanceTests.DeleteWhere100.class); |
| 44 | suite.addTestSuite(NewDatabasePerformanceTests.DeleteIndexWhere100.class); |
| 45 | suite.addTestSuite(NewDatabasePerformanceTests.UpdateIndexWhere100.class); |
| 46 | suite.addTestSuite(NewDatabasePerformanceTests.UpdateWhere100.class); |
| 47 | suite.addTestSuite(NewDatabasePerformanceTests.SelectStringContains100.class); |
| 48 | suite.addTestSuite(NewDatabasePerformanceTests.SelectStringIndexedContains100.class); |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 49 | |
| 50 | return suite; |
| 51 | } |
| 52 | } |