activityItems

package
v2.0.0-rc3+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2018 License: GPL-3.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignedUsers

type AssignedUsers struct {
	AssignmentId int64
	AssigneeId   string
}

This struct models the many2many relationship between the Assignment and its Assignees

type Assignment

type Assignment struct {
	// Automated Xorm Fields -----------|
	Id        int64
	UpdatedAt time.Time `xorm:"updated"`
	// Foreign Keys --------------------|
	TestId int64

	IsCase bool

	Assignees    []*user.User   `xorm:"-"`
	TestCase     *test.Case     `xorm:"-"`
	TestSequence *test.Sequence `xorm:"-"`
}

func (Assignment) RenderItemTemplate

func (assignment Assignment) RenderItemTemplate(activity *activity.Activity, lang string) (template.HTML, error)

type TestCreation

type TestCreation struct {
	// Automated Xorm Fields -----------|
	Id        int64
	UpdatedAt time.Time `xorm:"updated"`
	// Foreign Keys --------------------|
	TestId int64

	IsCase bool

	TestCase     *test.Case     `xorm:"-"`
	TestSequence *test.Sequence `xorm:"-"`
}

func (TestCreation) RenderItemTemplate

func (testCreation TestCreation) RenderItemTemplate(activity *activity.Activity, lang string) (template.HTML, error)

type TestProtocol

type TestProtocol struct {
	// Automated Xorm Fields -----------|
	Id        int64
	UpdatedAt time.Time `xorm:"updated"`
	// Foreign Keys --------------------|
	TestProtocolId int64
	TestId         int64

	IsCase bool

	CaseExecutionProtocol     *test.CaseExecutionProtocol     `xorm:"-"`
	SequenceExecutionProtocol *test.SequenceExecutionProtocol `xorm:"-"`

	// The test sequence/case are lazy loaded so we have more information in our activity item
	TestCase     *test.Case     `xorm:"-"`
	TestSequence *test.Sequence `xorm:"-"`
}

func (TestProtocol) RenderItemTemplate

func (testProtocol TestProtocol) RenderItemTemplate(activity *activity.Activity, lang string) (template.HTML, error)

Jump to

Keyboard shortcuts

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