All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.ch.tutteli.atrium.assertions.BasicAssertionGroup.kt Maven / Gradle / Ivy

Go to download

Core module of Atrium, containing all contracts/interfaces and default implementations

There is a newer version: 1.2.0
Show newest version
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