|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jetbrains.jet.checkers.CheckerTestUtil
public class CheckerTestUtil
Nested Class Summary | |
---|---|
static class |
CheckerTestUtil.AbstractDiagnosticForTests
|
static class |
CheckerTestUtil.DebugInfoDiagnostic
|
static class |
CheckerTestUtil.DebugInfoDiagnosticFactory
|
static class |
CheckerTestUtil.DiagnosedRange
|
static interface |
CheckerTestUtil.DiagnosticDiffCallbacks
|
static class |
CheckerTestUtil.SyntaxErrorDiagnostic
|
static class |
CheckerTestUtil.SyntaxErrorDiagnosticFactory
|
Field Summary | |
---|---|
static java.util.Comparator<Diagnostic> |
DIAGNOSTIC_COMPARATOR
|
Constructor Summary | |
---|---|
CheckerTestUtil()
|
Method Summary | |
---|---|
static java.lang.StringBuffer |
addDiagnosticMarkersToText(com.intellij.psi.PsiFile psiFile,
java.util.Collection<Diagnostic> diagnostics)
|
static java.lang.StringBuffer |
addDiagnosticMarkersToText(com.intellij.psi.PsiFile psiFile,
java.util.Collection<Diagnostic> diagnostics,
com.intellij.util.Function<com.intellij.psi.PsiFile,java.lang.String> getFileText)
|
static void |
diagnosticsDiff(java.util.List<CheckerTestUtil.DiagnosedRange> expected,
java.util.Collection<Diagnostic> actual,
CheckerTestUtil.DiagnosticDiffCallbacks callbacks)
|
static java.util.List<Diagnostic> |
getDebugInfoDiagnostics(com.intellij.psi.PsiElement root,
BindingContext bindingContext)
|
static java.util.List<Diagnostic> |
getDiagnosticsIncludingSyntaxErrors(BindingContext bindingContext,
com.intellij.psi.PsiElement root)
|
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<Diagnostic> DIAGNOSTIC_COMPARATOR
Constructor Detail |
---|
public CheckerTestUtil()
Method Detail |
---|
public static java.util.List<Diagnostic> getDiagnosticsIncludingSyntaxErrors(BindingContext bindingContext, com.intellij.psi.PsiElement root)
public static java.util.List<Diagnostic> getDebugInfoDiagnostics(@NotNull com.intellij.psi.PsiElement root, @NotNull BindingContext bindingContext)
public static void diagnosticsDiff(java.util.List<CheckerTestUtil.DiagnosedRange> expected, java.util.Collection<Diagnostic> 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<Diagnostic> diagnostics)
public static java.lang.StringBuffer addDiagnosticMarkersToText(@NotNull com.intellij.psi.PsiFile psiFile, @NotNull java.util.Collection<Diagnostic> diagnostics, @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 |