testutils

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDataDigester

func GetDataDigester(nodeRef reference.Holder) cryptkit.DataDigester

func GetObjectReference

func GetObjectReference(request *rms.VCallRequest, nodeRef reference.Holder) reference.Global

func GetPCS

func GetPCS(nodeRef reference.Holder) crypto.PlatformScheme

Types

type DescriptorCacheMockWrapper

type DescriptorCacheMockWrapper struct {
	T              *testing.T
	Classes        map[reference.Global]descriptorPair
	IntenselyPanic bool
	// contains filtered or unexported fields
}

func NewDescriptorsCacheMockWrapper

func NewDescriptorsCacheMockWrapper(mc minimock.Tester) *DescriptorCacheMockWrapper

func (*DescriptorCacheMockWrapper) AddClassCodeDescriptor

func (w *DescriptorCacheMockWrapper) AddClassCodeDescriptor(
	head reference.Global,
	state reference.Local,
	code reference.Global,
)

func (*DescriptorCacheMockWrapper) Mock

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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