Skip to content

Commit

Permalink
Document wrapping semantics for @BeforeAll/@afterall methods in Javadoc
Browse files Browse the repository at this point in the history
This commit introduces Javadoc for wrapping semantics for
@BeforeAll/@afterall methods declared in interfaces.

Issue: #1620
  • Loading branch information
sbrannen committed Feb 6, 2019
1 parent fca28bd commit b89aa48
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
* {@code @AfterAll} methods from superclasses will be executed after
* {@code @AfterAll} methods in subclasses.
*
* <p>Similarly, {@code @AfterAll} methods declared in an interface are
* inherited as long as they are not <em>hidden</em> or <em>overridden</em>,
* and {@code @AfterAll} methods from an interface will be executed after
* {@code @AfterAll} methods in the class that implements the interface.
*
* <h3>Composition</h3>
*
* <p>{@code @AfterAll} may be used as a meta-annotation in order to create
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
* {@code @BeforeAll} methods from superclasses will be executed before
* {@code @BeforeAll} methods in subclasses.
*
* <p>Similarly, {@code @BeforeAll} methods declared in an interface are
* inherited as long as they are not <em>hidden</em> or <em>overridden</em>,
* and {@code @BeforeAll} methods from an interface will be executed before
* {@code @BeforeAll} methods in the class that implements the interface.
*
* <h3>Composition</h3>
*
* <p>{@code @BeforeAll} may be used as a meta-annotation in order to create
Expand Down

0 comments on commit b89aa48

Please sign in to comment.