mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Fixed tests compilation, removed test delay in AbstractBlock#getSubBlocks
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ public class FormatterBasedLineInfoBuilderTest extends LightPlatformCodeInsightT
|
||||
TestFormattingModel model = new TestFormattingModel(text);
|
||||
Document document = model.getDocument();
|
||||
TestBlock block = new FormattingModelXmlReader(model).readTestBlock(getTestDataPath(), file);
|
||||
FormatterBasedLineIndentInfoBuilder builder = new FormatterBasedLineIndentInfoBuilder(document, block, indicator);
|
||||
FormatterBasedLineIndentInfoBuilder builder = new FormatterBasedLineIndentInfoBuilder(document, block, null);
|
||||
return builder.build();
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -78,6 +78,6 @@ public class NewLineBlocksIteratorTest extends AbstractNewLineBlocksIteratorTest
|
||||
TestFormattingModel model = new TestFormattingModel(text);
|
||||
Document document = model.getDocument();
|
||||
TestBlock block = new FormattingModelXmlReader(model).readTestBlock(getTestDataPath(), getFileName() + ".xml");
|
||||
return new NewLineBlocksIterator(block, document);
|
||||
return new NewLineBlocksIterator(block, document, null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user