Permalink
2 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
forge: refactor HostUser constructor to static methods
Reviewed-by: rwestberg
- Loading branch information
Showing
with
151 additions
and 142 deletions.
- +2 −2 bots/checkout/src/test/java/org/openjdk/skara/bots/checkout/CheckoutBotTests.java
- +2 −2 bots/forward/src/test/java/org/openjdk/skara/bots/forward/ForwardBotTests.java
- +1 −1 bots/hgbridge/src/test/java/org/openjdk/skara/bots/hgbridge/BridgeBotTests.java
- +14 −14 bots/merge/src/test/java/org/openjdk/skara/bots/merge/MergeBotTests.java
- +5 −5 bots/mirror/src/test/java/org/openjdk/skara/bots/mirror/MirrorBotTests.java
- +3 −3 bots/pr/src/test/java/org/openjdk/skara/bots/pr/VetoTests.java
- +1 −1 bots/tester/src/test/java/org/openjdk/skara/bots/tester/InMemoryHost.java
- +23 −23 bots/tester/src/test/java/org/openjdk/skara/bots/tester/StateTests.java
- +36 −36 bots/tester/src/test/java/org/openjdk/skara/bots/tester/TestWorkItemTests.java
- +2 −2 bots/topological/src/test/java/org/openjdk/skara/bots/topological/TopologicalBotTests.java
- +3 −3 forge/src/main/java/org/openjdk/skara/forge/github/GitHubHost.java
- +1 −1 forge/src/main/java/org/openjdk/skara/forge/gitlab/GitLabHost.java
- +6 −6 forge/src/main/java/org/openjdk/skara/forge/gitlab/GitLabMergeRequest.java
- +27 −18 host/src/main/java/org/openjdk/skara/host/HostUser.java
- +7 −7 issuetracker/src/main/java/org/openjdk/skara/issuetracker/jira/JiraHost.java
- +9 −9 issuetracker/src/main/java/org/openjdk/skara/issuetracker/jira/JiraIssue.java
- +4 −4 issuetracker/src/main/java/org/openjdk/skara/issuetracker/jira/JiraProject.java
- +1 −1 test/src/main/java/org/openjdk/skara/test/CensusBuilder.java
- +4 −4 test/src/main/java/org/openjdk/skara/test/HostCredentials.java
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
@@ -29,7 +29,7 @@ | ||
import java.util.*; | ||
|
||
class InMemoryHost implements Forge { | ||
HostUser currentUserDetails = HostUser.create(0, "openjdk", "openjdk [bot]"); | ||
Map<String, Set<HostUser>> groups; | ||
|
||
@Override | ||
Oops, something went wrong.
5fa4d6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review
5fa4d6e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review