Format Java files with google-java-format
Change-Id: Ibb3f47b14e07d0ce898b6b88a64e860f0d2af9ac
This commit is contained in:
@@ -648,28 +648,32 @@ public abstract class AbstractDaemonTest {
|
||||
String changeId, String ref, TestAccount testAccount, TestRepository<?> repo)
|
||||
throws Exception {
|
||||
Collections.shuffle(RANDOM);
|
||||
return amendChange(changeId, ref, testAccount, repo, PushOneCommit.SUBJECT,
|
||||
PushOneCommit.FILE_NAME, new String(Chars.toArray(RANDOM)));
|
||||
return amendChange(
|
||||
changeId,
|
||||
ref,
|
||||
testAccount,
|
||||
repo,
|
||||
PushOneCommit.SUBJECT,
|
||||
PushOneCommit.FILE_NAME,
|
||||
new String(Chars.toArray(RANDOM)));
|
||||
}
|
||||
|
||||
protected PushOneCommit.Result amendChange(String changeId, String subject, String fileName,
|
||||
String content) throws Exception {
|
||||
protected PushOneCommit.Result amendChange(
|
||||
String changeId, String subject, String fileName, String content) throws Exception {
|
||||
return amendChange(changeId, "refs/for/master", admin, testRepo, subject, fileName, content);
|
||||
}
|
||||
|
||||
protected PushOneCommit.Result amendChange(
|
||||
String changeId, String ref, TestAccount testAccount, TestRepository<?> repo, String subject,
|
||||
String fileName, String content)
|
||||
String changeId,
|
||||
String ref,
|
||||
TestAccount testAccount,
|
||||
TestRepository<?> repo,
|
||||
String subject,
|
||||
String fileName,
|
||||
String content)
|
||||
throws Exception {
|
||||
PushOneCommit push =
|
||||
pushFactory.create(
|
||||
db,
|
||||
testAccount.getIdent(),
|
||||
repo,
|
||||
subject,
|
||||
fileName,
|
||||
content,
|
||||
changeId);
|
||||
pushFactory.create(db, testAccount.getIdent(), repo, subject, fileName, content, changeId);
|
||||
return push.to(ref);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user