TestAnnotationMap

zio.test.TestAnnotationMap
See theTestAnnotationMap companion object
final class TestAnnotationMap

An annotation map keeps track of annotations of different types.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def annotate[V](key: TestAnnotation[V], value: V): TestAnnotationMap

Appends the specified annotation to the annotation map.

Appends the specified annotation to the annotation map.

Attributes

def get[V](key: TestAnnotation[V]): V

Retrieves the annotation of the specified type, or its default value if there is none.

Retrieves the annotation of the specified type, or its default value if there is none.

Attributes

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any