Module org.junit.jupiter.api
Package org.junit.jupiter.api.parallel
Annotation Interface ResourceLocks
@API(status=STABLE,
since="5.10")
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Inherited
public @interface ResourceLocks
@ResourceLocks
is a container for one or more
@ResourceLock
declarations.
Note, however, that use of the @ResourceLocks
container is
completely optional since @ResourceLock
is a
repeatable annotation.
Since JUnit Jupiter 5.4, this annotation is inherited within class hierarchies.
- Since:
- 5.3
- See Also:
-
Required Element Summary
-
Element Details
-
value
ResourceLock[] valueAn array of one or more @ResourceLock declarations.
-