commonMain.ch.tutteli.atrium.assertions.BasicAssertionGroup.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of atrium-core-jvm Show documentation
Show all versions of atrium-core-jvm Show documentation
Core module of Atrium, containing all contracts/interfaces and default implementations
package ch.tutteli.atrium.assertions
import ch.tutteli.atrium.reporting.translating.Translatable
/**
* A default implementation for [AssertionGroup] -- it has a certain [type], a [description], a [representation]
* and of course [assertions].
*
* @constructor A default implementation for [AssertionGroup].
* @param type The type of the group, e.g. [FeatureAssertionGroupType].
* @param description The description of the group.
* @param representation The representation of the subject for which the [assertions] are defined.
* @param assertions The assertions of this group, which are defined for the subject represented by [representation].
*/
internal data class BasicAssertionGroup(
override val type: AssertionGroupType,
override val description: Translatable,
override val representation: Any,
override val assertions: List
) : AssertionGroup
© 2015 - 2024 Weber Informatics LLC | Privacy Policy