eclipse/BUILD-FAILED-with-compilation-failure-in-org-eclipse-test.patch
2022-05-06 01:37:46 +00:00

51 lines
2.0 KiB
Diff

From 7955cc64a07f38c57f45c9ce79d53031c4502c23 Mon Sep 17 00:00:00 2001
From: Sravan Kumar Lakkimsetti
Date: Wed, 28 Apr 2021 12:23:23 +0530
Subject: Bug 573206 - I20210428-0040 - BUILD FAILED with compilation failure
in org.eclipse.test
Update to Ant 1.10.10
Change-Id: I5273072f05d1080b2df61e8c839b4292d1b63c48
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Reviewed-on:https://git.eclipse.org/r/c/platform/eclipse.platform.releng/+/179905
---
.../src/org/eclipse/test/LegacyXmlResultFormatter.java | 9 ++++++++-
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git eclipse.platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java eclipse.platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java
index e7011aae4..99676ef77 100644
--- eclipse.platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java
+++ eclipse.platform.releng/bundles/org.eclipse.test/src/org/eclipse/test/LegacyXmlResultFormatter.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2018 Red Hat Inc. and others.
+ * Copyright (c) 2021 Red Hat Inc. and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
@@ -64,6 +64,8 @@ public class LegacyXmlResultFormatter extends AbstractJUnitResultFormatter {
final AtomicLong numTestsSkipped = new AtomicLong(0);
final AtomicLong numTestsAborted = new AtomicLong(0);
+ private boolean useLegacyReportingName = false;
+
@Override
public void testPlanExecutionStarted(final TestPlan plan) {
@@ -156,6 +158,11 @@ public class LegacyXmlResultFormatter extends AbstractJUnitResultFormatter {
this.startedAt = startedAt;
}
}
+ @Override
+ public void setUseLegacyReportingName(final boolean useLegacyReportingName) {
+ this.useLegacyReportingName = useLegacyReportingName;
+ }
+
private final class XMLReportWriter {
--
2.30.0