-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use explicit checks in tests for removal notifications
Previously the number of notifications were checked for, but this allowed for an incorrect publication to sneak through. The tests now assert that the exact number of expected notifications are observed.
- Loading branch information
Showing
21 changed files
with
1,020 additions
and
590 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
210 changes: 109 additions & 101 deletions
210
caffeine/src/test/java/com/github/benmanes/caffeine/cache/AsMapTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
156 changes: 75 additions & 81 deletions
156
caffeine/src/test/java/com/github/benmanes/caffeine/cache/AsyncAsMapTest.java
Large diffs are not rendered by default.
Oops, something went wrong.
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.