diff options
Diffstat (limited to 'javatests/com/google/gerrit/acceptance/api/change/SubmitRequirementIT.java')
-rw-r--r-- | javatests/com/google/gerrit/acceptance/api/change/SubmitRequirementIT.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/javatests/com/google/gerrit/acceptance/api/change/SubmitRequirementIT.java b/javatests/com/google/gerrit/acceptance/api/change/SubmitRequirementIT.java index c7d1c5ef20..42af666a77 100644 --- a/javatests/com/google/gerrit/acceptance/api/change/SubmitRequirementIT.java +++ b/javatests/com/google/gerrit/acceptance/api/change/SubmitRequirementIT.java @@ -1597,6 +1597,7 @@ public class SubmitRequirementIT extends AbstractDaemonTest { // Clear SRs for the project and update code-review label to be non-blocking. clearSubmitRequirements(project); + @SuppressWarnings("deprecation") LabelType cr = TestLabels.codeReview().toBuilder().setFunction(LabelFunction.NO_BLOCK).build(); try (ProjectConfigUpdate u = updateProject(project)) { @@ -1643,6 +1644,7 @@ public class SubmitRequirementIT extends AbstractDaemonTest { // Clear SRs for the project and update code-review label to be non-blocking. clearSubmitRequirements(project); + @SuppressWarnings("deprecation") LabelType cr = TestLabels.codeReview().toBuilder().setFunction(LabelFunction.NO_BLOCK).build(); try (ProjectConfigUpdate u = updateProject(project)) { @@ -2857,6 +2859,7 @@ public class SubmitRequirementIT extends AbstractDaemonTest { .setAllowOverrideInChildProjects(true) .build()); + @SuppressWarnings("deprecation") LabelType cr = TestLabels.codeReview().toBuilder().setFunction(LabelFunction.NO_BLOCK).build(); try (ProjectConfigUpdate u = updateProject(project)) { u.getConfig().upsertLabelType(cr); |