Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vehicle-quality-review
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王飞
vehicle-quality-review
Commits
c783e662
Commit
c783e662
authored
Jul 04, 2024
by
wdy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调用接口
parent
169b0865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TestRecordsTest.java
ruoyi-admin/src/test/java/com/ruoyi/TestRecordsTest.java
+2
-2
No files found.
ruoyi-admin/src/test/java/com/ruoyi/TestRecordsTest.java
View file @
c783e662
...
@@ -28,7 +28,7 @@ public class TestRecordsTest {
...
@@ -28,7 +28,7 @@ public class TestRecordsTest {
public
void
test
()
{
public
void
test
()
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"id"
,
"
project_items;27
"
);
map
.
put
(
"id"
,
"
5wU7nij8QomtoGMVhoxQjryw8hncJ
"
);
map
.
put
(
"verbose"
,
"ALL"
);
map
.
put
(
"verbose"
,
"ALL"
);
//以post形式请求接口
//以post形式请求接口
...
@@ -43,7 +43,7 @@ public class TestRecordsTest {
...
@@ -43,7 +43,7 @@ public class TestRecordsTest {
List
<
CaseResultVO
>
caseResultVOS
=
jsonObject
.
getList
(
"case_result_list"
,
CaseResultVO
.
class
);
List
<
CaseResultVO
>
caseResultVOS
=
jsonObject
.
getList
(
"case_result_list"
,
CaseResultVO
.
class
);
// 获取本地存储的列表
// 获取本地存储的列表
List
<
TestRecords
>
recordsList
=
testRecordsService
.
findByTaskId
(
"
project_items;29
"
);
List
<
TestRecords
>
recordsList
=
testRecordsService
.
findByTaskId
(
"
5wU7nij8QomtoGMVhoxQjryw8hncJ
"
);
List
<
TestRecords
>
list
=
new
ArrayList
<>();
List
<
TestRecords
>
list
=
new
ArrayList
<>();
if
(
caseResultVOS
.
size
()
!=
0
&&
caseResultVOS
!=
null
)
{
if
(
caseResultVOS
.
size
()
!=
0
&&
caseResultVOS
!=
null
)
{
...
...
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