[TEST] Add implementation of new infrastructure services for compiler tests
All of new classes lays in lays in :compiler:tests-common-new module which includes classes for FE 1.0 and FIR diagnostics tests and JVM black boxtests
This commit is contained in:
@@ -149,7 +149,7 @@ object CheckerTestUtil {
|
||||
return diagnostics
|
||||
}
|
||||
|
||||
private fun getDebugInfoDiagnostics(
|
||||
fun getDebugInfoDiagnostics(
|
||||
root: PsiElement,
|
||||
bindingContext: BindingContext,
|
||||
markDynamicCalls: Boolean,
|
||||
|
||||
+4
@@ -36,4 +36,8 @@ public abstract class DiagnosticFactoryWithPsiElement<E extends PsiElement, D ex
|
||||
protected boolean isValid(ParametrizedDiagnostic<E> diagnostic) {
|
||||
return positioningStrategy.isValid(diagnostic.getPsiElement());
|
||||
}
|
||||
|
||||
public PositioningStrategy<? super E> getPositioningStrategy() {
|
||||
return positioningStrategy;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user