use of com.intellij.refactoring.typeMigration.inspections.MigrateAssertToMatcherAssertInspection in project intellij-community by JetBrains.
the class MigrateAssertToMatcherAssertTest method testAll.
public void testAll() {
myFixture.configureByFile(getTestName(true) + ".java");
myFixture.enableInspections(new MigrateAssertToMatcherAssertInspection());
for (IntentionAction wrapper : myFixture.getAllQuickFixes()) {
if (wrapper instanceof QuickFixWrapper) {
final LocalQuickFix fix = ((QuickFixWrapper) wrapper).getFix();
if (fix instanceof MigrateAssertToMatcherAssertInspection.MyQuickFix) {
myFixture.launchAction(wrapper);
}
}
}
myFixture.checkResultByFile(getTestName(true) + "_after.java");
}
Aggregations