-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
isEmpty()
and simplified assertions in Test (#8473)
* use isEmpty() and simplified assertions * use `assertThat` instead of `assertFalse` to get better messages in case of failure * Update test/src/test/java/lib/hudson/ListScmBrowsersTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/hudson/PluginManagerTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/hudson/PluginManagerTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/hudson/PluginManagerTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/hudson/model/HelpLinkTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/hudson/model/HelpLinkTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/lib/hudson/ListScmBrowsersTest.java Co-authored-by: James Nord <[email protected]> * Update test/src/test/java/lib/hudson/ListScmBrowsersTest.java Co-authored-by: James Nord <[email protected]> * spotless fix --------- Co-authored-by: James Nord <[email protected]>
- Loading branch information
1 parent
105951c
commit 87888c7
Showing
8 changed files
with
20 additions
and
16 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
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