Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mjitechauto
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wanggang
mjitechauto
Commits
c515e573
Commit
c515e573
authored
May 10, 2019
by
wanggang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉不需要关注的门店温度
parent
d9aeb6f3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
50 deletions
+0
-50
src/test/java/com/mjitech/qa/test/ContainerStatus.java
+0
-50
No files found.
src/test/java/com/mjitech/qa/test/ContainerStatus.java
View file @
c515e573
...
...
@@ -76,31 +76,6 @@ public class ContainerStatus {
}
@Test
public
void
containerStatusTest03
(){
String
url
=
"http://manager.mjitech.com/api/machines/34/container_status"
;
try
{
json
=
service
.
httppostHeaderContainerStatusReturnJson
(
url
);
System
.
out
.
println
(
"json"
+
json
);
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-mm-dd hh:mm:ss"
);
format
.
setLenient
(
false
);
format
.
format
(
date
);
buffer
.
append
(
"34-华贸商业街-"
+
date
+
"--"
+
json
+
"\r\n"
);
fw
=
new
FileWriter
(
file
,
true
)
;
fw
.
write
(
buffer
.
toString
());
fw
.
flush
();
fw
.
close
();
}
catch
(
ClientProtocolException
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
catch
(
IOException
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
}
@Test
public
void
containerStatusTest04
(){
String
url
=
"http://manager.mjitech.com/api/machines/50/container_status"
;
try
{
...
...
@@ -152,31 +127,6 @@ public class ContainerStatus {
@Test
public
void
containerStatusTest06
(){
String
url
=
"http://manager.mjitech.com/api/machines/52/container_status"
;
try
{
json
=
service
.
httppostHeaderContainerStatusReturnJson
(
url
);
System
.
out
.
println
(
"json"
+
json
);
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-mm-dd hh:mm:ss"
);
format
.
setLenient
(
false
);
format
.
format
(
date
);
buffer
.
append
(
"52-上海测试专用-华贸写字楼店-"
+
date
+
"--"
+
json
+
"\r\n"
);
fw
=
new
FileWriter
(
file
,
true
)
;
fw
.
write
(
buffer
.
toString
());
fw
.
flush
();
fw
.
close
();
}
catch
(
ClientProtocolException
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
catch
(
IOException
e
)
{
// TODO Auto-generated catch block
e
.
printStackTrace
();
}
}
@Test
public
void
containerStatusTest07
(){
String
url
=
"http://manager.mjitech.com/api/machines/40/container_status"
;
try
{
...
...
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