• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2011 The Guava Authors
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.google.common.collect.testing;
18 
19 import org.checkerframework.checker.nullness.qual.Nullable;
20 import org.junit.Ignore;
21 
22 /** Support class added to a suite as part of {@link FeatureSpecificTestSuiteBuilderTest}. */
23 /*
24  * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4
25  * annotations even on JUnit 3 tests.
26  *
27  * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably
28  * soon won't be.
29  */
30 @SuppressWarnings("JUnit4ClassUsedInJUnit3")
31 @Ignore
32 public final class MyTester extends AbstractTester<@Nullable Void> {
33   static int timesTestClassWasRun = 0;
34 
testNothing()35   public void testNothing() {
36     timesTestClassWasRun++;
37   }
38 }
39