commit | 78c521f4da410789231178c6c980ccc8c07e208a | [log] [tgz] |
---|---|---|
author | Hamza Kaced <hamza.kaced@ericsson.com> | Tue May 26 12:57:04 2020 -0400 |
committer | Hamza Kaced <hamza.kaced@ericsson.com> | Wed May 27 09:08:44 2020 -0400 |
tree | 507d7cf1a249a5da3f2a598eb16d56b5b51f78ca | |
parent | 945f41de7a0f106d35e03607618165fe184e5338 [diff] |
Fix malfunctioning tests Fix testDoFilterWithExistingProjectAndPackage test by adding a missing line which adds a mock project to the cache. Without this line, the test will assume that the entire string used is a valid project which is not the case (The extra is meant to represent a package, not a project). This fix is based on the changes made on the parent commit. Fix testDoFilterWithNonExistingProject test by using empty option. Optional.of does not work with null values and will throw a NullPointerException when the argument is null. empty returns an empty Optional value best representing the test case of a non existing project. Bug: Issue 12454 Change-Id: I356751bec4ccb6f44226219c9ae7b41e7dc02cd7
This plugin allows you to perform go get
requests against a Gerrit project.
For more information, see: src/main/resources/Documentation/about.md