Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
ManningTest
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ManningTest
ManningTest
Commits
c82a200a
Commit
c82a200a
authored
Jun 08, 2022
by
xiongjunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[modify:1.期望值校验字符串是均转换为小写格式校验]
parent
1681b587
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
339 additions
and
2 deletions
+339
-2
MyAppLog.log
MyAppLog.log
+337
-0
TestCaseUtil.java
...in/java/com/miya/manning/framework/util/TestCaseUtil.java
+2
-2
Express.xls
src/main/resources/testcase/Express.xls
+0
-0
No files found.
MyAppLog.log
View file @
c82a200a
This diff is collapsed.
Click to expand it.
src/main/java/com/miya/manning/framework/util/TestCaseUtil.java
View file @
c82a200a
...
...
@@ -142,7 +142,7 @@ public class TestCaseUtil {
if
(!
res_map
.
containsKey
(
split1
[
0
]))
{
logger
.
error
(
"响应中未获取到对应的变量:"
+
split1
[
0
]);
return
false
;
}
if
(!
res_map
.
get
(
split1
[
0
]).
toLowerCase
().
contains
(
check_string
)){
}
if
(!
res_map
.
get
(
split1
[
0
]).
toLowerCase
().
contains
(
check_string
.
toLowerCase
()
)){
logger
.
error
(
split1
[
0
]
+
"的期望值:"
+
"不匹配!"
);
return
false
;
}
else
{
...
...
@@ -153,7 +153,7 @@ public class TestCaseUtil {
if
(!
res_map
.
containsKey
(
split1
[
0
])){
logger
.
error
(
"响应中未获取到对应的变量:"
+
split1
[
0
]
);
return
false
;
}
if
(!
res_map
.
get
(
split1
[
0
]).
toLowerCase
().
equals
(
split1
[
1
])){
}
if
(!
res_map
.
get
(
split1
[
0
]).
equalsIgnoreCase
(
split1
[
1
])){
logger
.
error
(
split1
[
0
]
+
"的期望值:"
+
"不匹配!"
);
return
false
;
}
else
{
...
...
src/main/resources/testcase/Express.xls
View file @
c82a200a
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment