mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-17 08:59:21 +07:00
suggest AddEmptyRecordHeaderFix in case of no record header
GitOrigin-RevId: ac6a585e1ccdb091a02d49d2f8bf2e55bf2114cb
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ca80fb7215
commit
2cc8b2c194
+3
@@ -0,0 +1,3 @@
|
||||
// "Insert '()'" "true"
|
||||
|
||||
record A() {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
// "Insert '()'" "true"
|
||||
|
||||
record <caret>A {}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.java.codeInsight.daemon.quickFix;
|
||||
|
||||
import com.intellij.codeInsight.daemon.quickFix.LightQuickFixParameterizedTestCase;
|
||||
import com.intellij.testFramework.LightProjectDescriptor;
|
||||
import com.intellij.testFramework.fixtures.LightJavaCodeInsightFixtureTestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class AddEmptyRecordHeaderTest extends LightQuickFixParameterizedTestCase {
|
||||
@NotNull
|
||||
@Override
|
||||
protected LightProjectDescriptor getProjectDescriptor() {
|
||||
return LightJavaCodeInsightFixtureTestCase.JAVA_14;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getBasePath() {
|
||||
return "/codeInsight/daemonCodeAnalyzer/quickFix/addEmptyRecordHeader";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user