Package net.thucydides.core.reports
Class TestOutcomeStream
java.lang.Object
net.thucydides.core.reports.TestOutcomeStream
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,java.lang.Iterable<TestOutcome>
public class TestOutcomeStream extends java.lang.Object implements java.lang.Iterable<TestOutcome>, java.io.Closeable
-
Method Summary
Modifier and Type Method Description voidclose()java.util.Iterator<TestOutcome>iterator()static TestOutcomeStreamtestOutcomesInDirectory(java.nio.file.Path sourceDirectory)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
testOutcomesInDirectory
public static TestOutcomeStream testOutcomesInDirectory(java.nio.file.Path sourceDirectory) throws java.io.IOException- Throws:
java.io.IOException
-
iterator
- Specified by:
iteratorin interfacejava.lang.Iterable<TestOutcome>
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-