DefaultTestProfiles

!! No backward compatibility guarantees !! Reuse at your own risk

Since

2.0.0

Constructors

Link copied to clipboard
constructor(profiles: Map<String, Map<String, TestConfig>>)

Functions

Link copied to clipboard
open operator override fun contains(profileName: String): <Error class: unknown class>

Indicates if the given profileName is part of this collection or not.

Link copied to clipboard
operator fun TestProfiles.contains(testType: TestType): Boolean

Indicates if the given testType is used as profile name in this TestProfiles collection or not.

Link copied to clipboard
open override fun envs(profileName: String): Set<String>

Returns all specified environments for the given profileName and throws in case the profile name is not specified in this collection.

Link copied to clipboard
open override fun find(profileName: String, env: String): TestConfig?

Returns the TestConfig of the given profileName and env or null in case the profile or environment does not exist.

Link copied to clipboard
open override fun get(profileName: String, env: String): TestConfig

Returns the TestConfig of the given profileName and env.

Link copied to clipboard
open override fun profileNames(): Set<String>

Returns all specified profile names.

Link copied to clipboard

Returns a copy of this collection as a MutableList where the Pair.first are the profile names and Pair.second is again a MutableList where Pair.first are the envs and Pair.second the associated TestConfig.