public class IdbOutputParsing extends Object
idb.| Modifier and Type | Class and Description |
|---|---|
static interface |
IdbOutputParsing.IdbResultCallback
Callbacks invoked with events emitted by
idb. |
| Constructor and Description |
|---|
IdbOutputParsing() |
| Modifier and Type | Method and Description |
|---|---|
static void |
streamOutputFromReader(Reader reader,
IdbOutputParsing.IdbResultCallback resultCallback)
Decodes a stream of JSON objects as produced by
xctool -reporter json-stream and
invokes the callbacks in eventCallback with each event in the stream. |
static TestResultSummary |
testResultSummaryForTestResult(com.facebook.buck.apple.ImmutableIdbTestResult result)
Function that will generate a TestResultSummary from the result of a test printed by idb
(ImmutableIdbTestResult)
|
public static void streamOutputFromReader(Reader reader, IdbOutputParsing.IdbResultCallback resultCallback)
xctool -reporter json-stream and
invokes the callbacks in eventCallback with each event in the stream.public static TestResultSummary testResultSummaryForTestResult(com.facebook.buck.apple.ImmutableIdbTestResult result)