android-components / mozilla.components.support.test.file / kotlin.Any / loadResourceAsString

loadResourceAsString

fun Any.loadResourceAsString(path: String): String (source)

Loads a file from the resources folder and returns its content as a string object.

Parameters

path - The path where the file is located