From 5d4175934f493e01eac9baa8e110cb72a38cef12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 20 Nov 2018 20:06:08 +0100 Subject: [PATCH] AppEngineCodeInsightTestCase: super.tearDown() in finally --- .../appengine/AppEngineCodeInsightTestCase.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/google-app-engine/testSource/com/intellij/appengine/AppEngineCodeInsightTestCase.java b/plugins/google-app-engine/testSource/com/intellij/appengine/AppEngineCodeInsightTestCase.java index 5b085d402318..e25d8b95f008 100644 --- a/plugins/google-app-engine/testSource/com/intellij/appengine/AppEngineCodeInsightTestCase.java +++ b/plugins/google-app-engine/testSource/com/intellij/appengine/AppEngineCodeInsightTestCase.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2015 JetBrains s.r.o. + * Copyright 2000-2018 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -66,8 +66,12 @@ public abstract class AppEngineCodeInsightTestCase extends UsefulTestCase { @Override protected void tearDown() throws Exception { - myCodeInsightFixture.tearDown(); - super.tearDown(); + try { + myCodeInsightFixture.tearDown(); + } + finally { + super.tearDown(); + } } protected CodeInsightTestFixture createCodeInsightFixture(final String relativeTestDataPath) throws Exception {