Package com.apollographql.apollo3.api.test

Types

Link copied to clipboard
annotation class ApolloTestBuilderMarker
Link copied to clipboard
open class DefaultTestResolver : TestResolver
Link copied to clipboard
class MandatoryTypenameProperty(parentTypeName: String, possibleTypes: List<String>)
Link copied to clipboard
abstract class MapBuilder

Base class for test builders that define a DSL to build type safe operation data

Link copied to clipboard
class StubbedProperty<T>(map: MutableMap<String, Any?>, responseName: String)
Link copied to clipboard
interface TestResolver

Implement TestResolver to generate fake data during tests.

Functions

Link copied to clipboard
fun <T> withTestResolver(testResolver: TestResolver, block: () -> T): T