From f3bee99f00f8e15eec068e06332c579d39ca2043 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Mon, 21 Dec 2020 10:35:38 -0500 Subject: [PATCH] Bug 569839: Don't discard exceptions in tests Change-Id: I710922fcc1b23d61d52fa1aa868b491bc26edf01 --- .../org/eclipse/cdt/core/tests/BaseTestFramework.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/core/org.eclipse.cdt.core.tests/regression/org/eclipse/cdt/core/tests/BaseTestFramework.java b/core/org.eclipse.cdt.core.tests/regression/org/eclipse/cdt/core/tests/BaseTestFramework.java index 546b5c169a4..1cfdded6006 100644 --- a/core/org.eclipse.cdt.core.tests/regression/org/eclipse/cdt/core/tests/BaseTestFramework.java +++ b/core/org.eclipse.cdt.core.tests/regression/org/eclipse/cdt/core/tests/BaseTestFramework.java @@ -92,8 +92,6 @@ abstract public class BaseTestFramework extends BaseTestCase { public void cleanupProject() throws Exception { try { project.delete(true, false, monitor); - } catch (Throwable e) { - /*boo*/ } finally { project = null; } @@ -116,11 +114,7 @@ abstract public class BaseTestFramework extends BaseTestCase { continue; if (member.getName().equals(".settings")) continue; - try { - member.delete(false, monitor); - } catch (Throwable e) { - /*boo*/ - } + member.delete(false, monitor); } }