mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-65434 Ctrl+Shift+Enter bug in conditional blocks
Corrected situation when we complete statement with empty code block and code style is set to keep simple instructions in one line
This commit is contained in:
@@ -46,7 +46,7 @@ public abstract class EditorActionTestCase extends LightCodeInsightTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Perform action test using text before and after action perform. Useas <caret> marker where caret should be
|
||||
* Perform action test using text before and after action perform. Uses <caret> marker where caret should be
|
||||
* placed when file is loaded in editor and <selection></selection> denoting selection bounds.
|
||||
* @param fileName name of the file. Mostly used to create proper instance of the PsiFile
|
||||
* @param textBefore text with markers before action
|
||||
@@ -68,7 +68,7 @@ public abstract class EditorActionTestCase extends LightCodeInsightTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as doTextTest but texts are retreived from the data files.
|
||||
* Same as doTextTest but texts are retrieved from the data files.
|
||||
* @param filePathBefore source file's relative path from %IDEA_INSTALLATION_HOME%/testData/
|
||||
* @param filePathAfter expected file's relative path from %IDEA_INSTALLATION_HOME%/testData/
|
||||
* @throws Exception
|
||||
@@ -78,7 +78,7 @@ public abstract class EditorActionTestCase extends LightCodeInsightTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* Same as doTextTest but texts are retreived from the data files.
|
||||
* Same as doTextTest but texts are retrieved from the data files.
|
||||
* @param filePathBefore source file's relative path from %IDEA_INSTALLATION_HOME%/testData/
|
||||
* @param filePathAfter expected file's relative path from %IDEA_INSTALLATION_HOME%/testData/
|
||||
* @param ignoreTrailingSpaces true if trailing spaces should be ignored.
|
||||
|
||||
Reference in New Issue
Block a user