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
a8d4cb32
Commit
a8d4cb32
authored
Apr 15, 2021
by
张艳玲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
ac17aa28
Changes
51
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
51 changed files
with
137 additions
and
183 deletions
+137
-183
GetShareSign.java
src/test/java/com/kjj/bean/GetShareSign.java
+0
-14
LotteryList.java
src/test/java/com/kjj/bean/LotteryList.java
+0
-21
RedSimpleDetail.java
src/test/java/com/kjj/bean/RedSimpleDetail.java
+0
-17
TokenUserBean.java
src/test/java/com/kjj/bean/admin/TokenUserBean.java
+1
-1
AgentBean.java
src/test/java/com/kjj/bean/agent/AgentBean.java
+1
-1
AgentCard.java
src/test/java/com/kjj/bean/agent/AgentCard.java
+1
-1
AgentEndList.java
src/test/java/com/kjj/bean/agent/AgentEndList.java
+1
-1
ConfidList.java
src/test/java/com/kjj/bean/lottery/ConfidList.java
+1
-1
LotteryList.java
src/test/java/com/kjj/bean/lottery/LotteryList.java
+13
-1
AnswerBean.java
src/test/java/com/kjj/bean/manager/AnswerBean.java
+1
-1
AnswerListBean.java
src/test/java/com/kjj/bean/manager/AnswerListBean.java
+1
-1
RewardPkBean.java
src/test/java/com/kjj/bean/manager/RewardPkBean.java
+1
-1
VoteBean.java
src/test/java/com/kjj/bean/manager/VoteBean.java
+1
-1
VoteListBean.java
src/test/java/com/kjj/bean/manager/VoteListBean.java
+2
-3
WelfareBean.java
src/test/java/com/kjj/bean/manager/WelfareBean.java
+1
-1
WelfareListBean.java
src/test/java/com/kjj/bean/manager/WelfareListBean.java
+2
-1
AnchorRedList.java
src/test/java/com/kjj/bean/red/AnchorRedList.java
+1
-1
RedFindDetail.java
src/test/java/com/kjj/bean/red/RedFindDetail.java
+1
-1
RedGetSimple.java
src/test/java/com/kjj/bean/red/RedGetSimple.java
+1
-1
RedHelpInfo.java
src/test/java/com/kjj/bean/red/RedHelpInfo.java
+1
-1
RedHelpQuery.java
src/test/java/com/kjj/bean/red/RedHelpQuery.java
+1
-1
RedHepDetail.java
src/test/java/com/kjj/bean/red/RedHepDetail.java
+1
-1
RedLuckResult.java
src/test/java/com/kjj/bean/red/RedLuckResult.java
+1
-1
RedNum.java
src/test/java/com/kjj/bean/red/RedNum.java
+1
-1
RedOpendate.java
src/test/java/com/kjj/bean/red/RedOpendate.java
+1
-1
RedOrdinary.java
src/test/java/com/kjj/bean/red/RedOrdinary.java
+1
-1
RedState.java
src/test/java/com/kjj/bean/red/RedState.java
+1
-1
RedSultList.java
src/test/java/com/kjj/bean/red/RedSultList.java
+1
-1
LiveVisitor.java
src/test/java/com/kjj/bean/resources/LiveVisitor.java
+1
-1
ResourceEditList.java
src/test/java/com/kjj/bean/resources/ResourceEditList.java
+1
-1
ResourceForm.java
src/test/java/com/kjj/bean/resources/ResourceForm.java
+1
-1
ResourceFree.java
src/test/java/com/kjj/bean/resources/ResourceFree.java
+1
-1
ResourceLink.java
src/test/java/com/kjj/bean/resources/ResourceLink.java
+1
-1
ResourcePushList.java
src/test/java/com/kjj/bean/resources/ResourcePushList.java
+1
-1
ResourceTestDetail.java
src/test/java/com/kjj/bean/resources/ResourceTestDetail.java
+1
-1
ResourceTestParticipate.java
.../java/com/kjj/bean/resources/ResourceTestParticipate.java
+1
-1
MngAuthorization.java
src/test/java/com/kjj/cases/live/MngAuthorization.java
+0
-18
AdminAuthorization.java
...est/java/com/kjj/cases/live/admin/AdminAuthorization.java
+1
-1
Agent.java
src/test/java/com/kjj/cases/live/agent/Agent.java
+2
-1
LiveAgent.java
src/test/java/com/kjj/cases/live/agent/LiveAgent.java
+2
-4
Procurator.java
src/test/java/com/kjj/cases/live/agent/Procurator.java
+6
-5
CloseLive.java
src/test/java/com/kjj/cases/live/anchor/CloseLive.java
+3
-2
LiveVisitors.java
src/test/java/com/kjj/cases/live/anchor/LiveVisitors.java
+3
-2
OpenLive.java
src/test/java/com/kjj/cases/live/anchor/OpenLive.java
+2
-1
DesignatedWinner.java
...est/java/com/kjj/cases/live/lottery/DesignatedWinner.java
+4
-3
Lottery.java
src/test/java/com/kjj/cases/live/lottery/Lottery.java
+46
-39
LiveMaterial.java
src/test/java/com/kjj/cases/live/manager/LiveMaterial.java
+6
-9
SaveAndUpdate.java
src/test/java/com/kjj/cases/live/manager/SaveAndUpdate.java
+5
-4
LiveVistorRed.java
src/test/java/com/kjj/cases/live/red/LiveVistorRed.java
+4
-3
QuestionAwards.java
src/test/java/com/kjj/cases/live/red/QuestionAwards.java
+3
-2
User.java
src/test/java/com/kjj/cases/live/user/User.java
+3
-2
No files found.
src/test/java/com/kjj/bean/GetShareSign.java
deleted
100644 → 0
View file @
ac17aa28
package
com
.
kjj
.
bean
;
import
lombok.Data
;
@Data
public
class
GetShareSign
{
private
String
posterUrl
;
private
String
mpQrcode
;
private
String
mpShareUrl
;
private
String
mpShareTitle
;
private
String
shareSign
;
private
String
shareContent
;
private
String
liveType
;
}
src/test/java/com/kjj/bean/LotteryList.java
deleted
100644 → 0
View file @
ac17aa28
package
com
.
kjj
.
bean
;
import
lombok.Data
;
import
java.util.List
;
@Data
public
class
LotteryList
{
private
List
<
List_Lottery
>
LotteryList
;
private
String
welfareId
;
private
String
configId
;
@Data
public
static
class
List_Lottery
{
private
String
id
;
private
String
name
;
}
}
src/test/java/com/kjj/bean/RedSimpleDetail.java
deleted
100644 → 0
View file @
ac17aa28
package
com
.
kjj
.
bean
;
import
lombok.Data
;
import
java.util.Date
;
@Data
public
class
RedSimpleDetail
{
private
int
totalAmount
;
private
int
luckAmount
;
private
int
luckNum
;
private
int
luckHelpNum
;
private
Date
startTime
;
private
int
redStatus
;
}
src/test/java/com/kjj/bean/TokenUserBean.java
→
src/test/java/com/kjj/bean/
admin/
TokenUserBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
admin
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/AgentBean.java
→
src/test/java/com/kjj/bean/
agent/
AgentBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
agent
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/AgentCard.java
→
src/test/java/com/kjj/bean/
agent/
AgentCard.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
agent
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/AgentEndList.java
→
src/test/java/com/kjj/bean/
agent/
AgentEndList.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
agent
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ConfidList.java
→
src/test/java/com/kjj/bean/
lottery/
ConfidList.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
lottery
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/lottery/LotteryList.java
View file @
a8d4cb32
...
@@ -2,8 +2,20 @@ package com.kjj.bean.lottery;
...
@@ -2,8 +2,20 @@ package com.kjj.bean.lottery;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
@Data
@Data
public
class
LotteryList
{
public
class
LotteryList
{
private
int
drawDownNum
;
private
List
<
List_Lottery
>
LotteryList
;
private
String
welfareId
;
private
String
configId
;
@Data
public
static
class
List_Lottery
{
private
String
id
;
private
String
name
;
}
}
}
src/test/java/com/kjj/bean/AnswerBean.java
→
src/test/java/com/kjj/bean/
manager/
AnswerBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/AnswerListBean.java
→
src/test/java/com/kjj/bean/
manager/
AnswerListBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
import
java.util.List
;
...
...
src/test/java/com/kjj/bean/RewardPkBean.java
→
src/test/java/com/kjj/bean/
manager/
RewardPkBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/VoteBean.java
→
src/test/java/com/kjj/bean/
manager/
VoteBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/VoteListBean.java
→
src/test/java/com/kjj/bean/
manager/
VoteListBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
com.kjj.bean.manager.VoteBean
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
@Data
@Data
public
class
VoteListBean
{
public
class
VoteListBean
{
...
...
src/test/java/com/kjj/bean/WelfareBean.java
→
src/test/java/com/kjj/bean/
manager/
WelfareBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/WelfareListBean.java
→
src/test/java/com/kjj/bean/
manager/
WelfareListBean.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
manager
;
import
com.kjj.bean.manager.WelfareBean
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
import
java.util.List
;
...
...
src/test/java/com/kjj/bean/AnchorRedList.java
→
src/test/java/com/kjj/bean/
red/
AnchorRedList.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedFindDetail.java
→
src/test/java/com/kjj/bean/
red/
RedFindDetail.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedGetSimple.java
→
src/test/java/com/kjj/bean/
red/
RedGetSimple.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedHelpInfo.java
→
src/test/java/com/kjj/bean/
red/
RedHelpInfo.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedHelpQuery.java
→
src/test/java/com/kjj/bean/
red/
RedHelpQuery.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedHepDetail.java
→
src/test/java/com/kjj/bean/
red/
RedHepDetail.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedLuckResult.java
→
src/test/java/com/kjj/bean/
red/
RedLuckResult.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedNum.java
→
src/test/java/com/kjj/bean/
red/
RedNum.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedOpendate.java
→
src/test/java/com/kjj/bean/
red/
RedOpendate.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedOrdinary.java
→
src/test/java/com/kjj/bean/
red/
RedOrdinary.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedState.java
→
src/test/java/com/kjj/bean/
red/
RedState.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/RedSultList.java
→
src/test/java/com/kjj/bean/
red/
RedSultList.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
red
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/LiveVisitor.java
→
src/test/java/com/kjj/bean/
resources/
LiveVisitor.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourceEditList.java
→
src/test/java/com/kjj/bean/
resources/
ResourceEditList.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourceForm.java
→
src/test/java/com/kjj/bean/
resources/
ResourceForm.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourceFree.java
→
src/test/java/com/kjj/bean/
resources/
ResourceFree.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourceLink.java
→
src/test/java/com/kjj/bean/
resources/
ResourceLink.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourcePushList.java
→
src/test/java/com/kjj/bean/
resources/
ResourcePushList.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourceTestDetail.java
→
src/test/java/com/kjj/bean/
resources/
ResourceTestDetail.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/bean/ResourceTestParticipate.java
→
src/test/java/com/kjj/bean/
resources/
ResourceTestParticipate.java
View file @
a8d4cb32
package
com
.
kjj
.
bean
;
package
com
.
kjj
.
bean
.
resources
;
import
lombok.Data
;
import
lombok.Data
;
...
...
src/test/java/com/kjj/cases/live/MngAuthorization.java
deleted
100644 → 0
View file @
ac17aa28
package
com
.
kjj
.
cases
.
live
;
import
com.kjj.utils.NetworkUtils
;
/**
* 管理员后台授权
*/
public
interface
MngAuthorization
{
NetworkUtils
network
=
NetworkUtils
.
getInstance
();
default
void
mngAuth
(){
// 创建sso用户 并传到network里
network
.
agentCookies
.
put
(
"csrf_token"
,
"ff715857c2234f6577cbf1a57600c316"
);
network
.
agentCookies
.
put
(
"sso_ticket"
,
"dcdc60f6fe4a0c5a439d15d67101400cb"
);
}
}
src/test/java/com/kjj/cases/live/AdminAuthorization.java
→
src/test/java/com/kjj/cases/live/
admin/
AdminAuthorization.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
admin
;
import
com.kjj.utils.NetworkUtils
;
import
com.kjj.utils.NetworkUtils
;
import
static
com
.
kjj
.
config
.
BasicConfig
.*;
import
static
com
.
kjj
.
config
.
BasicConfig
.*;
...
...
src/test/java/com/kjj/cases/live/Agent.java
→
src/test/java/com/kjj/cases/live/
agent/
Agent.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
agent
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
...
...
src/test/java/com/kjj/cases/live/LiveAgent.java
→
src/test/java/com/kjj/cases/live/
agent/
LiveAgent.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
agent
;
import
com.alibaba.fastjson.JSONArray
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.alibaba.fastjson.JSONObject
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
...
@@ -11,7 +10,6 @@ import org.testng.annotations.Test;
...
@@ -11,7 +10,6 @@ import org.testng.annotations.Test;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
...
src/test/java/com/kjj/cases/live/Procurator.java
→
src/test/java/com/kjj/cases/live/
agent/
Procurator.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
agent
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.kjj.bean.AgentBean
;
import
com.kjj.bean.agent.AgentBean
;
import
com.kjj.bean.AgentCard
;
import
com.kjj.bean.agent.AgentCard
;
import
com.kjj.bean.AgentEndList
;
import
com.kjj.bean.agent.AgentEndList
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
...
@@ -17,7 +18,7 @@ import java.util.List;
...
@@ -17,7 +18,7 @@ import java.util.List;
import
java.util.Map
;
import
java.util.Map
;
/*代理人端*/
/*代理人端*/
public
class
Procurator
implements
AdminAuthorization
{
public
class
Procurator
implements
AdminAuthorization
{
@BeforeClass
@BeforeClass
public
void
setUp
()
{
public
void
setUp
()
{
...
...
src/test/java/com/kjj/cases/live/CloseLive.java
→
src/test/java/com/kjj/cases/live/
anchor/
CloseLive.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
anchor
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
...
@@ -10,7 +11,7 @@ import org.testng.annotations.Test;
...
@@ -10,7 +11,7 @@ import org.testng.annotations.Test;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
public
class
CloseLive
implements
AdminAuthorization
{
public
class
CloseLive
implements
AdminAuthorization
{
@BeforeClass
@BeforeClass
...
...
src/test/java/com/kjj/cases/live/LiveVisitors.java
→
src/test/java/com/kjj/cases/live/
anchor/
LiveVisitors.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
anchor
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.kjj.bean.*
;
import
com.kjj.bean.resources.*
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
...
...
src/test/java/com/kjj/cases/live/OpenLive.java
→
src/test/java/com/kjj/cases/live/
anchor/
OpenLive.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
anchor
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.ThreadSleepUtils
;
import
com.kjj.utils.ThreadSleepUtils
;
...
...
src/test/java/com/kjj/cases/live/DesignatedWinner.java
→
src/test/java/com/kjj/cases/live/
lottery/
DesignatedWinner.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
lottery
;
import
com.kjj.bean.LotteryList
;
import
com.kjj.bean.lottery.LotteryList
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
...
@@ -13,7 +14,7 @@ import java.util.HashMap;
...
@@ -13,7 +14,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
public
class
DesignatedWinner
implements
AdminAuthorization
{
public
class
DesignatedWinner
implements
AdminAuthorization
{
public
List
<
LotteryList
.
List_Lottery
>
List_Lottery
;
public
List
<
LotteryList
.
List_Lottery
>
List_Lottery
;
public
List
<
LotteryList
>
welfareId
;
public
List
<
LotteryList
>
welfareId
;
...
...
src/test/java/com/kjj/cases/live/Lottery.java
→
src/test/java/com/kjj/cases/live/
lottery/
Lottery.java
View file @
a8d4cb32
This diff is collapsed.
Click to expand it.
src/test/java/com/kjj/cases/live/LiveMaterial.java
→
src/test/java/com/kjj/cases/live/
manager/
LiveMaterial.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
manager
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.kjj.bean.VoteBean
;
import
com.kjj.bean.manager.VoteBean
;
import
com.kjj.bean.VoteListBean
;
import
com.kjj.bean.manager.VoteListBean
;
import
com.kjj.bean.WelfareBean
;
import
com.kjj.bean.manager.WelfareBean
;
import
com.kjj.bean.WelfareListBean
;
import
com.kjj.bean.manager.WelfareListBean
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.utils.BaseUtils
;
import
com.kjj.utils.BaseUtils
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
...
@@ -14,16 +15,12 @@ import org.testng.annotations.Test;
...
@@ -14,16 +15,12 @@ import org.testng.annotations.Test;
import
java.util.*
;
import
java.util.*
;
public
class
LiveMaterial
implements
AdminAuthorization
{
public
class
LiveMaterial
implements
AdminAuthorization
{
@BeforeClass
@BeforeClass
public
void
setUp
()
{
public
void
setUp
()
{
// adminAuth();
BaseUtils
.
ssoLogin
();
BaseUtils
.
ssoLogin
();
}
}
@Test
(
description
=
"添加奖品"
,
priority
=
1
)
@Test
(
description
=
"添加奖品"
,
priority
=
1
)
public
void
添加奖品
()
{
public
void
添加奖品
()
{
...
...
src/test/java/com/kjj/cases/live/SaveAndUpdate.java
→
src/test/java/com/kjj/cases/live/
manager/
SaveAndUpdate.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
manager
;
import
com.kjj.bean.AnswerBean
;
import
com.kjj.bean.
manager.
AnswerBean
;
import
com.kjj.bean.AnswerListBean
;
import
com.kjj.bean.
manager.
AnswerListBean
;
import
com.kjj.bean.RewardPkBean
;
import
com.kjj.bean.
manager.
RewardPkBean
;
import
com.kjj.bean.answer.*
;
import
com.kjj.bean.answer.*
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.BaseUtils
;
import
com.kjj.utils.BaseUtils
;
...
...
src/test/java/com/kjj/cases/live/LiveVistorRed.java
→
src/test/java/com/kjj/cases/live/
red/
LiveVistorRed.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
red
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.kjj.bean.*
;
import
com.kjj.bean.red.*
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
...
@@ -14,7 +15,7 @@ import java.util.HashMap;
...
@@ -14,7 +15,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
public
class
LiveVistorRed
implements
AdminAuthorization
{
public
class
LiveVistorRed
implements
AdminAuthorization
{
public
String
confId_Red
;
public
String
confId_Red
;
public
String
visitor_red
;
public
String
visitor_red
;
...
...
src/test/java/com/kjj/cases/live/QuestionAwards.java
→
src/test/java/com/kjj/cases/live/
red/
QuestionAwards.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
red
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.kjj.bean.answer.*
;
import
com.kjj.bean.answer.*
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.utils.JsonUtil
;
import
com.kjj.utils.JsonUtil
;
...
@@ -16,7 +17,7 @@ import java.util.HashMap;
...
@@ -16,7 +17,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
public
class
QuestionAwards
implements
AdminAuthorization
{
public
class
QuestionAwards
implements
AdminAuthorization
{
public
String
confId_ques
;
public
String
confId_ques
;
public
String
confId_reward
;
public
String
confId_reward
;
...
...
src/test/java/com/kjj/cases/live/User.java
→
src/test/java/com/kjj/cases/live/
user/
User.java
View file @
a8d4cb32
package
com
.
kjj
.
cases
.
live
;
package
com
.
kjj
.
cases
.
live
.
user
;
import
com.kjj.cases.live.admin.AdminAuthorization
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.config.BasicConfig
;
import
com.kjj.constants.LiveConstants
;
import
com.kjj.constants.LiveConstants
;
import
io.restassured.response.Response
;
import
io.restassured.response.Response
;
...
@@ -10,7 +11,7 @@ import java.util.HashMap;
...
@@ -10,7 +11,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
public
class
User
implements
AdminAuthorization
{
public
class
User
implements
AdminAuthorization
{
@BeforeClass
@BeforeClass
public
void
setUp
()
{
visitorAuth
();
}
public
void
setUp
()
{
visitorAuth
();
}
...
...
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