Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-charging-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5de8bc4a
authored
Nov 08, 2023
by
zhouhaibao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[+]测试用例调整
1 parent
23807629
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ModelChargingTest.java
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ModelSetTest.java
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ModelValTest.java
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ModelChargingTest.java
View file @
5de8bc4
...
@@ -29,7 +29,7 @@ public class ModelChargingTest {
...
@@ -29,7 +29,7 @@ public class ModelChargingTest {
ModelChargingReq
req
=
new
ModelChargingReq
();
ModelChargingReq
req
=
new
ModelChargingReq
();
ModelChargingReqData
modelChargingReqData
=
new
ModelChargingReqData
();
ModelChargingReqData
modelChargingReqData
=
new
ModelChargingReqData
();
req
.
setData
(
modelChargingReqData
);
req
.
setData
(
modelChargingReqData
);
req
.
getData
().
setP
oint
Id
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
req
.
getData
().
getPointId
()));
req
.
getData
().
setP
ile
Id
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
req
.
getData
().
getPointId
()));
client
.
sendSync
(
req
);
client
.
sendSync
(
req
);
...
...
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ModelSetTest.java
View file @
5de8bc4
...
@@ -28,7 +28,7 @@ public class ModelSetTest {
...
@@ -28,7 +28,7 @@ public class ModelSetTest {
ModelSetRsp
req
=
new
ModelSetRsp
();
ModelSetRsp
req
=
new
ModelSetRsp
();
req
.
setData
(
new
ModelSetRspData
());
req
.
setData
(
new
ModelSetRspData
());
req
.
getData
().
setP
oint
Id
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
req
.
getData
().
getPointId
()));
req
.
getData
().
setP
ile
Id
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
req
.
getData
().
getPointId
()));
req
.
getData
().
setSetResult
((
byte
)
0x01
);
req
.
getData
().
setSetResult
((
byte
)
0x01
);
client
.
sendSync
(
req
);
client
.
sendSync
(
req
);
...
...
platform-charging/src/test/java/cn/com/glsx/charging/gbt/ocpp16/ModelValTest.java
View file @
5de8bc4
...
@@ -26,7 +26,7 @@ public class ModelValTest {
...
@@ -26,7 +26,7 @@ public class ModelValTest {
ModelValReq
req
=
new
ModelValReq
();
ModelValReq
req
=
new
ModelValReq
();
req
.
setData
(
new
ModelValReqData
());
req
.
setData
(
new
ModelValReqData
());
req
.
getData
().
setP
oint
Id
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
req
.
getData
().
getPointId
()));
req
.
getData
().
setP
ile
Id
(
Ocpp16Helper
.
strToBcd
(
"55031412782305"
,
req
.
getData
().
getPointId
()));
req
.
getData
().
setModelCode
(
Ocpp16Helper
.
strToBcd
(
"0000"
,
req
.
getData
().
getModelCode
()));
req
.
getData
().
setModelCode
(
Ocpp16Helper
.
strToBcd
(
"0000"
,
req
.
getData
().
getModelCode
()));
client
.
sendSync
(
req
);
client
.
sendSync
(
req
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment