Documentation ¶
Index ¶
- func GetDummyRootTc() testcase.TestCase
- func RemoveArrayItem(sourceArray []*testcase.TestCaseDataInfo, tcData *testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
- type TcNode
- type TcTree
- func (tcTree TcTree) AddNode(root *TcNode, TcaseExecution *testcase.TestCaseExecutionInfo) bool
- func (tcTree TcTree) AddRootNode(TcaseExecution *testcase.TestCaseExecutionInfo) (*TcNode, bool)
- func (tcTree TcTree) BuildRootDirectChildrenNodes(root *TcNode, tcArray []*testcase.TestCaseDataInfo) ([]*testcase.TestCaseDataInfo, []*testcase.TestCaseDataInfo)
- func (tcTree TcTree) BuildRootNode() (*TcNode, bool)
- func (tcTree TcTree) BuildTree(tcArray []*testcase.TestCaseDataInfo) *TcNode
- func (tcTree TcTree) CollectNodeReadyByPriority(c chan *TcNode, node *TcNode, priority string)
- func (tcTree TcTree) InitNodesRunResult(node *TcNode, runResult string)
- func (tcTree TcTree) LoopAndBuildOtherNodes(root *TcNode, tcArrayTree []*testcase.TestCaseDataInfo, ...)
- func (tcTree TcTree) RefreshNodeAndChilrenTcResult(node *TcNode, tcRunResult string, tcStart string, tcEnd string, ...)
- func (tcTree TcTree) RefreshNodeAndDirectChilrenTcResult(node *TcNode, tcRunResult string, tcStart string, tcEnd string, ...)
- func (tcTree TcTree) SearchNode(c chan *TcNode, node *TcNode, testCaseName string)
- func (tcTree TcTree) ShowNodes(node *TcNode)
- type TcTreeStats
- func (tcTreeStats TcTreeStats) CollectNodeStatusByPriority(node *TcNode, priority string)
- func (tcTreeStats TcTreeStats) CollectOverallNodeStatus(node *TcNode, key string)
- func (tcTreeStats TcTreeStats) DeductReadyCount(priority string)
- func (tcTreeStats TcTreeStats) ResetTcTreeStats(priority string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDummyRootTc ¶
func RemoveArrayItem ¶
func RemoveArrayItem(sourceArray []*testcase.TestCaseDataInfo, tcData *testcase.TestCaseDataInfo) []*testcase.TestCaseDataInfo
Types ¶
type TcNode ¶
type TcNode struct { TestCaseExecutionInfo *testcase.TestCaseExecutionInfo Children []*TcNode // for child }
type TcTree ¶
func CreateTcTree ¶
func CreateTcTree() TcTree
func (TcTree) AddNode ¶
func (tcTree TcTree) AddNode(root *TcNode, TcaseExecution *testcase.TestCaseExecutionInfo) bool
func (TcTree) AddRootNode ¶
func (tcTree TcTree) AddRootNode(TcaseExecution *testcase.TestCaseExecutionInfo) (*TcNode, bool)
func (TcTree) BuildRootDirectChildrenNodes ¶
func (tcTree TcTree) BuildRootDirectChildrenNodes(root *TcNode, tcArray []*testcase.TestCaseDataInfo) ([]*testcase.TestCaseDataInfo, []*testcase.TestCaseDataInfo)
func (TcTree) BuildRootNode ¶
func (TcTree) BuildTree ¶
func (tcTree TcTree) BuildTree(tcArray []*testcase.TestCaseDataInfo) *TcNode
func (TcTree) CollectNodeReadyByPriority ¶
func (TcTree) InitNodesRunResult ¶
func (TcTree) LoopAndBuildOtherNodes ¶
func (tcTree TcTree) LoopAndBuildOtherNodes(root *TcNode, tcArrayTree []*testcase.TestCaseDataInfo, tcArrayNotTree []*testcase.TestCaseDataInfo)
func (TcTree) RefreshNodeAndChilrenTcResult ¶
func (TcTree) RefreshNodeAndDirectChilrenTcResult ¶
func (TcTree) SearchNode ¶
type TcTreeStats ¶
type TcTreeStats struct { StatusCountByPriority map[string]map[string]int TcNotExecutedByPriority map[string]map[string][]*testcase.TestCaseExecutionInfo }
func CreateTcTreeStats ¶
func CreateTcTreeStats(prioritySet []string) TcTreeStats
func (TcTreeStats) CollectNodeStatusByPriority ¶
func (tcTreeStats TcTreeStats) CollectNodeStatusByPriority(node *TcNode, priority string)
func (TcTreeStats) CollectOverallNodeStatus ¶
func (tcTreeStats TcTreeStats) CollectOverallNodeStatus(node *TcNode, key string)
key can be "Overall"
func (TcTreeStats) DeductReadyCount ¶
func (tcTreeStats TcTreeStats) DeductReadyCount(priority string)
func (TcTreeStats) ResetTcTreeStats ¶
func (tcTreeStats TcTreeStats) ResetTcTreeStats(priority string)
Click to show internal directories.
Click to hide internal directories.