gerrit/gerrit-acceptance-tests
Edwin Kempin 0520e08cb6 Files REST endpoint: Don't parse non-existing files
Rather fail with ResourceNotFoundException.

This is e.g. important for the GetDiff REST endpoint as it returns an
empty diff for non-existing files. As result the diff screen shows an
empty diff for any non-existing file, but users expect to see an
error.

This change may break existing users of the extension API since the
RevisionApi#file(String) is now throwing RestApiException.

Change-Id: If0c172818b553129145f5ccd2f99e19b94472cce
Signed-off-by: Edwin Kempin <ekempin@google.com>
2016-08-22 12:56:55 +02:00
..
src/test/java/com/google/gerrit/acceptance Files REST endpoint: Don't parse non-existing files 2016-08-22 12:56:55 +02:00
BUCK Buck: Remove jgit cell 2016-04-20 22:02:49 +02:00
BUILD Implement Bazel build 2016-06-14 21:12:02 +02:00
tests.bzl Implement Bazel build 2016-06-14 21:12:02 +02:00
tests.defs Buck: Acceptance tests depend unconditionally on bouncycastle 2016-06-06 23:00:34 +02:00