IG: fix test

This commit is contained in:
Bas Leijdekkers
2015-08-25 22:55:17 +02:00
parent c89b9ff1b2
commit 31d59cee3f
@@ -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");
}