model

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionAbstractTestSummary

type ActionAbstractTestSummary struct {
	Identifier *string
	Name       *string
}

func (*ActionAbstractTestSummary) Decode

func (a *ActionAbstractTestSummary) Decode(m map[string]any)

func (*ActionAbstractTestSummary) ID

func (*ActionAbstractTestSummary) TypeName

func (a *ActionAbstractTestSummary) TypeName() string

type ActionRecord

type ActionRecord struct {
	Result ActionResult
}

func (*ActionRecord) Decode

func (a *ActionRecord) Decode(m map[string]any)

func (*ActionRecord) TypeName

func (a *ActionRecord) TypeName() string

func (*ActionRecord) UnmarshalJSON

func (a *ActionRecord) UnmarshalJSON(bytes []byte) error

type ActionResult

type ActionResult struct {
	TestsRef *Reference
}

func (*ActionResult) Decode

func (a *ActionResult) Decode(m map[string]any)

func (*ActionResult) TypeName

func (a *ActionResult) TypeName() string

type ActionTestActivitySummary

type ActionTestActivitySummary struct {
	Title         string
	ActivityType  ActivityType
	Attachments   []ActionTestAttachment
	Subactivities []ActionTestActivitySummary
}

func (*ActionTestActivitySummary) Decode

func (a *ActionTestActivitySummary) Decode(m map[string]any)

func (*ActionTestActivitySummary) TypeName

func (a *ActionTestActivitySummary) TypeName() string

type ActionTestAttachment

type ActionTestAttachment struct {
	TypeIdentifier *UniformTypeIdentifier
	Name           *string
	PayloadRef     *Reference
}

func (*ActionTestAttachment) Decode

func (a *ActionTestAttachment) Decode(m map[string]any)

func (*ActionTestAttachment) TypeName

func (a *ActionTestAttachment) TypeName() string

type ActionTestMetadata

type ActionTestMetadata struct {
	ActionAbstractTestSummary
	SummaryRef *Reference
}

func (*ActionTestMetadata) Decode

func (a *ActionTestMetadata) Decode(m map[string]any)

func (*ActionTestMetadata) TypeName

func (a *ActionTestMetadata) TypeName() string

type ActionTestPlanRunSummaries

type ActionTestPlanRunSummaries struct {
	Summaries []ActionTestPlanRunSummary
}

func (*ActionTestPlanRunSummaries) Decode

func (a *ActionTestPlanRunSummaries) Decode(m map[string]any)

func (*ActionTestPlanRunSummaries) TypeName

func (a *ActionTestPlanRunSummaries) TypeName() string

type ActionTestPlanRunSummary

type ActionTestPlanRunSummary struct {
	ActionAbstractTestSummary
	TestableSummaries []ActionTestableSummary
}

func (*ActionTestPlanRunSummary) Decode

func (a *ActionTestPlanRunSummary) Decode(m map[string]any)

func (*ActionTestPlanRunSummary) TypeName

func (a *ActionTestPlanRunSummary) TypeName() string

type ActionTestSummary

type ActionTestSummary struct {
	ActionAbstractTestSummary
	Duration          float64
	Status            TestStatus
	ActivitySummaries []ActionTestActivitySummary
}

func (*ActionTestSummary) Decode

func (a *ActionTestSummary) Decode(m map[string]any)

func (*ActionTestSummary) TypeName

func (a *ActionTestSummary) TypeName() string

type ActionTestSummaryGroup

type ActionTestSummaryGroup struct {
	ActionAbstractTestSummary
	Subtests []xcresult.Decoder
}

func (*ActionTestSummaryGroup) Decode

func (a *ActionTestSummaryGroup) Decode(m map[string]any)

func (*ActionTestSummaryGroup) TypeName

func (a *ActionTestSummaryGroup) TypeName() string

type ActionTestSummaryIdentifiableObject

type ActionTestSummaryIdentifiableObject interface {
	xcresult.Decoder
	ID() *string
}

type ActionTestableSummary

type ActionTestableSummary struct {
	ActionAbstractTestSummary
	Tests []xcresult.Decoder
}

func (*ActionTestableSummary) Decode

func (a *ActionTestableSummary) Decode(m map[string]any)

func (*ActionTestableSummary) TypeName

func (a *ActionTestableSummary) TypeName() string

type ActionsInvocationRecord

type ActionsInvocationRecord struct {
	Actions []ActionRecord `json:"actions"`
}

func (*ActionsInvocationRecord) Decode

func (a *ActionsInvocationRecord) Decode(m map[string]any)

func (*ActionsInvocationRecord) TypeName

func (a *ActionsInvocationRecord) TypeName() string

func (*ActionsInvocationRecord) UnmarshalJSON

func (a *ActionsInvocationRecord) UnmarshalJSON(bytes []byte) error

type ActivityType

type ActivityType string
const (
	ActivityUserCreated         ActivityType = "com.apple.dt.xctest.activity-type.userCreated"
	ActivityFailure             ActivityType = "com.apple.dt.xctest.activity-type.testAssertionFailure"
	ActivityAttachmentContainer ActivityType = "com.apple.dt.xctest.activity-type.attachmentContainer"
	ActivityNone                ActivityType = "none"
)

type Reference

type Reference struct {
	ObjID      string
	TargetType *string
}

func (*Reference) Decode

func (r *Reference) Decode(m map[string]any)

func (*Reference) TypeName

func (r *Reference) TypeName() string

type TestStatus

type TestStatus string
const (
	Failure  TestStatus = "Failure"
	Success  TestStatus = "Success"
	Undefine TestStatus = "Undefine"
)

type UniformTypeIdentifier

type UniformTypeIdentifier string
const (
	PlainText UniformTypeIdentifier = "public.plain-text"
	PNG       UniformTypeIdentifier = "public.png"
)

Jump to

Keyboard shortcuts

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