-
-
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.
Check for
DisplayNameGeneration
annotations on runtime enclosing types
Prior to this commit, the `DisplayNameGeneration` annotation was discovered on the current test, a superclass, or the enclosing class in which a `Nested` test class is declared. However, the runtime type of an enclosing instance is not always identical to the class in which the `Nested` test class was declared. This caused annotations on runtime enclosing types to be missed when checking for them in `IndicativeSentences` which resulted in unexpected display names. Now, the runtime enclosing types are checked rather than the compile-time ones. Resolves #4131. --------- Co-authored-by: Sam Brannen <104798+sbrannen@users.noreply.github.com>
- Loading branch information
1 parent
3fa27e9
commit ed68831
Showing
9 changed files
with
225 additions
and
57 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
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
Oops, something went wrong.