Fixed tests compilation, removed test delay in AbstractBlock#getSubBlocks

This commit is contained in:
Yaroslav Lepenkin
2016-05-30 21:08:36 +03:00
parent 98452b0387
commit 92d635790c
3 changed files with 2 additions and 10 deletions
@@ -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();
}
}
@@ -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);
}
}