This library adds support for testing the resources
module to test-utils
This library is available on Maven Central. You can import Kaluga Test Utils Resources as follows:
repositories {
// ...
mavenCentral()
}
// ...
dependencies {
// ...
implementation("com.splendo.kaluga:test-utils-resources:$kalugaVersion")
}
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.