test

package
v0.0.0-...-a74fbde Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyTestFile

func CopyTestFile(id int)

CopyTestFile テストファイルをコピーする

func Setup

func Setup()

Setup テストの初期設定

func SetupFixture

func SetupFixture(tableNameList []string)

SetupFixture フィクスチャー設定する

func Test

func Test(t *testing.T)

Test テスティング

Types

type Accessor

type Accessor interface {
	SetUpSuite(*C)
	SetUpTest(*C)
	TearDownTest(*C)
	TearDownSuite(*C)
	SetTableNameList([]string)
}

Accessor テストスイーツ

type TSuite

type TSuite struct {
	TableNameList []string
}

TSuite テストスイーツ

func (*TSuite) SetTableNameList

func (t *TSuite) SetTableNameList(s []string)

SetTableNameList テーブル名を設定する

func (*TSuite) SetUpSuite

func (t *TSuite) SetUpSuite(c *C)

SetUpSuite テストスイーツセットアップ

func (*TSuite) SetUpTest

func (t *TSuite) SetUpTest(c *C)

SetUpTest テストセットアップ

func (*TSuite) TearDownSuite

func (t *TSuite) TearDownSuite(c *C)

TearDownSuite テストスイーツダウン

func (*TSuite) TearDownTest

func (t *TSuite) TearDownTest(c *C)

TearDownTest テストダウン

type UserContributionTag

type UserContributionTag struct {
	ID                 int `beedb:"PK"`
	UserContributionID int `sql:"user_contribution_id"`
	Name               string
	DeleteFlag         int `sql:"delete_flag"`
	Created            time.Time
	Updated            time.Time
}

UserContributionTag ユーザー投稿タグ

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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