EvalResult

mill.testkit.IntegrationTester.EvalResult
case class EvalResult(result: CommandResult)

A very simplified version of os.CommandResult meant for easily performing assertions against.

Attributes

Source
IntegrationTester.scala
Graph
Supertypes
trait Serializable
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def debugString: String

Attributes

Source
IntegrationTester.scala
def err: String

Attributes

Source
IntegrationTester.scala
def exitCode: Int

Attributes

Source
IntegrationTester.scala
def isSuccess: Boolean

Attributes

Source
IntegrationTester.scala
def out: String

Attributes

Source
IntegrationTester.scala
override def productArity: Int

The size of this product.

The size of this product.

Attributes

Returns

for a product A(x,,1,,, ..., x,,k,,), returns k

Definition Classes
Product
Source
IntegrationTester.scala
override def productElement(n: Int): Any

The n^th^ element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k.

The n^th^ element of this product, 0-based. In other words, for a product A(x,,1,,, ..., x,,k,,), returns x,,(n+1),, where 0 <= n < k.

Value parameters

n

the index of the element to return

Attributes

Returns

the element n elements after the first element

Throws
IndexOutOfBoundsException

if the n is out of range(n < 0 || n >= productArity).

Definition Classes
Product
Source
IntegrationTester.scala
override def productElementName(n: Int): String

The name of the n^th^ element of this product, 0-based. In the default implementation, an empty string.

The name of the n^th^ element of this product, 0-based. In the default implementation, an empty string.

Value parameters

n

the index of the element name to return

Attributes

Returns

the name of the specified element

Throws
IndexOutOfBoundsException

if the n is out of range(n < 0 || n >= productArity).

Definition Classes
Product
Source
IntegrationTester.scala
override def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Definition Classes
Product
Source
IntegrationTester.scala
def productElementNames0: Seq[String]

Attributes

Source
IntegrationTester.scala
def productElements0: Seq[Seq[String] | Int | String]

Attributes

Source
IntegrationTester.scala
override def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Definition Classes
Product
Source
IntegrationTester.scala