private void readTestStep(final HierarchicalStreamReader reader, final TestOutcome testOutcome) { TestStep step = new TestStep(); String testResultValue = reader.getAttribute(RESULT_FIELD); TestResult result = TestResult.valueOf(testResultValue); step.setResult(result); Long duration = readDuration(reader); step.setDuration(duration); readTestStepChildren(reader, step); testOutcome.recordStep(step); }
private void readTestStep(final HierarchicalStreamReader reader, final TestOutcome testOutcome) { TestStep step = new TestStep(); String testResultValue = reader.getAttribute(RESULT_FIELD); TestResult result = TestResult.valueOf(testResultValue); step.setResult(result); Long duration = readDuration(reader); step.setDuration(duration); readTestStepChildren(reader, step); testOutcome.recordStep(step); }
private void readTestStep(final HierarchicalStreamReader reader, final TestOutcome testOutcome) { TestStep step = new TestStep(); String testResultValue = reader.getAttribute(RESULT_FIELD); TestResult result = TestResult.valueOf(testResultValue); step.setResult(result); Long duration = readDuration(reader); step.setDuration(duration); readTestStepChildren(reader, step); testOutcome.recordStep(step); }
testOutcome = testOutcome.withQualifier(unescape(reader.getAttribute(QUALIFIER_FIELD))); Long duration = readDuration(reader); testOutcome.setDuration(duration); Optional<DateTime> startTime = readTimestamp(reader);
testOutcome = testOutcome.withQualifier(unescape(reader.getAttribute(QUALIFIER_FIELD))); Long duration = readDuration(reader); testOutcome.setDuration(duration); Optional<DateTime> startTime = readTimestamp(reader);
testOutcome = testOutcome.withQualifier(unescape(reader.getAttribute(QUALIFIER_FIELD))); Long duration = readDuration(reader); testOutcome.setDuration(duration); Optional<ZonedDateTime> startTime = readTimestamp(reader);