cases

package
v0.0.0-...-be15534 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlterCase

type AlterCase struct {
	framework.Task
}

AlterCase is base impl of test case for alter operation

func NewAlterCase

func NewAlterCase(task framework.Task) *AlterCase

NewAlterCase create a test case which contains alter ddls

func (*AlterCase) Name

func (c *AlterCase) Name() string

Name impl framework.Task interface

func (*AlterCase) Run

func (c *AlterCase) Run(ctx *framework.TaskContext) error

Run impl framework.Task interface

type CompositePKeyCase

type CompositePKeyCase struct {
	framework.Task
}

CompositePKeyCase is base impl of test case for composite primary keys

func NewCompositePKeyCase

func NewCompositePKeyCase(task framework.Task) *CompositePKeyCase

NewCompositePKeyCase create a test case which have composite primary key

func (*CompositePKeyCase) Name

func (s *CompositePKeyCase) Name() string

Name impl framework.Task interface

func (*CompositePKeyCase) Run

Run impl framework.Task interface

type DateTimeCase

type DateTimeCase struct {
	framework.Task
}

DateTimeCase is base impl of test case for different types data

func NewDateTimeCase

func NewDateTimeCase(task framework.Task) *DateTimeCase

NewDateTimeCase create a test case which has many types

func (*DateTimeCase) Name

func (s *DateTimeCase) Name() string

Name impl framework.Task interface

func (*DateTimeCase) Run

func (s *DateTimeCase) Run(ctx *framework.TaskContext) error

Run impl framework.Task interface

type DeleteCase

type DeleteCase struct {
	framework.Task
}

DeleteCase is base impl of test case for delete operation

func NewDeleteCase

func NewDeleteCase(task framework.Task) *DeleteCase

NewDeleteCase create a test case which contains delete ddls

func (*DeleteCase) Name

func (c *DeleteCase) Name() string

Name impl framework.Task interface

func (*DeleteCase) Run

func (c *DeleteCase) Run(ctx *framework.TaskContext) error

Run impl framework.Task interface

type HandleKeyCase

type HandleKeyCase struct {
	framework.Task
}

HandleKeyCase is base impl of test case for non primary handle keys

func NewHandleKeyCase

func NewHandleKeyCase(task framework.Task) *HandleKeyCase

NewHandleKeyCase create a test case which have non primary handle keys

func (*HandleKeyCase) Name

func (s *HandleKeyCase) Name() string

Name impl framework.Task interface

func (*HandleKeyCase) Run

Run impl framework.Task interface

type ManyTypesCase

type ManyTypesCase struct {
	framework.Task
}

ManyTypesCase is base impl of test case for different types data

func NewManyTypesCase

func NewManyTypesCase(task framework.Task) *ManyTypesCase

NewManyTypesCase create a test case which has many types

func (*ManyTypesCase) Name

func (s *ManyTypesCase) Name() string

Name impl framework.Task interface

func (*ManyTypesCase) Run

Run impl framework.Task interface

type SimpleCase

type SimpleCase struct {
	framework.Task
}

SimpleCase is base impl of simple test case

func NewSimpleCase

func NewSimpleCase(task framework.Task) *SimpleCase

NewSimpleCase create a test case which has some simple dmls, ddls

func (*SimpleCase) Name

func (s *SimpleCase) Name() string

Name impl framework.Task interface

func (*SimpleCase) Run

func (s *SimpleCase) Run(ctx *framework.TaskContext) error

Run impl framework.Task interface

type UnsignedCase

type UnsignedCase struct {
	framework.Task
}

UnsignedCase is base impl of test case for unsigned int type data

func NewUnsignedCase

func NewUnsignedCase(task framework.Task) *UnsignedCase

NewUnsignedCase create a test case to check the correction of unsigned integer

func (*UnsignedCase) Name

func (s *UnsignedCase) Name() string

Name impl framework.Task interface

func (*UnsignedCase) Run

func (s *UnsignedCase) Run(ctx *framework.TaskContext) error

Run impl framework.Task interface

Jump to

Keyboard shortcuts

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