Class JUnit3TestNotRun

    • Constructor Detail

      • JUnit3TestNotRun

        public JUnit3TestNotRun()
    • Method Detail

      • matchMethod

        public Description matchMethod​(MethodTree methodTree,
                                       VisitorState state)
        Matches if: 1) Method's name begins with misspelled variation of "test". 2) Method is public, returns void, and has no parameters. 3) Enclosing class is JUnit3 test (extends TestCase, has no @RunWith annotation, no @Test-annotated methods, and is not abstract).
        Specified by:
        matchMethod in interface BugChecker.MethodTreeMatcher