Resources Test Utils

⚠️ Deprecated: This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Android iOS JVM JS WasmJS macOS tvOS watchOS
           

This library adds support for testing the resources module to test-utils

Installing

This library is available on Maven Central. You can import Kaluga Test Utils Resources as follows:

repositories {
    // ...
    mavenCentral()
}
// ...
dependencies {
    // ...
    implementation("com.splendo.kaluga.resources:test:$kalugaVersion")
}

Mocks

This library contains mock classes for StringLoader, FontLoader, KalugaColorLoader and ImageLoader.

Call mockColor, mockFont, or mockImage to generate mocks for KalugaColor, KalugaFont, or KalugaImage respectively.