use of com.intellij.testFramework.utils.inlays.InlayHintsChecker in project intellij-community by JetBrains.
the class CodeInsightTestFixtureImpl method testInlays.
@Override
public void testInlays() {
InlayHintsChecker checker = new InlayHintsChecker(this);
try {
checker.setUp();
checker.checkInlays();
} finally {
checker.tearDown();
}
}
use of com.intellij.testFramework.utils.inlays.InlayHintsChecker in project intellij-community by JetBrains.
the class CodeInsightTestFixtureImpl method checkResultWithInlays.
@Override
public void checkResultWithInlays(String text) {
Document checkDocument = new DocumentImpl(text);
InlayHintsChecker checker = new InlayHintsChecker(this);
List<InlayInfo> inlayInfos = checker.extractInlays(checkDocument);
checkResult(checkDocument.getText());
checker.verifyInlays(inlayInfos, text);
}
Aggregations