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
    void close()  
    java.util.Iterator<TestOutcome> iterator()  
    static TestOutcomeStream testOutcomesInDirectory​(java.nio.file.Path sourceDirectory)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public java.util.Iterator<TestOutcome> iterator()
      Specified by:
      iterator in interface java.lang.Iterable<TestOutcome>
    • close

      public void close() throws java.io.IOException
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
      Throws:
      java.io.IOException