and

open fun and(pairs: Array<String>): TestPropertyValues

Return a new TestPropertyValues instance with additional entries. Name-value pairs can be specified with colon (":") or equals ("=") separators.

Return

a new TestPropertyValues instance

Parameters

pairs

the property pairs to add


open fun and(pairs: Stream<String>): TestPropertyValues

Return a new TestPropertyValues instance with additional entries. Name-value pairs can be specified with colon (":") or equals ("=") separators.

Return

a new TestPropertyValues instance

Since

2.4.0

Parameters

pairs

the property pairs to add


Return a new TestPropertyValues instance with additional entries.

Return

a new TestPropertyValues instance

Since

2.4.0

Parameters

map

the map of properties that need to be added to the environment


open fun <T> and(stream: Stream<T>, mapper: (T) -> TestPropertyValues.Pair): TestPropertyValues

Return a new TestPropertyValues instance with additional entries.

Return

a new TestPropertyValues instance

Since

2.4.0

Parameters

<T>

the stream element type

stream

the elements that need to be added to the environment

mapper

a mapper function to convert an element from the stream into a Pair