MockSpecModel

@Immutable
open class MockSpecModel : SpecModel, HasPureRender, HasEnclosedSpecModel

An implementation of SpecModel + Builder for testing purposes only.

Types

Link copied to clipboard
open class Builder

Functions

Link copied to clipboard
open fun generate(runMode: EnumSet<RunMode>): TypeSpec
Link copied to clipboard
open fun getCachedValues(): ImmutableList<CachedValueParamModel>
Link copied to clipboard
open fun getClassAnnotations(): ImmutableList<AnnotationSpec>
Link copied to clipboard
Link copied to clipboard
open fun getComponentClass(): ClassName
Link copied to clipboard
Link copied to clipboard
open fun getComponentTypeName(): TypeName
Link copied to clipboard
open fun getContextClass(): ClassName
Link copied to clipboard
open fun getDelegateMethods(): ImmutableList<SpecMethodModel<DelegateMethod, Void>>
Link copied to clipboard
open fun getDependencyInjectionHelper(): DependencyInjectionHelper
Link copied to clipboard
open fun getEnclosedSpecModel(): SpecModel
Link copied to clipboard
open fun getEventDeclarations(): ImmutableList<EventDeclarationModel>
Link copied to clipboard
open fun getEventMethods(): ImmutableList<SpecMethodModel<EventMethod, EventDeclarationModel>>
Link copied to clipboard
open fun getExtraBuilderMethods(): ImmutableList<BuilderMethodModel>
Link copied to clipboard
open fun getFields(): ImmutableList<FieldModel>
Link copied to clipboard
open fun getInjectProps(): ImmutableList<InjectPropModel>
Link copied to clipboard
open fun getInterStageInputs(): ImmutableList<InterStageInputParamModel>
Link copied to clipboard
open fun getPrepareInterStageInputs(): ImmutableList<PrepareInterStageInputParamModel>
Link copied to clipboard
open fun getPropDefaults(): ImmutableList<PropDefaultModel>
Link copied to clipboard
open fun getPropJavadocs(): ImmutableList<PropJavadocModel>
Link copied to clipboard
open fun getProps(): ImmutableList<PropModel>
Link copied to clipboard
open fun getRawInjectProps(): ImmutableList<InjectPropModel>
Link copied to clipboard
open fun getRawProps(): ImmutableList<PropModel>
Link copied to clipboard
open fun getRenderDataDiffs(): ImmutableList<RenderDataDiffModel>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSpecElementType(): SpecElementType
Link copied to clipboard
open fun getSpecName(): String
Link copied to clipboard
open fun getSpecTypeName(): ClassName
Link copied to clipboard
open fun getStateContainerClass(): ClassName
Link copied to clipboard
open fun getStateValues(): ImmutableList<StateParamModel>
Link copied to clipboard
open fun getTags(): ImmutableList<TagModel>
Link copied to clipboard
open fun getTransitionClass(): ClassName
Link copied to clipboard
open fun getTransitionContainerClass(): ClassName
Link copied to clipboard
open fun getTreeProps(): ImmutableList<TreePropModel>
Link copied to clipboard
open fun getTriggerMethods(): ImmutableList<SpecMethodModel<EventMethod, EventDeclarationModel>>
Link copied to clipboard
open fun getTypeVariables(): ImmutableList<TypeVariableName>
Link copied to clipboard
open fun getUpdateStateMethods(): ImmutableList<SpecMethodModel<UpdateStateMethod, Void>>
Link copied to clipboard
open fun getUpdateStateWithTransitionMethods(): ImmutableList<SpecMethodModel<UpdateStateMethod, Void>>
Link copied to clipboard
open fun getWorkingRangeMethods(): ImmutableList<WorkingRangeMethodModel>
Link copied to clipboard
open fun getWorkingRangeRegisterMethod(): SpecMethodModel<EventMethod, Void>
Link copied to clipboard
open fun hasDeepCopy(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun isPublic(): Boolean
Link copied to clipboard
open fun isPureRender(): Boolean
Link copied to clipboard
open fun isStateful(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun validate(runMode: EnumSet<RunMode>): List<SpecModelValidationError>