zentaoUtils

package
v0.0.0-...-66d4e42 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFileContentIsScript

func CheckFileContentIsScript(content string) bool

func CheckFileIsScript

func CheckFileIsScript(path string) bool

func GenApiUri

func GenApiUri(module string, methd string, param string) string

func GetCaseInfo

func GetCaseInfo(file string) (bool, int, int, string)

func GetDependentExpect

func GetDependentExpect(file string) (bool, string)

func ReadCaseId

func ReadCaseId(content string) string

func ReadCaseInfo

func ReadCaseInfo(content, lang string, isOldFormat bool) (info, checkpoints string)

func ReadExpectIndependentArr

func ReadExpectIndependentArr(content string) [][]string

func ReadExpectIndependentArrObsolete

func ReadExpectIndependentArrObsolete(content string) [][]string

func ReadLogArr

func ReadLogArr(content string) (isSkip bool, ret [][]string)

func ReadLogArrObsolete

func ReadLogArrObsolete(content string) (isSkip bool, ret [][]string)

func ScriptToExpectName

func ScriptToExpectName(file string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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