Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
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
马博
test-platform
Commits
9aedbd91
Commit
9aedbd91
authored
Nov 28, 2018
by
周松波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update configEdit
parent
fccb45cf
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
710 additions
and
41 deletions
+710
-41
ContractSignCommon.java
src/test/java/http/cases/SignTest/ContractSignCommon.java
+233
-0
ContractSign_Multi_signTest.java
...java/http/cases/SignTest/ContractSign_Multi_signTest.java
+402
-0
ContractSign_signTest.java
src/test/java/http/cases/SignTest/ContractSign_signTest.java
+71
-41
补签测试_signTest.java
src/test/java/http/cases/SignTest/补签测试_signTest.java
+3
-0
SignactivityService.java
src/test/java/http/service/Activity/SignactivityService.java
+1
-0
No files found.
src/test/java/http/cases/SignTest/ContractSignCommon.java
0 → 100644
View file @
9aedbd91
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/SignTest/ContractSign_Multi_signTest.java
0 → 100644
View file @
9aedbd91
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/SignTest/ContractSign_signTest.java
View file @
9aedbd91
This diff is collapsed.
Click to expand it.
src/test/java/http/cases/SignTest/补签测试_signTest.java
View file @
9aedbd91
...
...
@@ -265,6 +265,7 @@ public class 补签测试_signTest extends DuibaTestBase {
map
.
put
(
"cirReward"
,
"{\"rwType\":\"CIRCLE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":null,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":true}"
);
map
.
put
(
"acmReward"
,
"{\"rwType\":\"ACCUMULATE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"firstSignReward"
,
"{\"rwType\":\"FIRST_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"cntOnceReward"
,
"{\"rwType\":null,\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":null,\"open\":false}"
);
map
.
put
(
"fullSignReward"
,
"{\"rwType\":\"FULL_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"operatingPositions"
,
"[]"
);
logger
.
info
(
"请求configEdit接口"
);
...
...
@@ -318,6 +319,7 @@ public class 补签测试_signTest extends DuibaTestBase {
map
.
put
(
"cirReward"
,
"{\"rwType\":\"CIRCLE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":null,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":true}"
);
map
.
put
(
"acmReward"
,
"{\"rwType\":\"ACCUMULATE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"firstSignReward"
,
"{\"rwType\":\"FIRST_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"cntOnceReward"
,
"{\"rwType\":null,\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":null,\"open\":false}"
);
map
.
put
(
"fullSignReward"
,
"{\"rwType\":\"FULL_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"operatingPositions"
,
"[]"
);
logger
.
info
(
"请求configEdit接口"
);
...
...
@@ -366,6 +368,7 @@ public class 补签测试_signTest extends DuibaTestBase {
map
.
put
(
"cirReward"
,
"{\"rwType\":\"CIRCLE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":null,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":true}"
);
map
.
put
(
"acmReward"
,
"{\"rwType\":\"ACCUMULATE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"firstSignReward"
,
"{\"rwType\":\"FIRST_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"cntOnceReward"
,
"{\"rwType\":null,\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":null,\"open\":false}"
);
map
.
put
(
"fullSignReward"
,
"{\"rwType\":\"FULL_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"operatingPositions"
,
"[]"
);
logger
.
info
(
"请求configEdit接口"
);
...
...
src/test/java/http/service/Activity/SignactivityService.java
View file @
9aedbd91
...
...
@@ -164,6 +164,7 @@ public class SignactivityService {
map
.
put
(
"cirReward"
,
"{\"rwType\":\"CIRCLE\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":null,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":false}"
);
map
.
put
(
"acmReward"
,
"{\"rwType\":\"ACCUMULATE\",\"plActSkinId\":100,\"plActId\":1154,\"items\":[{\"days\":2,\"credits\":10,\"activityCount\":1}],\"plSkinOpen2Dev\":false,\"open\":true}"
);
map
.
put
(
"firstSignReward"
,
"{\"rwType\":\"FIRST_SIGN\",\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":null,\"open\":false}"
);
map
.
put
(
"cntOnceReward"
,
"{\"rwType\":null,\"plActSkinId\":null,\"plActId\":null,\"items\":[{\"days\":1,\"credits\":0,\"activityCount\":1}],\"plSkinOpen2Dev\":null,\"open\":false}"
);
map
.
put
(
"operatingPositions"
,
"[]"
);
logger
.
info
(
"请求configEdit接口"
);
Response
response
=
given
().
contentType
(
"application/x-www-form-urlencoded;charset=UTF-8"
).
cookies
(
authorization
.
hdLogin
()).
params
(
map
).
post
(
"http://"
+
hdHost
+
"/signin/configEdit"
);
...
...
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