package test

Import Path
	/pkg/rpc/test (on go.dev)

Dependency Relation
	imports 20 packages, and imported by 0 packages

Involved Source Files netmach_suite.go rpc_suite.go
Package-Level Type Names (total 11)
/* sort by: | */
func TemplateTestAddMany(t *testing.T, newTest NewTestFactory) func TemplateTestAddManyInstantClock(t *testing.T, newTest NewTestFactory) func TemplateTestAddManyNoSync(t *testing.T, newTest NewTestFactory) func TemplateTestAddRelation(t *testing.T, newTest NewTestFactory) func TemplateTestAny(t *testing.T, newTest NewTestFactory) func TemplateTestAutoStates(t *testing.T, newTest NewTestFactory) func TemplateTestBasic(t *testing.T, newTest NewTestFactory) func TemplateTestClock(t *testing.T, newTest NewTestFactory) func TemplateTestClockPush(t *testing.T, newTest NewTestFactory) func TemplateTestExport(t *testing.T, newTest NewTestFactory) func TemplateTestExposeAllStateNames(t *testing.T, newTest NewTestFactory) func TemplateTestHighInstantClocks(t *testing.T, newTest NewTestFactory) func TemplateTestInspect(t *testing.T, newTest NewTestFactory) func TemplateTestIs(t *testing.T, newTest NewTestFactory) func TemplateTestIsClock(t *testing.T, newTest NewTestFactory) func TemplateTestIsTime(t *testing.T, newTest NewTestFactory) func TemplateTestManyStates(t *testing.T, newTest NewTestFactory) func TemplateTestMultipleStatesActive(t *testing.T, newTest NewTestFactory) func TemplateTestMutationsSync(t *testing.T, newTest NewTestFactory) func TemplateTestNestedMutation(t *testing.T, newTest NewTestFactory) func TemplateTestNoSchema(t *testing.T, newTest NewTestFactory) func TemplateTestNot(t *testing.T, newTest NewTestFactory) func TemplateTestPartial(t *testing.T, newTest NewTestFactory) func TemplateTestPartialAuto(t *testing.T, newTest NewTestFactory) func TemplateTestPartialInferred(t *testing.T, newTest NewTestFactory) func TemplateTestPartialNoSchema(t *testing.T, newTest NewTestFactory) func TemplateTestPayload(t *testing.T, newTest NewTestFactory) func TemplateTestPipes(t *testing.T, newTest NewTestFactory) func TemplateTestRegressionImpliedBlockByBeingRemoved(t *testing.T, newTest NewTestFactory) func TemplateTestRegressionRemoveCrossBlockedByImplied(t *testing.T, newTest NewTestFactory) func TemplateTestRemoveRelation(t *testing.T, newTest NewTestFactory) func TemplateTestRemoveRelationCrossBlocking(t *testing.T, newTest NewTestFactory) func TemplateTestRemoveRelationSimultaneous(t *testing.T, newTest NewTestFactory) func TemplateTestRequireRelation(t *testing.T, newTest NewTestFactory) func TemplateTestRequireRelationWhenRequiredIsntActive(t *testing.T, newTest NewTestFactory) func TemplateTestRetryCall(t *testing.T, newTest NewTestFactory) func TemplateTestRetryClosedListener(t *testing.T, newTest NewTestFactory) func TemplateTestRetryConn(t *testing.T, newTest NewTestFactory) func TemplateTestRetryErrNetworkTimeout(t *testing.T, newTest NewTestFactory) func TemplateTestRetryingConnState(t *testing.T, newTest NewTestFactory) func TemplateTestSchemaFilteringSync(t *testing.T, newTest NewTestFactory) func TemplateTestShallowSync(t *testing.T, newTest NewTestFactory) func TemplateTestSingleStateActive(t *testing.T, newTest NewTestFactory) func TemplateTestStateAdd(t *testing.T, newTest NewTestFactory) func TemplateTestStateCtxBasic(t *testing.T, newTest NewTestFactory) func TemplateTestStateRemove(t *testing.T, newTest NewTestFactory) func TemplateTestStateSet(t *testing.T, newTest NewTestFactory) func TemplateTestString(t *testing.T, newTest NewTestFactory) func TemplateTestSwitch(t *testing.T, newTest NewTestFactory) func TemplateTestTime(t *testing.T, newTest NewTestFactory) func TemplateTestTypeSafe(t *testing.T, newTest NewTestFactory) func TemplateTestWaiting(t *testing.T, newTest NewTestFactory) func TemplateTestWhen2(t *testing.T, newTest NewTestFactory) func TemplateTestWhenActive(t *testing.T, newTest NewTestFactory) func TemplateTestWhenNot2(t *testing.T, newTest NewTestFactory) func TemplateTestWhenNotActive(t *testing.T, newTest NewTestFactory) func TemplateTestWhenQuery(t *testing.T, newTest NewTestFactory) func TemplateTestWhenQueue(t *testing.T, newTest NewTestFactory) func TemplateTestWhenTime(t *testing.T, newTest NewTestFactory) func TemplateTestWhenTimeSum(t *testing.T, newTest NewTestFactory)
type S = am.S ([])
type Schema = am.Schema (map)
TracerNoOp *am.TracerNoOp TracerNoOp.Id string ( TestMutationsSyncTracer) HandlerEnd(transition *machine.Transition, emitter string, handler string) ( TestMutationsSyncTracer) HandlerStart(transition *machine.Transition, emitter string, handler string) ( TestMutationsSyncTracer) Inheritable() bool ( TestMutationsSyncTracer) MachineDispose(machID string) ( TestMutationsSyncTracer) MachineInit(machine machine.Api) context.Context ( TestMutationsSyncTracer) MutationQueued(machine machine.Api, mutation *machine.Mutation) ( TestMutationsSyncTracer) NewSubmachine(parent, machine machine.Api) ( TestMutationsSyncTracer) QueueEnd(machine machine.Api) ( TestMutationsSyncTracer) SchemaChange(machine machine.Api, old machine.Schema) ( TestMutationsSyncTracer) TracerId() string (*TestMutationsSyncTracer) TransitionEnd(tx *am.Transition) ( TestMutationsSyncTracer) TransitionFinals(transition *machine.Transition) ( TestMutationsSyncTracer) TransitionInit(transition *machine.Transition) ( TestMutationsSyncTracer) TransitionStart(transition *machine.Transition) ( TestMutationsSyncTracer) VerifyStates(machine machine.Api) *TestMutationsSyncTracer : github.com/pancsta/asyncmachine-go/pkg/machine.Tracer
TestNestedMutation ExceptionHandler *am.ExceptionHandler (*TestNestedMutationHandlers) AState(e *am.Event) ExceptionState is a final entry handler for the StateException state. ArgsBase: - err error: The error that caused the StateException state. - panic *ExceptionArgsPanic: Optional details about the panic.
(*TestPayloadConsumer) ServerPayloadState(e *am.Event) *TestPayloadConsumer : github.com/pancsta/asyncmachine-go/pkg/rpc/states.ConsumerHandlers
CState will trigger SendPayload
(*TestRetryCallHandlers) DState(e *am.Event)
(*TestRetryErrNetworkTimeoutHandlers) DState(e *am.Event)
TracerNoOp *am.TracerNoOp TracerNoOp.Id string ( TestSchemaFilteringSyncTracer) HandlerEnd(transition *machine.Transition, emitter string, handler string) ( TestSchemaFilteringSyncTracer) HandlerStart(transition *machine.Transition, emitter string, handler string) ( TestSchemaFilteringSyncTracer) Inheritable() bool ( TestSchemaFilteringSyncTracer) MachineDispose(machID string) ( TestSchemaFilteringSyncTracer) MachineInit(machine machine.Api) context.Context (*TestSchemaFilteringSyncTracer) MutationQueued(machine am.Api, mutation *am.Mutation) ( TestSchemaFilteringSyncTracer) NewSubmachine(parent, machine machine.Api) ( TestSchemaFilteringSyncTracer) QueueEnd(machine machine.Api) ( TestSchemaFilteringSyncTracer) SchemaChange(machine machine.Api, old machine.Schema) ( TestSchemaFilteringSyncTracer) TracerId() string ( TestSchemaFilteringSyncTracer) TransitionEnd(transition *machine.Transition) ( TestSchemaFilteringSyncTracer) TransitionFinals(transition *machine.Transition) ( TestSchemaFilteringSyncTracer) TransitionInit(transition *machine.Transition) ( TestSchemaFilteringSyncTracer) TransitionStart(transition *machine.Transition) ( TestSchemaFilteringSyncTracer) VerifyStates(machine machine.Api) *TestSchemaFilteringSyncTracer : github.com/pancsta/asyncmachine-go/pkg/machine.Tracer
TestWhenQueue TracerNoOp *am.TracerNoOp TracerNoOp.Id string ( TestWhenQueueTracer) HandlerEnd(transition *machine.Transition, emitter string, handler string) ( TestWhenQueueTracer) HandlerStart(transition *machine.Transition, emitter string, handler string) ( TestWhenQueueTracer) Inheritable() bool ( TestWhenQueueTracer) MachineDispose(machID string) ( TestWhenQueueTracer) MachineInit(machine machine.Api) context.Context ( TestWhenQueueTracer) MutationQueued(machine machine.Api, mutation *machine.Mutation) ( TestWhenQueueTracer) NewSubmachine(parent, machine machine.Api) ( TestWhenQueueTracer) QueueEnd(machine machine.Api) ( TestWhenQueueTracer) SchemaChange(machine machine.Api, old machine.Schema) ( TestWhenQueueTracer) TracerId() string (*TestWhenQueueTracer) TransitionEnd(tx *am.Transition) ( TestWhenQueueTracer) TransitionFinals(transition *machine.Transition) ( TestWhenQueueTracer) TransitionInit(transition *machine.Transition) ( TestWhenQueueTracer) TransitionStart(transition *machine.Transition) ( TestWhenQueueTracer) VerifyStates(machine machine.Api) *TestWhenQueueTracer : github.com/pancsta/asyncmachine-go/pkg/machine.Tracer
Package-Level Functions (total 61)
TCPMeter measures the traffic of a listener and forwards it to a destination. Results are sent to the [counter] channel. Useful for testing and benchmarking.
Package-Level Variables (only one)
var Pass func(args ...machine.ArgsApi) machine.A