KoArchitectureCreator

A singleton object representing the KoArchitectureCreator that implements the KoArchitectureAssertion interface.

This object provides a way to access the functionalities defined in the KoArchitectureAssertion interface. It serves as the entry point for working with architecture assertions.

See also

Functions

Link copied to clipboard
open override fun architecture(layerDependenciesFunc: LayerDependencies.() -> Unit): LayerDependencies

Creates and returns a LayerDependencies instance representing the configured dependencies of the architecture, defined as a function literal with receiver LayerDependencies.

Link copied to clipboard
open override fun KoScope.assertArchitecture(layerDependenciesFunc: LayerDependencies)

Asserts the architecture with the specified layerDependenciesFunc.

open override fun KoScope.assertArchitecture(layerDependenciesFunc: LayerDependencies.() -> Unit)

Asserts the architecture with the specified layerDependenciesFunc defined as a function literal with receiver LayerDependencies.

open override fun List<KoFileDeclaration>.assertArchitecture(layerDependenciesFunc: LayerDependencies)

Asserts the architecture with the specified layerDependenciesFunc.

open override fun List<KoFileDeclaration>.assertArchitecture(layerDependenciesFunc: LayerDependencies.() -> Unit)

Asserts the architecture with the specified layerDependenciesFunc defined as a function literal with receiver LayerDependencies.

open override fun KoScope.assertArchitecture(additionalMessage: String?, testName: String?, layerDependenciesFunc: LayerDependencies)

Asserts the architecture with the specified layerDependenciesFunc.

open override fun KoScope.assertArchitecture(additionalMessage: String?, testName: String?, layerDependenciesFunc: LayerDependencies.() -> Unit)

Asserts the architecture with the specified layerDependenciesFunc defined as a function literal with receiver LayerDependencies.

open override fun List<KoFileDeclaration>.assertArchitecture(additionalMessage: String?, testName: String?, layerDependenciesFunc: LayerDependencies)

Asserts the architecture with the specified layerDependenciesFunc.

open override fun List<KoFileDeclaration>.assertArchitecture(additionalMessage: String?, testName: String?, layerDependenciesFunc: LayerDependencies.() -> Unit)

Asserts the architecture with the specified layerDependenciesFunc defined as a function literal with receiver LayerDependencies.