From 856e7a3e13b22cee6bad6fdf2db4d5609edc5f5c Mon Sep 17 00:00:00 2001 From: Looly Date: Wed, 20 Jan 2021 17:58:12 +0800 Subject: [PATCH] fix format --- .../src/test/resources/evaluation.json | 250 ++++---- hutool-json/src/test/resources/exam_test.json | 560 +++++++++--------- hutool-json/src/test/resources/issue488.json | 35 +- .../src/test/resources/issue488Array.json | 39 +- .../src/test/resources/issueIVMD5.json | 158 ++--- .../src/test/resources/suiteReport.json | 248 ++++---- 6 files changed, 661 insertions(+), 629 deletions(-) diff --git a/hutool-json/src/test/resources/evaluation.json b/hutool-json/src/test/resources/evaluation.json index 85a76cc12..9f95b20b3 100644 --- a/hutool-json/src/test/resources/evaluation.json +++ b/hutool-json/src/test/resources/evaluation.json @@ -1,126 +1,126 @@ { - "HF003": "武汉市", - "HF002": "585.37", - "HF005": "", - "HF004": "154", - "costTotal": 12, - "HF001": "北京市", - "HF007": "北京市", - "HF006": "0", - "HF009": "", - "HF008": "武汉市", - "HH010": "0", - "resResult": 0, - "HH011": "394.3", - "HH012": "7", - "HH013": "0", - "HH014": "0", - "XT_NO": "2017101714250003", - "resMsg": "success", - "HH008": "0", - "HH009": "0", - "HH006": "0", - "HH007": "0", - "HH004": "0", - "HH005": "0", - "HH002": "1", - "HH003": "0", - "HH001": "38.93", - "resCode": "0000", - "HD002": "77", - "HD001": "1", - "HG008": "0", - "HE004": "0", - "HG007": "0", - "HE003": "0", - "HE002": "2", - "HG009": "0", - "HE001": "1", - "HG004": "4", - "HE008": "139.55", - "HG003": "164.18", - "HE007": "50", - "HG006": "1", - "HD008": "0", - "HE006": "0", - "HG005": "77", - "HE005": "0", - "HD007": "0", - "HD004": "0.0", - "HG002": "7", - "HE009": "0", - "HD005": "0.0", - "HG001": "259.4", - "HE011": "0", - "HE010": "0", - "HE013": "1", - "HE012": "0", - "HE015": "0", - "HE014": "0", - "HE017": "3", - "HG016": "商户", - "HE016": "0", - "HG015": "商户", - "HE019": "20", - "HG014": "餐馆", - "HE018": "2", - "HG013": "计算机商店", - "HG012": "仓储大超市", - "HG011": "3", - "HG010": "0", - "HB001": "1", - "HB003": "631", - "HB002": "492", - "HE026": "1", - "HE025": "1", - "HE024": "59.76", - "HE023": "93.83", - "HE022": "0", - "HE021": "0", - "XT_MONTH02": "2017/04", - "HE020": "0", - "XT_MONTH01": "2017/03", - "HE029": "0", - "CARD_HOLDER": "王雁", - "HE028": "0", - "HE027": "0", - "CARD_NO": "6225768752646560", - "HC016": "103.02", - "HC015": "93.83", - "HC014": "0", - "HC013": "0", - "HC012": "213.73", - "HC011": "90", - "HC010": "3", - "HE035": "0", - "HE034": "0", - "HE036": "43.26", - "HD010": "0", - "HE031": "20", - "HD011": "0", - "HE030": "1", - "HE033": "0", - "HD013": "11.00", - "HE032": "74.18", - "HD014": "423.58", - "HA002": "金卡", - "HA001": "招商银行", - "HD016": "8", - "HA004": "4", - "HD017": "7", - "HF010": "8", - "HA003": "招商银行信用卡", - "HC008": "0", - "HC007": "0", - "HC009": "3", - "HC004": "83.43", - "HC003": "2.0", - "HC006": "3", - "HC005": "3", - "XT_MONTH05": "2017/07", - "XT_MONTH06": "2017/08", - "HC002": "500.58", - "XT_MONTH03": "2017/05", - "HC001": "12", - "XT_MONTH04": "2017/06" -} \ No newline at end of file + "HF003": "武汉市", + "HF002": "585.37", + "HF005": "", + "HF004": "154", + "costTotal": 12, + "HF001": "北京市", + "HF007": "北京市", + "HF006": "0", + "HF009": "", + "HF008": "武汉市", + "HH010": "0", + "resResult": 0, + "HH011": "394.3", + "HH012": "7", + "HH013": "0", + "HH014": "0", + "XT_NO": "2017101714250003", + "resMsg": "success", + "HH008": "0", + "HH009": "0", + "HH006": "0", + "HH007": "0", + "HH004": "0", + "HH005": "0", + "HH002": "1", + "HH003": "0", + "HH001": "38.93", + "resCode": "0000", + "HD002": "77", + "HD001": "1", + "HG008": "0", + "HE004": "0", + "HG007": "0", + "HE003": "0", + "HE002": "2", + "HG009": "0", + "HE001": "1", + "HG004": "4", + "HE008": "139.55", + "HG003": "164.18", + "HE007": "50", + "HG006": "1", + "HD008": "0", + "HE006": "0", + "HG005": "77", + "HE005": "0", + "HD007": "0", + "HD004": "0.0", + "HG002": "7", + "HE009": "0", + "HD005": "0.0", + "HG001": "259.4", + "HE011": "0", + "HE010": "0", + "HE013": "1", + "HE012": "0", + "HE015": "0", + "HE014": "0", + "HE017": "3", + "HG016": "商户", + "HE016": "0", + "HG015": "商户", + "HE019": "20", + "HG014": "餐馆", + "HE018": "2", + "HG013": "计算机商店", + "HG012": "仓储大超市", + "HG011": "3", + "HG010": "0", + "HB001": "1", + "HB003": "631", + "HB002": "492", + "HE026": "1", + "HE025": "1", + "HE024": "59.76", + "HE023": "93.83", + "HE022": "0", + "HE021": "0", + "XT_MONTH02": "2017/04", + "HE020": "0", + "XT_MONTH01": "2017/03", + "HE029": "0", + "CARD_HOLDER": "王雁", + "HE028": "0", + "HE027": "0", + "CARD_NO": "6225768752646560", + "HC016": "103.02", + "HC015": "93.83", + "HC014": "0", + "HC013": "0", + "HC012": "213.73", + "HC011": "90", + "HC010": "3", + "HE035": "0", + "HE034": "0", + "HE036": "43.26", + "HD010": "0", + "HE031": "20", + "HD011": "0", + "HE030": "1", + "HE033": "0", + "HD013": "11.00", + "HE032": "74.18", + "HD014": "423.58", + "HA002": "金卡", + "HA001": "招商银行", + "HD016": "8", + "HA004": "4", + "HD017": "7", + "HF010": "8", + "HA003": "招商银行信用卡", + "HC008": "0", + "HC007": "0", + "HC009": "3", + "HC004": "83.43", + "HC003": "2.0", + "HC006": "3", + "HC005": "3", + "XT_MONTH05": "2017/07", + "XT_MONTH06": "2017/08", + "HC002": "500.58", + "XT_MONTH03": "2017/05", + "HC001": "12", + "XT_MONTH04": "2017/06" +} diff --git a/hutool-json/src/test/resources/exam_test.json b/hutool-json/src/test/resources/exam_test.json index 4105473f6..761fe6f9f 100644 --- a/hutool-json/src/test/resources/exam_test.json +++ b/hutool-json/src/test/resources/exam_test.json @@ -1,281 +1,281 @@ [ - { - "id": 1753, - "examNumber": 1, - "isAnswer": true, - "answerArray": [ - { - "seq": 0 - } - ], - "isRight": 1, - "isSubject": 0 - }, - { - "id": 1754, - "examNumber": 2, - "isAnswer": true, - "answerArray": [ - { - "seq": 1 - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1756, - "examNumber": 3, - "isAnswer": true, - "answerArray": [ - { - "seq": 1 - }, - { - "seq": 2 - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1757, - "examNumber": 4, - "isAnswer": true, - "answerArray": [ - { - "seq": 1 - }, - { - "seq": 3 - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1759, - "examNumber": 5, - "isAnswer": true, - "answerArray": [ - { - "seq": 0 - } - ], - "isRight": 1, - "isSubject": 0 - }, - { - "id": 1760, - "examNumber": 6, - "isAnswer": true, - "answerArray": [ - { - "seq": 1 - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1762, - "examNumber": 7, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "公司的发生地方" - }, - { - "detailContent": "告诉对方" - }, - { - "detailContent": "二位水电费" - }, - { - "detailContent": "公司东方闪电" - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1763, - "examNumber": 8, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "告诉对方s" - }, - { - "detailContent": "公司垫付多少" - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1765, - "examNumber": 9, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg,http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg" - } - ], - "isSubject": 1 - }, - { - "id": 1766, - "examNumber": 10, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg,http://…_1.jpg,http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg" - } - ], - "isSubject": 1 - }, - { - "id": 0, - "examNumber": 11, - "isAnswer": true, - "answerArray": [ - { - "seq": 0 - } - ], - "isRight": 1, - "isSubject": 0 - }, - { - "id": 1, - "examNumber": 12, - "isAnswer": true, - "answerArray": [ - { - "seq": 1 - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 2, - "examNumber": 13, - "isAnswer": true, - "answerArray": [ - { - "seq": 0 - } - ], - "isRight": 1, - "isSubject": 0 - }, - { - "id": 3, - "examNumber": 14, - "isAnswer": true, - "answerArray": [ - { - "seq": 1 - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 4, - "examNumber": 15, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "公司东方闪电" - }, - { - "detailContent": "国顺副食店" - }, - { - "detailContent": "无二水电费是的" - }, - { - "detailContent": "公司东方闪电" - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 5, - "examNumber": 16, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "公司东方闪电" - }, - { - "detailContent": "格式的维尔士大夫" - }, - { - "detailContent": "公司东风" - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 6, - "examNumber": 17, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg" - } - ], - "isSubject": 1 - }, - { - "id": 0, - "examNumber": 18, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "告诉对方" - }, - { - "detailContent": "个涉外收电费" - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 0, - "examNumber": 19, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "公司发的" - }, - { - "detailContent": "公司东方闪电" - } - ], - "isRight": 0, - "isSubject": 0 - }, - { - "id": 1774, - "examNumber": 20, - "isAnswer": true, - "answerArray": [ - { - "detailContent": "好改送的非官方的" - }, - { - "detailContent": "和是发送到发送到" - } - ], - "isRight": 0, - "isSubject": 0 - } -] \ No newline at end of file + { + "id": 1753, + "examNumber": 1, + "isAnswer": true, + "answerArray": [ + { + "seq": 0 + } + ], + "isRight": 1, + "isSubject": 0 + }, + { + "id": 1754, + "examNumber": 2, + "isAnswer": true, + "answerArray": [ + { + "seq": 1 + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1756, + "examNumber": 3, + "isAnswer": true, + "answerArray": [ + { + "seq": 1 + }, + { + "seq": 2 + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1757, + "examNumber": 4, + "isAnswer": true, + "answerArray": [ + { + "seq": 1 + }, + { + "seq": 3 + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1759, + "examNumber": 5, + "isAnswer": true, + "answerArray": [ + { + "seq": 0 + } + ], + "isRight": 1, + "isSubject": 0 + }, + { + "id": 1760, + "examNumber": 6, + "isAnswer": true, + "answerArray": [ + { + "seq": 1 + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1762, + "examNumber": 7, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "公司的发生地方" + }, + { + "detailContent": "告诉对方" + }, + { + "detailContent": "二位水电费" + }, + { + "detailContent": "公司东方闪电" + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1763, + "examNumber": 8, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "告诉对方s" + }, + { + "detailContent": "公司垫付多少" + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1765, + "examNumber": 9, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg,http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg" + } + ], + "isSubject": 1 + }, + { + "id": 1766, + "examNumber": 10, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg,http://…_1.jpg,http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg" + } + ], + "isSubject": 1 + }, + { + "id": 0, + "examNumber": 11, + "isAnswer": true, + "answerArray": [ + { + "seq": 0 + } + ], + "isRight": 1, + "isSubject": 0 + }, + { + "id": 1, + "examNumber": 12, + "isAnswer": true, + "answerArray": [ + { + "seq": 1 + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 2, + "examNumber": 13, + "isAnswer": true, + "answerArray": [ + { + "seq": 0 + } + ], + "isRight": 1, + "isSubject": 0 + }, + { + "id": 3, + "examNumber": 14, + "isAnswer": true, + "answerArray": [ + { + "seq": 1 + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 4, + "examNumber": 15, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "公司东方闪电" + }, + { + "detailContent": "国顺副食店" + }, + { + "detailContent": "无二水电费是的" + }, + { + "detailContent": "公司东方闪电" + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 5, + "examNumber": 16, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "公司东方闪电" + }, + { + "detailContent": "格式的维尔士大夫" + }, + { + "detailContent": "公司东风" + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 6, + "examNumber": 17, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "http://pic6.huitu.com/res/20130116/84481_20130116142820494200_1.jpg" + } + ], + "isSubject": 1 + }, + { + "id": 0, + "examNumber": 18, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "告诉对方" + }, + { + "detailContent": "个涉外收电费" + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 0, + "examNumber": 19, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "公司发的" + }, + { + "detailContent": "公司东方闪电" + } + ], + "isRight": 0, + "isSubject": 0 + }, + { + "id": 1774, + "examNumber": 20, + "isAnswer": true, + "answerArray": [ + { + "detailContent": "好改送的非官方的" + }, + { + "detailContent": "和是发送到发送到" + } + ], + "isRight": 0, + "isSubject": 0 + } +] diff --git a/hutool-json/src/test/resources/issue488.json b/hutool-json/src/test/resources/issue488.json index 2aea7f9a9..4ffb05640 100644 --- a/hutool-json/src/test/resources/issue488.json +++ b/hutool-json/src/test/resources/issue488.json @@ -1,16 +1,21 @@ { - "context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.emailAddress)", - "value": [{ - "name": "\u4f1a\u8bae\u5ba4101", - "address": "MeetingRoom101@abc.com" - }, { - "name": "\u4f1a\u8bae\u5ba4102", - "address": "MeetingRoom102@abc.com" - }, { - "name": "\u4f1a\u8bae\u5ba4103", - "address": "MeetingRoom103@abc.com" - }, { - "name": "\u4f1a\u8bae\u5ba4219", - "address": "MeetingRoom219@abc.com" - }] -} \ No newline at end of file + "context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.emailAddress)", + "value": [ + { + "name": "\u4f1a\u8bae\u5ba4101", + "address": "MeetingRoom101@abc.com" + }, + { + "name": "\u4f1a\u8bae\u5ba4102", + "address": "MeetingRoom102@abc.com" + }, + { + "name": "\u4f1a\u8bae\u5ba4103", + "address": "MeetingRoom103@abc.com" + }, + { + "name": "\u4f1a\u8bae\u5ba4219", + "address": "MeetingRoom219@abc.com" + } + ] +} diff --git a/hutool-json/src/test/resources/issue488Array.json b/hutool-json/src/test/resources/issue488Array.json index fd6653cb3..ab837d76c 100644 --- a/hutool-json/src/test/resources/issue488Array.json +++ b/hutool-json/src/test/resources/issue488Array.json @@ -1,16 +1,23 @@ -[{ - "context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.emailAddress)", - "value": [{ - "name": "\u4f1a\u8bae\u5ba4101", - "address": "MeetingRoom101@abc.com" - }, { - "name": "\u4f1a\u8bae\u5ba4102", - "address": "MeetingRoom102@abc.com" - }, { - "name": "\u4f1a\u8bae\u5ba4103", - "address": "MeetingRoom103@abc.com" - }, { - "name": "\u4f1a\u8bae\u5ba4219", - "address": "MeetingRoom219@abc.com" - }] -}] \ No newline at end of file +[ + { + "context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.emailAddress)", + "value": [ + { + "name": "\u4f1a\u8bae\u5ba4101", + "address": "MeetingRoom101@abc.com" + }, + { + "name": "\u4f1a\u8bae\u5ba4102", + "address": "MeetingRoom102@abc.com" + }, + { + "name": "\u4f1a\u8bae\u5ba4103", + "address": "MeetingRoom103@abc.com" + }, + { + "name": "\u4f1a\u8bae\u5ba4219", + "address": "MeetingRoom219@abc.com" + } + ] + } +] diff --git a/hutool-json/src/test/resources/issueIVMD5.json b/hutool-json/src/test/resources/issueIVMD5.json index 38e509923..0bc2fce75 100644 --- a/hutool-json/src/test/resources/issueIVMD5.json +++ b/hutool-json/src/test/resources/issueIVMD5.json @@ -1,81 +1,81 @@ { - "result": 1, - "pagination": { - "maxPage": "2057", - "totalDataCount": "4114" - }, - "data": [ - { - "birthday": "", - "linkPhone": "", - "nation": "01", - "studentCode": "20170001", - "unitiveCode": "20170001", - "sex": "2", - "linkAddress": "", - "identityCard": "", - "accountId": "B4DDF491FDF34074AE7A819E1341CB6C", - "classId": "8c38f49c4362479cad59fdd5966fed04", - "password": "25d55ad283aa400af464c76d713c07ad", - "modifyTime": "20190311152351126", - "isDeleted": "0", - "postalcode": "", - "background": "", - "schoolId": "D23E00EBA6364220A17BBDB92A361ACA", - "studentName": "蓝有城", - "sequenceIntId": "1", - "nativePlace": "", - "id": "2C90488969524E9901696BA2E3D60005", - "username": "s0000000002894659" - }, - { - "birthday": "20010421000000", - "linkPhone": "", - "nation": "01", - "studentCode": "16000001310001", - "unitiveCode": "G452226200104219223", - "sex": "2", - "linkAddress": "", - "identityCard": "", - "accountId": "", - "classId": "8dbcc4906abc484a83cc0e1e1f0d91a3", - "password": "", - "modifyTime": "20190327201832000", - "isDeleted": "0", - "postalcode": "546100", - "background": "", - "schoolId": "D23E00EBA6364220A17BBDB92A361ACA", - "studentName": "韦奇秀", - "sequenceIntId": "21", - "nativePlace": "451302", - "id": "2C90488969BD091C0169BEF12988002A", - "username": "" - } - ], - "data2": { - "birthday": "", - "linkPhone": "", - "nation": "01", - "studentCode": "20170001", - "unitiveCode": "20170001", - "sex": "2", - "linkAddress": "", - "identityCard": "", - "accountId": "B4DDF491FDF34074AE7A819E1341CB6C", - "classId": "8c38f49c4362479cad59fdd5966fed04", - "password": "25d55ad283aa400af464c76d713c07ad", - "modifyTime": "20190311152351126", - "isDeleted": "0", - "postalcode": "", - "background": "", - "schoolId": "D23E00EBA6364220A17BBDB92A361ACA", - "studentName": "蓝有城", - "sequenceIntId": "1", - "nativePlace": "", - "id": "2C90488969524E9901696BA2E3D60005", - "username": "s0000000002894659" - }, - "nextDataUri": "", - "message": "ok", - "dataCount": 2 + "result": 1, + "pagination": { + "maxPage": "2057", + "totalDataCount": "4114" + }, + "data": [ + { + "birthday": "", + "linkPhone": "", + "nation": "01", + "studentCode": "20170001", + "unitiveCode": "20170001", + "sex": "2", + "linkAddress": "", + "identityCard": "", + "accountId": "B4DDF491FDF34074AE7A819E1341CB6C", + "classId": "8c38f49c4362479cad59fdd5966fed04", + "password": "25d55ad283aa400af464c76d713c07ad", + "modifyTime": "20190311152351126", + "isDeleted": "0", + "postalcode": "", + "background": "", + "schoolId": "D23E00EBA6364220A17BBDB92A361ACA", + "studentName": "蓝有城", + "sequenceIntId": "1", + "nativePlace": "", + "id": "2C90488969524E9901696BA2E3D60005", + "username": "s0000000002894659" + }, + { + "birthday": "20010421000000", + "linkPhone": "", + "nation": "01", + "studentCode": "16000001310001", + "unitiveCode": "G452226200104219223", + "sex": "2", + "linkAddress": "", + "identityCard": "", + "accountId": "", + "classId": "8dbcc4906abc484a83cc0e1e1f0d91a3", + "password": "", + "modifyTime": "20190327201832000", + "isDeleted": "0", + "postalcode": "546100", + "background": "", + "schoolId": "D23E00EBA6364220A17BBDB92A361ACA", + "studentName": "韦奇秀", + "sequenceIntId": "21", + "nativePlace": "451302", + "id": "2C90488969BD091C0169BEF12988002A", + "username": "" + } + ], + "data2": { + "birthday": "", + "linkPhone": "", + "nation": "01", + "studentCode": "20170001", + "unitiveCode": "20170001", + "sex": "2", + "linkAddress": "", + "identityCard": "", + "accountId": "B4DDF491FDF34074AE7A819E1341CB6C", + "classId": "8c38f49c4362479cad59fdd5966fed04", + "password": "25d55ad283aa400af464c76d713c07ad", + "modifyTime": "20190311152351126", + "isDeleted": "0", + "postalcode": "", + "background": "", + "schoolId": "D23E00EBA6364220A17BBDB92A361ACA", + "studentName": "蓝有城", + "sequenceIntId": "1", + "nativePlace": "", + "id": "2C90488969524E9901696BA2E3D60005", + "username": "s0000000002894659" + }, + "nextDataUri": "", + "message": "ok", + "dataCount": 2 } diff --git a/hutool-json/src/test/resources/suiteReport.json b/hutool-json/src/test/resources/suiteReport.json index 4d7680d06..c1adeba94 100644 --- a/hutool-json/src/test/resources/suiteReport.json +++ b/hutool-json/src/test/resources/suiteReport.json @@ -1,115 +1,135 @@ { - "reportName": "Web自动化_20181104194718", - "failCount": 0, - "finished": true, - "title": "Web自动化", - "totalCount": 1, - "env": { - "cronSuite": "testsuite", - "firefoxDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/geckodriver.exe", - "mailAccount": { - "charset": "UTF-8", - "debug": false, - "auth": true, - "pass": "q1w2e3", - "socketFactoryFallback": false, - "socketFactoryPort": 465, - "startttlsEnable": false, - "port": 25, - "socketFactoryClass": "javax.net.ssl.SSLSocketFactory", - "host": "smtp.yeah.net", - "splitlongparameters": false, - "from": "hutool@yeah.net", - "user": "hutool" - }, - "remoteMode": false, - "hubRemoteUrl": "http://192.168.2.40:4444/wd/hub", - "screenshotFolder": "/screenshot", - "cronEnabled": true, - "cronExpression": "*/2 * * * *", - "elementFolder": "F:\\Eclipse2017Workplace\\MasterYIUITest/config/element/", - "ccs": [""], - "elementLocationRetryCount": 3, - "sqlitePath": "F:\\Eclipse2017Workplace\\MasterYIUITest\\report.db", - "defaultSleepSeconds": 0.5, - "suiteFolder": "F:\\Eclipse2017Workplace\\MasterYIUITest/config/suite/", - "tos": ["309873223@qq.com", "610421185@qq.com", "xuwangcheng14@163.com"], - "ieDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/IEDriverServer.exe", - "elementLocationTimeouts": 9, - "reportFolder": "F:\\Eclipse2017Workplace\\MasterYIUITest/report", - "operaDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/operadriver.exe", - "chromeDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/chromedriver.exe", - "bccs": [""] - }, - "browserName": ["chrome"], - "successCount": 1, - "useTime": 11069, - "testTime": "2018-11-04 19:47:07", - "endTime": "2018-11-04 19:47:18", - "skipCount": 0, - "caseReports": [{ - "finishTime": "2018-11-04 19:47:18", - "caseName": "百度搜索", - "useTime": "6320", - "runCount": 0, - "caseMethodPath": "com.dcits.test.baidu.usecase.Baidu.search", - "stepReports": [{ - "stepName": "打开Url地址", - "stepId": 0, - "testTime": "2018-11-04 19:47:11", - "params": "https://www.baidu.com/", - "actionName": "打开Url地址", - "status": true - }, { - "stepName": "输入 => 搜索框", - "stepId": 1, - "location": "id => kw", - "testTime": "2018-11-04 19:47:12", - "params": "xuwangcheng.com", - "elementName": "搜索框", - "actionName": "输入", - "status": true - }, { - "stepName": "点击 => 搜索按钮", - "stepId": 2, - "location": "id => su", - "testTime": "2018-11-04 19:47:14", - "params": "", - "elementName": "搜索按钮", - "actionName": "点击", - "status": true - }, { - "stepName": "点击 => 搜索结果", - "stepId": 3, - "location": "xpath => //*[@id=\"1\"]/h3/a", - "testTime": "2018-11-04 19:47:15", - "params": "", - "elementName": "搜索结果", - "actionName": "点击", - "status": true - }, { - "stepName": "切换到指定窗口", - "stepId": 4, - "testTime": "2018-11-04 19:47:17", - "params": "1", - "actionName": "切换到指定窗口", - "status": true - }, { - "stepName": "切换到指定窗口", - "stepId": 5, - "testTime": "2018-11-04 19:47:17", - "params": "0", - "actionName": "切换到指定窗口", - "status": true - }, { - "stepName": "刷新页面", - "stepId": 6, - "testTime": "2018-11-04 19:47:17", - "params": "", - "actionName": "刷新页面", - "status": true - }], - "browserType": "chrome", - "status": "success" - }] -} \ No newline at end of file + "reportName": "Web自动化_20181104194718", + "failCount": 0, + "finished": true, + "title": "Web自动化", + "totalCount": 1, + "env": { + "cronSuite": "testsuite", + "firefoxDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/geckodriver.exe", + "mailAccount": { + "charset": "UTF-8", + "debug": false, + "auth": true, + "pass": "q1w2e3", + "socketFactoryFallback": false, + "socketFactoryPort": 465, + "startttlsEnable": false, + "port": 25, + "socketFactoryClass": "javax.net.ssl.SSLSocketFactory", + "host": "smtp.yeah.net", + "splitlongparameters": false, + "from": "hutool@yeah.net", + "user": "hutool" + }, + "remoteMode": false, + "hubRemoteUrl": "http://192.168.2.40:4444/wd/hub", + "screenshotFolder": "/screenshot", + "cronEnabled": true, + "cronExpression": "*/2 * * * *", + "elementFolder": "F:\\Eclipse2017Workplace\\MasterYIUITest/config/element/", + "ccs": [ + "" + ], + "elementLocationRetryCount": 3, + "sqlitePath": "F:\\Eclipse2017Workplace\\MasterYIUITest\\report.db", + "defaultSleepSeconds": 0.5, + "suiteFolder": "F:\\Eclipse2017Workplace\\MasterYIUITest/config/suite/", + "tos": [ + "309873223@qq.com", + "610421185@qq.com", + "xuwangcheng14@163.com" + ], + "ieDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/IEDriverServer.exe", + "elementLocationTimeouts": 9, + "reportFolder": "F:\\Eclipse2017Workplace\\MasterYIUITest/report", + "operaDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/operadriver.exe", + "chromeDriverPath": "F:\\Eclipse2017Workplace\\MasterYIUITest/src/main/resources/chromedriver.exe", + "bccs": [ + "" + ] + }, + "browserName": [ + "chrome" + ], + "successCount": 1, + "useTime": 11069, + "testTime": "2018-11-04 19:47:07", + "endTime": "2018-11-04 19:47:18", + "skipCount": 0, + "caseReports": [ + { + "finishTime": "2018-11-04 19:47:18", + "caseName": "百度搜索", + "useTime": "6320", + "runCount": 0, + "caseMethodPath": "com.dcits.test.baidu.usecase.Baidu.search", + "stepReports": [ + { + "stepName": "打开Url地址", + "stepId": 0, + "testTime": "2018-11-04 19:47:11", + "params": "https://www.baidu.com/", + "actionName": "打开Url地址", + "status": true + }, + { + "stepName": "输入 => 搜索框", + "stepId": 1, + "location": "id => kw", + "testTime": "2018-11-04 19:47:12", + "params": "xuwangcheng.com", + "elementName": "搜索框", + "actionName": "输入", + "status": true + }, + { + "stepName": "点击 => 搜索按钮", + "stepId": 2, + "location": "id => su", + "testTime": "2018-11-04 19:47:14", + "params": "", + "elementName": "搜索按钮", + "actionName": "点击", + "status": true + }, + { + "stepName": "点击 => 搜索结果", + "stepId": 3, + "location": "xpath => //*[@id=\"1\"]/h3/a", + "testTime": "2018-11-04 19:47:15", + "params": "", + "elementName": "搜索结果", + "actionName": "点击", + "status": true + }, + { + "stepName": "切换到指定窗口", + "stepId": 4, + "testTime": "2018-11-04 19:47:17", + "params": "1", + "actionName": "切换到指定窗口", + "status": true + }, + { + "stepName": "切换到指定窗口", + "stepId": 5, + "testTime": "2018-11-04 19:47:17", + "params": "0", + "actionName": "切换到指定窗口", + "status": true + }, + { + "stepName": "刷新页面", + "stepId": 6, + "testTime": "2018-11-04 19:47:17", + "params": "", + "actionName": "刷新页面", + "status": true + } + ], + "browserType": "chrome", + "status": "success" + } + ] +}