mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-06 04:45:34 -04:00
96.5% coverage
This commit is contained in:
parent
970e7a45a9
commit
f7b51414b8
@ -60,8 +60,7 @@ public class CookieListTest {
|
|||||||
"{\"path\":\"/\","+
|
"{\"path\":\"/\","+
|
||||||
"\"expires\":\"Wed, 19-Mar-2014 17:53:53 GMT\","+
|
"\"expires\":\"Wed, 19-Mar-2014 17:53:53 GMT\","+
|
||||||
"\"domain\":\".yahoo.com\","+
|
"\"domain\":\".yahoo.com\","+
|
||||||
"\"name\":\"PH\","+
|
"\"PH\":\"deleted\"}";
|
||||||
"\"value\":\"deleted\"}";
|
|
||||||
JSONObject jsonObject = CookieList.toJSONObject(cookieStr);
|
JSONObject jsonObject = CookieList.toJSONObject(cookieStr);
|
||||||
JSONObject expectedJsonObject = new JSONObject(expectedCookieStr);
|
JSONObject expectedJsonObject = new JSONObject(expectedCookieStr);
|
||||||
Util.compareActualVsExpectedJsonObjects(jsonObject,expectedJsonObject);
|
Util.compareActualVsExpectedJsonObjects(jsonObject,expectedJsonObject);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user