GetCompiledBinaryFileName 获取testlib的二进制程序前缀名
(typeName, moduleName string)
| 41 | |
| 42 | // GetCompiledBinaryFileName 获取testlib的二进制程序前缀名 |
| 43 | func GetCompiledBinaryFileName(typeName, moduleName string) string { |
| 44 | prefix, ok := constants.TestlibBinaryPrefixs[typeName] |
| 45 | if !ok { |
| 46 | prefix = "" |
| 47 | } |
| 48 | return prefix + moduleName |
| 49 | } |
| 50 | |
| 51 | // GetCompiledBinaryFileAbsPath 根据配置文件将对应预编译文件转换成绝对路径 |
| 52 | func GetCompiledBinaryFileAbsPath(typeName, moduleName, configDir string) (string, error) { |
no outgoing calls
no test coverage detected