Module JUnitAnnotations

Provides classes and predicates for working with annotations from the JUnit framework.

Import path

semmle.code.java.frameworks.JUnitAnnotations

Imports

java

Provides all default Java QL imports.

Classes

AfterAnnotation

An @org.junit.After annotation.

AfterClassAnnotation

An @org.junit.AfterClass annotation.

BeforeAnnotation

An @org.junit.Before annotation.

BeforeClassAnnotation

An @org.junit.BeforeClass annotation.

IgnoreAnnotation

An @org.junit.Ignore annotation.

RunWithAnnotation

An @org.junit.runner.RunWith annotation, which indicates that tests within a class should be run with a special Runner.

TestAnnotation

An @org.junit.Test annotation.