mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-08 03:24:27 +08:00
96.5% coverage
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user