Add more test coverage for ListFiles
This change adds two tests for ListFiles, which covers the code paths when 'base' or 'query' field is set. Bug: Issue 6189 Change-Id: I6afd2881abb46732ea9a973d1ba7f21d6b23506a
This commit is contained in:
@@ -69,6 +69,8 @@ public interface RevisionApi {
|
||||
|
||||
Map<String, FileInfo> files(int parentNum) throws RestApiException;
|
||||
|
||||
List<String> queryFiles(String query) throws RestApiException;
|
||||
|
||||
FileApi file(String path);
|
||||
|
||||
CommitInfo commit(boolean addLinks) throws RestApiException;
|
||||
@@ -238,6 +240,11 @@ public interface RevisionApi {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> queryFiles(String query) throws RestApiException {
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public FileApi file(String path) {
|
||||
throw new NotImplementedException();
|
||||
|
||||
Reference in New Issue
Block a user