From 31d59cee3f5bc27582724b29aa2dcedc2e56710e Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Tue, 25 Aug 2015 22:54:42 +0200 Subject: [PATCH] IG: fix test --- .../ig/fixes/classlayout/ClassMayBeInterfaceFixTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/fixes/classlayout/ClassMayBeInterfaceFixTest.java b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/fixes/classlayout/ClassMayBeInterfaceFixTest.java index a5997a343acb..a1e6a7bee27d 100644 --- a/plugins/InspectionGadgets/testsrc/com/siyeh/ig/fixes/classlayout/ClassMayBeInterfaceFixTest.java +++ b/plugins/InspectionGadgets/testsrc/com/siyeh/ig/fixes/classlayout/ClassMayBeInterfaceFixTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2015 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. @@ -27,7 +27,9 @@ public class ClassMayBeInterfaceFixTest extends IGQuickFixesTestCase { @Override protected void setUp() throws Exception { super.setUp(); - myFixture.enableInspections(new ClassMayBeInterfaceInspection()); + final ClassMayBeInterfaceInspection inspection = new ClassMayBeInterfaceInspection(); + inspection.reportClassesWithNonAbstractMethods = true; + myFixture.enableInspections(inspection); myRelativePath = "classlayout/class_may_be_interface"; myDefaultHint = InspectionGadgetsBundle.message("class.may.be.interface.convert.quickfix"); }