Documentation ¶
Index ¶
- func ConstructXstate(xstateFile string)
- func GenerateKeywordFile(strVar string, filePath string)
- func InitFullScTcSlice(scfilePathSlice []string) []*testcase.TestCaseDataInfo
- func KWSettingsStr()
- func KWTestCasesStr()
- func XmlDecode(data []byte)
- type State
- type States
- type TargetAttr
- type Transition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConstructXstate ¶
func ConstructXstate(xstateFile string)
func GenerateKeywordFile ¶
func InitFullScTcSlice ¶
func InitFullScTcSlice(scfilePathSlice []string) []*testcase.TestCaseDataInfo
func KWSettingsStr ¶
func KWSettingsStr()
func KWTestCasesStr ¶
func KWTestCasesStr()
Types ¶
type State ¶
type State struct { Id string `json:"id"` Type string `json:"type"` // optional: atomic, compound. mandatory: parallel, final, history Initial string `json:"initial"` Entry []string `json:"entry"` // entry actions Exit []string `json:"exit"` // exit actions On map[string]map[string]*TargetAttr `json:"on"` // map[event]map[targetName]attr States States `json:"states"` // map["states"]... Activities []string `json:"activities"` }
func (*State) GetStateTransitions ¶
func (st *State) GetStateTransitions(ch chan *Transition, wg *sync.WaitGroup)
func (*State) GetTransitionInfos ¶
func (st *State) GetTransitionInfos()
get Transition event - target names
type TargetAttr ¶
Click to show internal directories.
Click to hide internal directories.