DefaultTestResolver

open class DefaultTestResolver : TestResolver

Constructors

Link copied to clipboard
fun DefaultTestResolver()

Functions

Link copied to clipboard
open override fun <T> resolve(    responseName: String,     compiledType: CompiledType,     enumValues: List<String>,     ctors: Array<out () -> Map<String, Any?>>?): T

Resolve the given field

Link copied to clipboard
open fun resolveBoolean(path: List<Any>): Boolean
Link copied to clipboard
open fun resolveComposite(path: List<Any>, ctors: Array<out () -> Map<String, Any?>>): Map<String, Any?>
Link copied to clipboard
open fun resolveCustomScalar(path: List<Any>): String
Link copied to clipboard
open fun resolveEnum(path: List<Any>, enumValues: List<String>): String
Link copied to clipboard
open fun resolveFloat(path: List<Any>): Double
Link copied to clipboard
open fun resolveInt(path: List<Any>): Int
Link copied to clipboard
open fun resolveListSize(path: List<Any>): Int
Link copied to clipboard
open fun resolveString(path: List<Any>): String