metacontracts

package
v0.149.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaAccessor

type MetaAccessor[V any] func(testing.TB) MetaAccessorSubject[V]

MetaAccessor V is the value T type that can be set and looked up with frameless.MetaAccessor.

func (MetaAccessor[V]) Benchmark

func (c MetaAccessor[V]) Benchmark(b *testing.B)

func (MetaAccessor[V]) Spec

func (c MetaAccessor[V]) Spec(s *testcase.Spec)

func (MetaAccessor[V]) Test

func (c MetaAccessor[V]) Test(t *testing.T)

type MetaAccessorSubject

type MetaAccessorSubject[V any] struct {
	MetaAccessor meta.MetaAccessor
	MakeContext  func() context.Context
	MakeV        func() V
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL