-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invoke TestInstancePreDestroyCallbacks in reverse registration order
Prior to this commit, when using PER_CLASS test instance lifecycle semantics, TestInstancePreDestroyCallback extensions were invoked in the order in which they were registered, which violates the general "wrapping" principle for extensions invoked after a container or test. This commit fixes this by invoking TestInstancePreDestroyCallback extensions in reverse registration order when PER_CLASS test instance lifecycle semantics have been configured. Fixes #2209
- Loading branch information
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters