mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-06 10:07:41 +07:00
Generate Test: reformat template (IDEA-25540)
This commit is contained in:
@@ -129,6 +129,9 @@ public class TestIntegrationUtils {
|
||||
String name,
|
||||
boolean automatic) {
|
||||
Template template = createTestMethodTemplate(methodKind, descriptor, targetClass, name, automatic);
|
||||
template.setToIndent(true);
|
||||
template.setToReformat(true);
|
||||
template.setToShortenLongNames(true);
|
||||
|
||||
final TextRange range = method.getTextRange();
|
||||
editor.getDocument().replaceString(range.getStartOffset(), range.getEndOffset(), "");
|
||||
|
||||
Reference in New Issue
Block a user