public class TypecheckResult extends Object
Modifier | Constructor and Description |
---|---|
protected |
TypecheckResult(TestConfiguration configuration,
CompilationResult compilationResult,
List<TestDiagnostic> expectedDiagnostics,
boolean testFailed,
List<TestDiagnostic> missingDiagnostics,
List<TestDiagnostic> unexpectedDiagnostics) |
Modifier and Type | Method and Description |
---|---|
boolean |
didTestFail() |
static TypecheckResult |
fromCompilationResults(TestConfiguration configuration,
CompilationResult result,
List<TestDiagnostic> expectedDiagnostics) |
static TypecheckResult |
fromCompilationResultsExpectedDiagnostics(TestConfiguration configuration,
CompilationResult result,
List<TestDiagnostic> expectedDiagnostics) |
List<Diagnostic<? extends JavaFileObject>> |
getActualDiagnostics() |
CompilationResult |
getCompilationResult() |
TestConfiguration |
getConfiguration() |
List<String> |
getErrorHeaders() |
List<TestDiagnostic> |
getExpectedDiagnostics() |
List<TestDiagnostic> |
getMissingDiagnostics() |
List<TestDiagnostic> |
getUnexpectedDiagnostics() |
String |
summarize() |
protected TypecheckResult(TestConfiguration configuration, CompilationResult compilationResult, List<TestDiagnostic> expectedDiagnostics, boolean testFailed, List<TestDiagnostic> missingDiagnostics, List<TestDiagnostic> unexpectedDiagnostics)
public TestConfiguration getConfiguration()
public CompilationResult getCompilationResult()
public List<Diagnostic<? extends JavaFileObject>> getActualDiagnostics()
public List<TestDiagnostic> getExpectedDiagnostics()
public boolean didTestFail()
public List<TestDiagnostic> getMissingDiagnostics()
public List<TestDiagnostic> getUnexpectedDiagnostics()
public String summarize()
public static TypecheckResult fromCompilationResults(TestConfiguration configuration, CompilationResult result, List<TestDiagnostic> expectedDiagnostics)
public static TypecheckResult fromCompilationResultsExpectedDiagnostics(TestConfiguration configuration, CompilationResult result, List<TestDiagnostic> expectedDiagnostics)