1 /*
2  * Copyright (C) 2018 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 
17 package com.android.ahat;
18 
19 import org.junit.runner.JUnitCore;
20 import org.junit.runner.RunWith;
21 import org.junit.runners.Suite;
22 
23 @RunWith(Suite.class)
24 @Suite.SuiteClasses({
25   DiffFieldsTest.class,
26   DiffTest.class,
27   DominatorsTest.class,
28   HtmlEscaperTest.class,
29   InstanceTest.class,
30   NativeAllocationTest.class,
31   ObjectHandlerTest.class,
32   ObjectsHandlerTest.class,
33   OverviewHandlerTest.class,
34   PerformanceTest.class,
35   ProguardMapTest.class,
36   RootedHandlerTest.class,
37   QueryTest.class,
38   RiTest.class,
39   SiteHandlerTest.class,
40   SiteTest.class
41 })
42 
43 public class AhatTestSuite {
main(String[] args)44   public static void main(String[] args) {
45     if (args.length == 0) {
46       args = new String[]{"com.android.ahat.AhatTestSuite"};
47     }
48     JUnitCore.main(args);
49   }
50 }
51