blob: 368c661dbfa4845d81a68af4ada2e456c96b9e1c [file] [log] [blame]
Paul Duffin997fa462019-02-15 12:58:26 +00001/*
2 * Copyright (C) 2019 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
17package junit.framework;
18
19import android.annotation.UnsupportedAppUsage;
20
21import java.lang.reflect.Method;
22
23/**
24 * Stub only
25 */
26@SuppressWarnings({ "unchecked", "deprecation", "all" })
27public class TestSuite implements Test {
28
29 /**
30 * Stub only
31 */
32 @UnsupportedAppUsage
33 private boolean isPublicTestMethod(Method m) {
34 throw new RuntimeException("Stub!");
35 }
36
37 /**
38 * Stub only
39 */
40 @UnsupportedAppUsage
41 private boolean isTestMethod(Method m) {
42 throw new RuntimeException("Stub!");
43 }
44
45 /**
46 * Stub only
47 */
48 public int countTestCases() {
49 throw new RuntimeException("Stub!");
50 }
51
52 /**
53 * Stub only
54 */
55 public void run(TestResult result) {
56 throw new RuntimeException("Stub!");
57 }
58}