com.autonomousapps.kit.android.AndroidStyleRes.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-testkit-support Show documentation
Show all versions of gradle-testkit-support Show documentation
A DSL for building test fixtures with Gradle TestKit
The newest version!
// Copyright (c) 2024. Tony Robalik.
// SPDX-License-Identifier: Apache-2.0
package com.autonomousapps.kit.android
public class AndroidStyleRes(public val content: String) {
override fun toString(): String = content
internal fun isBlank(): Boolean = content.isBlank() || this == EMPTY
public companion object {
@JvmStatic
public fun of(content: String): AndroidStyleRes = AndroidStyleRes(content)
@JvmStatic
public val EMPTY: AndroidStyleRes = AndroidStyleRes(
"""
""".trimIndent()
)
@JvmStatic
public val DEFAULT: AndroidStyleRes = AndroidStyleRes(
"""
""".trimIndent()
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy