Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oto
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
龚小红
oto
Commits
e3161dbe
Commit
e3161dbe
authored
Apr 28, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
奖品签收
parent
7b95cd47
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
387 additions
and
118 deletions
+387
-118
QuestionList.java
src/test/java/com/kjj/bean/answer/QuestionList.java
+18
-0
Add.java
src/test/java/com/kjj/cases/live/manager/QuesReward/Add.java
+1
-1
Limited.java
src/test/java/com/kjj/cases/live/red/Limited.java
+243
-79
QuestionAwards.java
src/test/java/com/kjj/cases/live/red/QuestionAwards.java
+0
-1
Unlimited.java
src/test/java/com/kjj/cases/live/red/Unlimited.java
+123
-30
BasicConfig.java
src/test/java/com/kjj/config/BasicConfig.java
+2
-2
liveTestNG.xml
src/test/liveTestNG.xml
+0
-5
No files found.
src/test/java/com/kjj/bean/answer/QuestionList.java
0 → 100644
View file @
e3161dbe
package
com
.
kjj
.
bean
.
answer
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
QuestionList
{
public
List
<
QuestionList
.
question
>
list
;
@Data
public
static
class
question
{
private
String
id
;
private
int
optionType
;
private
String
optionDetail
;
}
}
src/test/java/com/kjj/cases/live/manager/QuesReward/Add.java
View file @
e3161dbe
...
@@ -157,7 +157,7 @@ public class Add implements AdminAuthorization {
...
@@ -157,7 +157,7 @@ public class Add implements AdminAuthorization {
AnswerBean
Answer_1
=
new
AnswerBean
();
AnswerBean
Answer_1
=
new
AnswerBean
();
Answer_1
.
setOptionDetail
(
"错误"
);
Answer_1
.
setOptionDetail
(
"错误"
);
Answer_1
.
setOptionType
(
2
);
Answer_1
.
setOptionType
(
2
);
Answers
.
add
(
Answer_1
);
Answers
1
.
add
(
Answer_1
);
AnswerListBean
bean1
=
new
AnswerListBean
();
AnswerListBean
bean1
=
new
AnswerListBean
();
bean1
.
setQuestionDetail
(
"答题现金红包2"
);
bean1
.
setQuestionDetail
(
"答题现金红包2"
);
bean1
.
setOptionList
(
Answers1
);
bean1
.
setOptionList
(
Answers1
);
...
...
src/test/java/com/kjj/cases/live/red/Limited.java
View file @
e3161dbe
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/cases/live/red/QuestionAwards.java
View file @
e3161dbe
...
@@ -21,7 +21,6 @@ public class QuestionAwards implements AdminAuthorization {
...
@@ -21,7 +21,6 @@ public class QuestionAwards implements AdminAuthorization {
public
String
confId_ques
;
public
String
confId_ques
;
public
String
confId_reward
;
public
String
confId_reward
;
public
String
wronganswer
;
public
String
wronganswer
;
public
String
rightanswer
;
public
String
rightanswer
;
...
...
src/test/java/com/kjj/cases/live/red/Unlimited.java
View file @
e3161dbe
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/config/BasicConfig.java
View file @
e3161dbe
...
@@ -19,11 +19,11 @@ public class BasicConfig {
...
@@ -19,11 +19,11 @@ public class BasicConfig {
//直播访客 (刘超)
//直播访客 (刘超)
public
static
String
VISITORKEY3
=
"LEH7epeHVDJWzhZ6DiexTHnsaP3ed5NWb7fwGDRPzUCcfxMKyEZr5fYSmKv5AZVQu1w2FRoEvz6mP3RzfeKLqjV8Kq1XE"
;
public
static
String
VISITORKEY3
=
"LEH7epeHVDJWzhZ6DiexTHnsaP3ed5NWb7fwGDRPzUCcfxMKyEZr5fYSmKv5AZVQu1w2FRoEvz6mP3RzfeKLqjV8Kq1XE"
;
//直播访客 (李执)
//直播访客 (李执)
public
static
String
VISITORKEY4
=
"
5MgSyboxqzAQZZJEsTf43nVX8FkunrWfgVgxhR9mmo6thaPjMjfgUM62TrCUYvnSdn3kTGsGvJsSaiS4m5LS1up5twWa
"
;
public
static
String
VISITORKEY4
=
"
DyGoVEPj7nANppy7P8NS4Z4mtMsJhG8DmhaSQPam9aBfp49QoDsHkMeQEFDqHgpbfXt2ESodJMJrGEDiTxk687Kcq
"
;
//直播访客 (吉吉)
//直播访客 (吉吉)
public
static
String
VISITORKEY9
=
"LEH7epeHVDJWzhZ6DiexTHnfZY2NrKnNHmHY52FxaDfigK3U4NQpLsQrodQUPUXwmumQ1kr3xsfZoGw7cEswYryWfUtMW"
;
public
static
String
VISITORKEY9
=
"LEH7epeHVDJWzhZ6DiexTHnfZY2NrKnNHmHY52FxaDfigK3U4NQpLsQrodQUPUXwmumQ1kr3xsfZoGw7cEswYryWfUtMW"
;
//直播访客 (周成)
//直播访客 (周成)
public
static
String
VISITORKEY5
=
"
LEH7epeHVDJWzhZ6DiexTHnsy28uMFcnMj6a1Nh76ZtqrBohi2vbvjsoksZjyRcqFdSgh5zddoi95S8gKvBbuggy6Bhku
"
;
public
static
String
VISITORKEY5
=
"
zFNkBc7JtvLPL6ifAfXbcgXf7k83YNaKjHreYoVN6SLoZF8WsHX87aGwwxpLiGDXLfX4GvfvDzp9uJsxooF5ZPLVrn
"
;
//直播访客 (新强)
//直播访客 (新强)
public
static
String
VISITORKEY6
=
"DyGoVEPj7nANppy7P8NS4Z4v3PAwxeqJodqYrmwYkoHYMsV4yAxbTXwZ5wWmGQTddQgxdWoNCmN43P8fzhcuWRmdE"
;
public
static
String
VISITORKEY6
=
"DyGoVEPj7nANppy7P8NS4Z4v3PAwxeqJodqYrmwYkoHYMsV4yAxbTXwZ5wWmGQTddQgxdWoNCmN43P8fzhcuWRmdE"
;
//直播访客 (熊二)
//直播访客 (熊二)
...
...
src/test/liveTestNG.xml
View file @
e3161dbe
...
@@ -119,11 +119,6 @@
...
@@ -119,11 +119,6 @@
<class
name=
"com.kjj.cases.live.red.LiveVistorRed"
/>
<class
name=
"com.kjj.cases.live.red.LiveVistorRed"
/>
</classes>
</classes>
</test>
</test>
<!-- <test preserve-order="true" name="有奖答题">-->
<!-- <classes>-->
<!-- <class name="com.kjj.cases.live.red.QuestionAwards"/>-->
<!-- </classes>-->
<!-- </test>-->
<test
preserve-order=
"true"
name=
"有奖答题限制1次中奖"
>
<test
preserve-order=
"true"
name=
"有奖答题限制1次中奖"
>
<classes>
<classes>
...
...
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