MapSource

class MapSource(values: Map<String, String>, val keyFormat: KeyFormat = KeyFormat.RAW) : MapBackedSource(source)

An in-memory source for tests. Like the file-based sources, lookups fall back to a case-insensitive match and Map fields read their entries through children.

Constructors

Link copied to clipboard
constructor(values: Map<String, String>, keyFormat: KeyFormat = KeyFormat.RAW)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val keyFormat: KeyFormat
Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open override fun children(key: String): Map<String, String>?
Link copied to clipboard
open override fun get(key: String): String?