In-memory tests for searching changes
Use InMemoryModule to inject everything needed to manually insert commits into a repo and changes into a database, then query the results. Change-Id: I22f6d663039039dd4d3f2189e587dbd22f11252b
This commit is contained in:
@@ -924,7 +924,7 @@ public class ChangeJson {
|
||||
Boolean mergeable;
|
||||
|
||||
String _sortkey;
|
||||
int _number;
|
||||
public int _number;
|
||||
|
||||
AccountInfo owner;
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@ import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
@RequiresCapability(GlobalCapability.CREATE_PROJECT)
|
||||
class CreateProject implements RestModifyView<TopLevelResource, Input> {
|
||||
static class Input {
|
||||
public class CreateProject implements RestModifyView<TopLevelResource, Input> {
|
||||
public static class Input {
|
||||
String name;
|
||||
String parent;
|
||||
String description;
|
||||
@@ -59,7 +59,7 @@ class CreateProject implements RestModifyView<TopLevelResource, Input> {
|
||||
String maxObjectSizeLimit;
|
||||
}
|
||||
|
||||
static interface Factory {
|
||||
public static interface Factory {
|
||||
CreateProject create(String name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user