Movatterモバイル変換


[0]ホーム

URL:


prototest

package
v1.36.11Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License:BSD-3-ClauseImports:12Imported by:0

Details

Repository

github.com/protocolbuffers/protobuf-go

Links

Documentation

Overview

Package prototest exercises protobuf reflection.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

typeEnumadded inv1.25.0

type Enum struct{}

Enum tests anprotoreflect.EnumType implementation.

func (Enum)Testadded inv1.25.0

func (testEnum) Test(ttesting.TB, etprotoreflect.EnumType)

typeMessage

type Message struct {// Resolver is used to determine the list of extension fields to test with.// If nil, this defaults to using protoregistry.GlobalTypes.Resolver interface {FindExtensionByName(fieldprotoreflect.FullName) (protoreflect.ExtensionType,error)FindExtensionByNumber(messageprotoreflect.FullName, fieldprotoreflect.FieldNumber) (protoreflect.ExtensionType,error)RangeExtensionsByMessage(messageprotoreflect.FullName, f func(protoreflect.ExtensionType)bool)}// UnmarshalOptions are respected for every Unmarshal call this package// does. The Resolver and AllowPartial fields are overridden.UnmarshalOptionsproto.UnmarshalOptions}

Message tests a message implementation.

func (Message)Test

Test performs tests on aprotoreflect.MessageType implementation.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp