Package

work.martins.simon

expect

Permalink

package expect

Visibility
  1. Public
  2. All

Type Members

  1. class Settings extends AnyRef

    Permalink

    This class holds all the settings that parameterize expect.

    This class holds all the settings that parameterize expect.

    By default these settings are read from the Config obtained with ConfigFactory.load().

    You can change the settings in multiple ways:

    • Change them in the default configuration file (e.g. application.conf)
    • Pass a different config holding your configurations:
    new Settings(yourConfig)

    However it will be more succinct to pass your config directly to expect:

    new Expect(yourCommand, yourDefaultValue, yourConfig)
    • Extend this class overriding the settings you want to redefine
    object YourSettings extends Settings() {
      override val timeout: FiniteDuration = 2.minutes
      override val bufferSize: Int = 4096
    }
    new Expect(yourCommand, yourDefaultValue, YourSettings)

Value Members

  1. object EndOfFile

    Permalink
  2. object StringUtils

    Permalink
  3. object Timeout

    Permalink
  4. package core

    Permalink
  5. package dsl

    Permalink
  6. package fluent

    Permalink

Ungrouped