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
fd770151
Commit
fd770151
authored
6 years ago
by
wanggang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改gitigore限制上传没有用的内容
parent
b1836158
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
.gitignore
+14
-1
src/test/java/com/mjitech/qa/test/AddSkuToCart.java
+2
-3
src/test/java/com/mjitech/qa/test/FlagInterface.java
+1
-0
No files found.
.gitignore
View file @
fd770151
/target/
*.classpath
*.project
*.settings/
*.idea/
*.sonar/
*target/
bin/
*bin/
bin/
*.iml
*.bak
*test-output/
sublime-project
sublime-project.sublime-workspace
This diff is collapsed.
Click to expand it.
src/test/java/com/mjitech/qa/test/AddSkuToCart.java
View file @
fd770151
...
@@ -94,7 +94,7 @@ public class AddSkuToCart {
...
@@ -94,7 +94,7 @@ public class AddSkuToCart {
String
is_succ
=
getCarResult
.
getString
(
"is_succ"
);
String
is_succ
=
getCarResult
.
getString
(
"is_succ"
);
Assert
.
assertEquals
(
is_succ
,
"true"
);
Assert
.
assertEquals
(
is_succ
,
"true"
);
logger
.
info
(
"getCarResult is"
+
getCarResult
);
logger
.
info
(
"getCarResult is"
+
getCarResult
);
//
System.out.println("getCarResult is:"+getCarResult);
System
.
out
.
println
(
"getCarResult is:"
+
getCarResult
);
}
catch
(
ClientProtocolException
e
)
{
}
catch
(
ClientProtocolException
e
)
{
// TODO Auto-generated catch block
// TODO Auto-generated catch block
e
.
printStackTrace
();
e
.
printStackTrace
();
...
@@ -139,8 +139,7 @@ public class AddSkuToCart {
...
@@ -139,8 +139,7 @@ public class AddSkuToCart {
//{"currentCount":1,"is_succ":true}
//{"currentCount":1,"is_succ":true}
String
is_succ
=
add_sku_to_cart_result
.
getString
(
"is_succ"
);
String
is_succ
=
add_sku_to_cart_result
.
getString
(
"is_succ"
);
Assert
.
assertEquals
(
is_succ
,
"true"
);
Assert
.
assertEquals
(
is_succ
,
"true"
);
logger
.
info
(
"add_sku_to_cart result is:"
+
add_sku_to_cart_result
);
System
.
out
.
println
(
"add_sku_to_cart result is:"
+
add_sku_to_cart_result
);
//System.out.println("add_sku_to_cart result is:"+add_sku_to_cart_result);
}
catch
(
ClientProtocolException
e
)
{
}
catch
(
ClientProtocolException
e
)
{
// TODO Auto-generated catch block
// TODO Auto-generated catch block
e
.
printStackTrace
();
e
.
printStackTrace
();
...
...
This diff is collapsed.
Click to expand it.
src/test/java/com/mjitech/qa/test/FlagInterface.java
View file @
fd770151
...
@@ -72,4 +72,5 @@ public class FlagInterface {
...
@@ -72,4 +72,5 @@ public class FlagInterface {
e
.
printStackTrace
();
e
.
printStackTrace
();
}
}
}
}
}
}
This diff is collapsed.
Click to expand it.
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