Class JUnit3TestNotRun

    • Constructor Detail

      • JUnit3TestNotRun

        public JUnit3TestNotRun()
    • Method Detail

      • checkMethod

        public Optional<Description> checkMethod​(com.sun.source.tree.MethodTree methodTree,
                                                 com.google.common.collect.ImmutableSet<com.sun.tools.javac.code.Symbol.MethodSymbol> calledMethods,
                                                 VisitorState state)
        Matches iff:
        • Method's name begins with misspelled variation of "test".
        • Method is public, returns void, and has no parameters.
        • Enclosing class is JUnit3 test (extends TestCase, has no @RunWith annotation, no @Test-annotated methods, and is not abstract).