Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
易企天创
zentaoatf
提交
c1538413
Z
zentaoatf
项目概览
易企天创
/
zentaoatf
9 个月 前同步成功
通知
11
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Z
zentaoatf
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
c1538413
编写于
5月 07, 2021
作者:
aaronchen2k2k
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
use new case format
上级
27046b1e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
15 deletion
+19
-15
demo/sample/4_expect_saved_to_file.php
demo/sample/4_expect_saved_to_file.php
+1
-0
demo/sample/_old2.php
demo/sample/_old2.php
+14
-14
src/utils/script/script.go
src/utils/script/script.go
+1
-1
src/utils/zentao/zentao.go
src/utils/zentao/zentao.go
+3
-0
未找到文件。
demo/sample/4_expect_saved_to_file.php
浏览文件 @
c1538413
...
@@ -7,6 +7,7 @@ cid=0
...
@@ -7,6 +7,7 @@ cid=0
pid=0
pid=0
1. step 1 >>
1. step 1 >>
2. step 2
2. step 2
3. step 3
3. step 3
...
...
demo/sample/_old2.php
浏览文件 @
c1538413
...
@@ -15,18 +15,18 @@ pid=0
...
@@ -15,18 +15,18 @@ pid=0
3.1 step
3.1 step
3.2 step >> expect 3
3.2 step >> expect 3
[
1
. group title 1]
[
4
. group title 1]
[
1
.1. steps]
[
4
.1. steps]
step
1
.1.1
step
4
.1.1
step
1
.1.2
step
4
.1.2
[
1
.1. expects]
[
4
.1. expects]
[
1
.2. steps]
[
4
.2. steps]
step
1
.2.1
step
4
.2.1
step
1
.2.2
step
4
.2.2
[
1
.2. expects]
[
4
.2. expects]
expect
1
.2.1
expect
4
.2.1
expect
1
.2.2
expect
4
.2.2
[esac]
[esac]
...
@@ -36,5 +36,5 @@ print(">>expect 1\n");
...
@@ -36,5 +36,5 @@ print(">>expect 1\n");
print
(
">>expect 3
\n
"
);
print
(
">>expect 3
\n
"
);
print
(
">>
\n
"
);
print
(
">>
\n
"
);
print
(
"expect
1
.2.1
\n
"
);
print
(
"expect
4
.2.1
\n
"
);
print
(
"expect
1
.2.2
\n
"
);
print
(
"expect
4
.2.2
\n
"
);
src/utils/script/script.go
浏览文件 @
c1538413
...
@@ -141,7 +141,7 @@ func getStepNestedArrNew(lines []string) (ret []model.TestStep) {
...
@@ -141,7 +141,7 @@ func getStepNestedArrNew(lines []string) (ret []model.TestStep) {
increase
:=
0
increase
:=
0
for
index
:=
0
;
index
<
len
(
lines
);
index
++
{
for
index
:=
0
;
index
<
len
(
lines
);
index
++
{
line
:=
lines
[
index
]
line
:=
lines
[
index
]
if
strings
.
TrimSpace
(
line
)
==
""
{
if
strings
.
TrimSpace
(
line
)
==
""
||
strings
.
TrimSpace
(
line
)
==
">>"
||
strings
.
TrimSpace
(
line
)
==
"<<"
{
continue
continue
}
}
...
...
src/utils/zentao/zentao.go
浏览文件 @
c1538413
...
@@ -324,7 +324,10 @@ func ReadLogArrNew(content string) (isSkip bool, ret [][]string) {
...
@@ -324,7 +324,10 @@ func ReadLogArrNew(content string) (isSkip bool, ret [][]string) {
ret
=
append
(
ret
,
temp
)
ret
=
append
(
ret
,
temp
)
cpArr
=
make
([]
string
,
0
)
cpArr
=
make
([]
string
,
0
)
model
=
""
}
}
}
else
if
line
==
"<<"
{
continue
}
else
{
}
else
{
model
=
"single"
model
=
"single"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录