Class Helper

java.lang.Object
com.soebes.itf.extension.assertj.Helper

class Helper extends Object
Helper class for LogAssert and MavenLogAssert.
Author:
Karl Heinz Marbaise
  • Field Details

    • IS_DEBUG

      static final Predicate<String> IS_DEBUG
      Prefix for each line which is logged in DEBUG state.
    • IS_INFO

      static final Predicate<String> IS_INFO
      Prefix for each line which is logged in INFO state.
    • IS_WARNING

      static final Predicate<String> IS_WARNING
      Prefix for each line which is logged in WARNING state.
    • IS_ERROR

      static final Predicate<String> IS_ERROR
      Prefix for each line which is logged in ERROR state.
  • Method Details

    • logs

      static Stream<String> logs(Path path)
      Parameters:
      path - The location of the file which will be read as a Stream.
      Returns:
      stream of String.