|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.checkers.CheckerTestUtil
public class CheckerTestUtil
| Nested Class Summary | |
|---|---|
static class |
CheckerTestUtil.AbstractDiagnosticForTests
|
static class |
CheckerTestUtil.ActualDiagnostic
|
static class |
CheckerTestUtil.DebugInfoDiagnostic
|
static class |
CheckerTestUtil.DebugInfoDiagnosticFactory
|
static class |
CheckerTestUtil.DiagnosedRange
|
static interface |
CheckerTestUtil.DiagnosticDiffCallbacks
|
static class |
CheckerTestUtil.SyntaxErrorDiagnostic
|
static class |
CheckerTestUtil.SyntaxErrorDiagnosticFactory
|
static class |
CheckerTestUtil.TextDiagnostic
|
| Field Summary | |
|---|---|
static java.util.Comparator<CheckerTestUtil.ActualDiagnostic> |
DIAGNOSTIC_COMPARATOR
|
| Constructor Summary | |
|---|---|
CheckerTestUtil()
|
|
| Method Summary | |
|---|---|
static java.lang.StringBuffer |
addDiagnosticMarkersToText(com.intellij.psi.PsiFile psiFile,
java.util.Collection<CheckerTestUtil.ActualDiagnostic> diagnostics)
|
static java.lang.StringBuffer |
addDiagnosticMarkersToText(com.intellij.psi.PsiFile psiFile,
java.util.Collection<CheckerTestUtil.ActualDiagnostic> diagnostics,
java.util.Map<CheckerTestUtil.ActualDiagnostic,CheckerTestUtil.TextDiagnostic> diagnosticToExpectedDiagnostic,
com.intellij.util.Function<com.intellij.psi.PsiFile,java.lang.String> getFileText)
|
static java.util.Map<CheckerTestUtil.ActualDiagnostic,CheckerTestUtil.TextDiagnostic> |
diagnosticsDiff(java.util.List<CheckerTestUtil.DiagnosedRange> expected,
java.util.Collection<CheckerTestUtil.ActualDiagnostic> actual,
CheckerTestUtil.DiagnosticDiffCallbacks callbacks)
|
static java.util.List<CheckerTestUtil.ActualDiagnostic> |
getDiagnosticsIncludingSyntaxErrors(BindingContext bindingContext,
java.util.List<kotlin.Pair<MultiTargetPlatform,BindingContext>> implementingModulesBindings,
com.intellij.psi.PsiElement root,
boolean markDynamicCalls,
java.util.List<DeclarationDescriptor> dynamicCallDescriptors)
|
static java.util.List<CheckerTestUtil.ActualDiagnostic> |
getDiagnosticsIncludingSyntaxErrors(BindingContext bindingContext,
com.intellij.psi.PsiElement root,
boolean markDynamicCalls,
java.util.List<DeclarationDescriptor> dynamicCallDescriptors,
java.lang.String platform)
|
static java.lang.String |
parseDiagnosedRanges(java.lang.String text,
java.util.List<CheckerTestUtil.DiagnosedRange> result)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.Comparator<CheckerTestUtil.ActualDiagnostic> DIAGNOSTIC_COMPARATOR
| Constructor Detail |
|---|
public CheckerTestUtil()
| Method Detail |
|---|
@NotNull
public static java.util.List<CheckerTestUtil.ActualDiagnostic> getDiagnosticsIncludingSyntaxErrors(@NotNull
BindingContext bindingContext,
@NotNull
java.util.List<kotlin.Pair<MultiTargetPlatform,BindingContext>> implementingModulesBindings,
@NotNull
com.intellij.psi.PsiElement root,
boolean markDynamicCalls,
@Nullable
java.util.List<DeclarationDescriptor> dynamicCallDescriptors)
@NotNull
public static java.util.List<CheckerTestUtil.ActualDiagnostic> getDiagnosticsIncludingSyntaxErrors(@NotNull
BindingContext bindingContext,
@NotNull
com.intellij.psi.PsiElement root,
boolean markDynamicCalls,
@Nullable
java.util.List<DeclarationDescriptor> dynamicCallDescriptors,
@Nullable
java.lang.String platform)
public static java.util.Map<CheckerTestUtil.ActualDiagnostic,CheckerTestUtil.TextDiagnostic> diagnosticsDiff(java.util.List<CheckerTestUtil.DiagnosedRange> expected,
java.util.Collection<CheckerTestUtil.ActualDiagnostic> actual,
CheckerTestUtil.DiagnosticDiffCallbacks callbacks)
public static java.lang.String parseDiagnosedRanges(java.lang.String text,
java.util.List<CheckerTestUtil.DiagnosedRange> result)
public static java.lang.StringBuffer addDiagnosticMarkersToText(@NotNull
com.intellij.psi.PsiFile psiFile,
@NotNull
java.util.Collection<CheckerTestUtil.ActualDiagnostic> diagnostics)
public static java.lang.StringBuffer addDiagnosticMarkersToText(@NotNull
com.intellij.psi.PsiFile psiFile,
@NotNull
java.util.Collection<CheckerTestUtil.ActualDiagnostic> diagnostics,
@NotNull
java.util.Map<CheckerTestUtil.ActualDiagnostic,CheckerTestUtil.TextDiagnostic> diagnosticToExpectedDiagnostic,
@NotNull
com.intellij.util.Function<com.intellij.psi.PsiFile,java.lang.String> getFileText)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||