summaryrefslogtreecommitdiff
path: root/tests/src/com/android/loganalysis/UnitTests.java
blob: 70c4bd3b00b40ce63443c61448393c5a20e39fa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
/*
 * Copyright (C) 2013 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.loganalysis;

import com.android.loganalysis.item.BatteryDischargeItemTest;
import com.android.loganalysis.item.DvmLockSampleItemTest;
import com.android.loganalysis.item.GenericItemTest;
import com.android.loganalysis.item.InterruptItemTest;
import com.android.loganalysis.item.MemInfoItemTest;
import com.android.loganalysis.item.MonkeyLogItemTest;
import com.android.loganalysis.item.ProcrankItemTest;
import com.android.loganalysis.item.SmartMonkeyLogItemTest;
import com.android.loganalysis.item.SystemPropsItemTest;
import com.android.loganalysis.item.TopItemTest;
import com.android.loganalysis.item.WakelockItemTest;
import com.android.loganalysis.parser.AbstractSectionParserTest;
import com.android.loganalysis.parser.AnrParserTest;
import com.android.loganalysis.parser.BugreportParserTest;
import com.android.loganalysis.parser.CompactMemInfoParserTest;
import com.android.loganalysis.parser.DmesgParserTest;
import com.android.loganalysis.parser.DvmLockSampleParserTest;
import com.android.loganalysis.parser.EventsLogParserTest;
import com.android.loganalysis.parser.InterruptParserTest;
import com.android.loganalysis.parser.JavaCrashParserTest;
import com.android.loganalysis.parser.KernelLogParserTest;
import com.android.loganalysis.parser.LogcatParserTest;
import com.android.loganalysis.parser.MemInfoParserTest;
import com.android.loganalysis.parser.MonkeyLogParserTest;
import com.android.loganalysis.parser.NativeCrashParserTest;
import com.android.loganalysis.parser.ProcessUsageParserTest;
import com.android.loganalysis.parser.ProcrankParserTest;
import com.android.loganalysis.parser.SystemPropsParserTest;
import com.android.loganalysis.parser.TopParserTest;
import com.android.loganalysis.parser.TracesParserTest;
import com.android.loganalysis.parser.WakelockParserTest;
import com.android.loganalysis.util.ArrayUtilTest;
import com.android.loganalysis.util.LogPatternUtilTest;
import com.android.loganalysis.util.LogTailUtilTest;
import com.android.loganalysis.util.RegexTrieTest;
import com.android.loganalysis.util.config.ArgsOptionParserTest;
import com.android.loganalysis.util.config.OptionSetterTest;
import com.android.loganalysis.util.config.OptionUpdateRuleTest;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

/**
 * A test suite for all Trade Federation unit tests.
 * <p/>
 * All tests listed here should be self-contained, and should not require any external dependencies.
 */
@RunWith(Suite.class)
@SuiteClasses({
    // item
    BatteryDischargeItemTest.class,
    DvmLockSampleItemTest.class,
    GenericItemTest.class,
    InterruptItemTest.class,
    MemInfoItemTest.class,
    MonkeyLogItemTest.class,
    ProcrankItemTest.class,
    SmartMonkeyLogItemTest.class,
    SystemPropsItemTest.class,
    TopItemTest.class,
    WakelockItemTest.class,

    // parser
    AbstractSectionParserTest.class,
    AnrParserTest.class,
    BugreportParserTest.class,
    CompactMemInfoParserTest.class,
    DmesgParserTest.class,
    EventsLogParserTest.class,
    DvmLockSampleParserTest.class,
    InterruptParserTest.class,
    JavaCrashParserTest.class,
    KernelLogParserTest.class,
    LogcatParserTest.class,
    MemInfoParserTest.class,
    MonkeyLogParserTest.class,
    NativeCrashParserTest.class,
    ProcessUsageParserTest.class,
    ProcrankParserTest.class,
    SystemPropsParserTest.class,
    TopParserTest.class,
    TracesParserTest.class,
    WakelockParserTest.class,

    // util
    ArrayUtilTest.class,
    LogPatternUtilTest.class,
    LogTailUtilTest.class,
    RegexTrieTest.class,

    // util.config
    ArgsOptionParserTest.class,
    OptionSetterTest.class,
    OptionUpdateRuleTest.class,
})
public class UnitTests {
    // empty of purpose
}