用于测试 JsonAnalyzer2 1.01版的测试用例
14.
原文={"animal":"ca,t","color":"ora:nge","isMale":true,"sn":,"pak":null,rate:22.345,}
内部排序后文本:
{
"animal":"ca,t",
"color":"ora:nge",
"isMale":true,
"pak":null,
"sn":,
rate:22.345
}
13.
原文={ "HeWeather6":[ { "status":"ok", "update":{ "loc":"2017-10-2623-09", "utc":"2017-10-2615-09" } } ]}
内部排序后文本:
{
"HeWeather6":[
{
"status":"ok",
"update":{
"loc":"2017-10-2623-09",
"utc":"2017-10-2615-09"
}
}
]
}
12.
原文={ "type": "object", "properties": { "first_name": { "type": "string" }, "last_name": { "type": "string" }, "age": { "type": "integer" }, "club": { "type": "object", "properties": { "name": { "type": "string" }, "founded": { "type": "integer" } }, "required": ["name"] } }, "required": ["first_name", "last_name", "age", "club"]}
内部排序后文本:
{
"properties":{
"age":{
"type":"integer"
},
"club":{
"properties":{
"founded":{
"type":"integer"
},
"name":{
"type":"string"
}
},
"required":[
"name"
],
"type":"object"
},
"first_name":{
"type":"string"
},
"last_name":{
"type":"string"
}
},
"required":[
"first_name",
"last_name",
"age",
"club"
],
"type":"object"
}
11.
原文={ "data": [ { "deliveryListId": "", "shipperCode": "", "shortShipperName": "RB", "orderNo": "", "deliveryOrder": , "receiverName": "吉田 XXX", "receiverTelNo": "", "receiverAddress1": "東京都足立区足立1-1", "receiverAddress2": "東京都足立区足立1-2", "isCod": true, "billAmount": , "geocodingScore": , "latitudeJP": "56789.33", "longitudeJP": "123456.33", "latitude": "20180001.22", "longitude": "20180001.33", "vehicleId": "", "orderDetails": [ { "trackingNo": "", "quantity": , "lapCount": null, "statusCode": null, "statusNameMobile": null }, { "trackingNo": "", "quantity": , "lapCount": , "statusCode": "", "statusNameMobile": "配送準備中" }, { "trackingNo": "", "quantity": , "lapCount": , "statusCode": "", "statusNameMobile": "持出し" }, { "trackingNo": "", "quantity": , "lapCount": , "statusCode": "", "statusNameMobile": "配送準備中" }, { "trackingNo": "", "quantity": , "lapCount": , "statusCode": "", "statusNameMobile": "配送準備中" } ] } ]}
内部排序后文本:
{
"data":[
{
"billAmount":,
"deliveryListId":"",
"deliveryOrder":,
"geocodingScore":,
"isCod":true,
"latitude":"20180001.22",
"latitudeJP":"56789.33",
"longitude":"20180001.33",
"longitudeJP":"123456.33",
"orderDetails":[
{
"lapCount":null,
"quantity":,
"statusCode":null,
"statusNameMobile":null,
"trackingNo":""
},
{
"lapCount":,
"quantity":,
"statusCode":"",
"statusNameMobile":"配送準備中",
"trackingNo":""
},
{
"lapCount":,
"quantity":,
"statusCode":"",
"statusNameMobile":"持出し",
"trackingNo":""
},
{
"lapCount":,
"quantity":,
"statusCode":"",
"statusNameMobile":"配送準備中",
"trackingNo":""
},
{
"lapCount":,
"quantity":,
"statusCode":"",
"statusNameMobile":"配送準備中",
"trackingNo":""
}
],
"orderNo":"",
"receiverAddress1":"東京都足立区足立1-1",
"receiverAddress2":"東京都足立区足立1-2",
"receiverName":"吉田 XXX",
"receiverTelNo":"",
"shipperCode":"",
"shortShipperName":"RB",
"vehicleId":""
}
]
}
10.
原文={ "HeWeather6": [{ "basic": { "cid": "CN101010100", "location": "北京", "parent_city": "北京", "admin_area": "北京", "cnty": "中国", "lat": "39.90498734", "lon": "116.40528870", "tz": "8.0" }, "daily_forecast": [{ "cond_code_d": "", "cond_code_n": "", "cond_txt_d": "晴间多云", "cond_txt_n": "多云", "date": "2017-10-26", "hum": "", "pcpn": "0.0", "pop": "", "pres": "", "tmp_max": "", "tmp_min": "", "uv_index": "", "vis": "", "wind_deg": "", "wind_dir": "无持续风向", "wind_sc": "微风", "wind_spd": "" }, { "cond_code_d": "", "cond_code_n": "", "cond_txt_d": "多云", "cond_txt_n": "雾", "date": "2017-10-27", "hum": "", "pcpn": "0.0", "pop": "", "pres": "", "tmp_max": "", "tmp_min": "", "uv_index": "", "vis": "", "wind_deg": "", "wind_dir": "南风", "wind_sc": "微风", "wind_spd": "" }, { "cond_code_d": "", "cond_code_n": "", "cond_txt_d": "多云", "cond_txt_n": "多云", "date": "2017-10-28", "hum": "", "pcpn": "0.0", "pop": "", "pres": "", "tmp_max": "", "tmp_min": "", "uv_index": "", "vis": "", "wind_deg": "", "wind_dir": "北风", "wind_sc": "3-4", "wind_spd": "" }], "status": "ok", "update": { "loc": "2017-10-26 23:09", "utc": "2017-10-26 15:09" } }]}
内部排序后文本:
{
"HeWeather6":[
{
"basic":{
"admin_area":"北京",
"cid":"CN101010100",
"cnty":"中国",
"lat":"39.90498734",
"location":"北京",
"lon":"116.40528870",
"parent_city":"北京",
"tz":"8.0"
},
"daily_forecast":[
{
"cond_code_d":"",
"cond_code_n":"",
"cond_txt_d":"晴间多云",
"cond_txt_n":"多云",
"date":"2017-10-26",
"hum":"",
"pcpn":"0.0",
"pop":"",
"pres":"",
"tmp_max":"",
"tmp_min":"",
"uv_index":"",
"vis":"",
"wind_deg":"",
"wind_dir":"无持续风向",
"wind_sc":"微风",
"wind_spd":""
},
{
"cond_code_d":"",
"cond_code_n":"",
"cond_txt_d":"多云",
"cond_txt_n":"雾",
"date":"2017-10-27",
"hum":"",
"pcpn":"0.0",
"pop":"",
"pres":"",
"tmp_max":"",
"tmp_min":"",
"uv_index":"",
"vis":"",
"wind_deg":"",
"wind_dir":"南风",
"wind_sc":"微风",
"wind_spd":""
},
{
"cond_code_d":"",
"cond_code_n":"",
"cond_txt_d":"多云",
"cond_txt_n":"多云",
"date":"2017-10-28",
"hum":"",
"pcpn":"0.0",
"pop":"",
"pres":"",
"tmp_max":"",
"tmp_min":"",
"uv_index":"",
"vis":"",
"wind_deg":"",
"wind_dir":"北风",
"wind_sc":"3-4",
"wind_spd":""
}
],
"status":"ok",
"update":{
"loc":"2017-10-26 23:09",
"utc":"2017-10-26 15:09"
}
}
]
}
09.
原文={ "name": "username", "age": , "admin": true }
内部排序后文本:
{
"admin":true,
"age":,
"name":"username"
}
08.
原文={"employees": [{ "firstName":"Bill" , "lastName":"Gates" },{ "firstName":"George" , "lastName":"Bush" },{ "firstName":"Thomas" , "lastName":"Carter" }]}
内部排序后文本:
{
"employees":[
{
"firstName":"Bill",
"lastName":"Gates"
},
{
"firstName":"George",
"lastName":"Bush"
},
{
"firstName":"Thomas",
"lastName":"Carter"
}
]
}
07.
原文={"scores":[,,,,]}
内部排序后文本:
{
"scores":[
,
,
,
, ]
}
06.
原文={"students":["张三","李四","王五","赵六","孙琪","钱吧"]}
内部排序后文本:
{
"students":[
"张三",
"李四",
"王五",
"赵六",
"孙琪",
"钱吧"
]
}
05.
原文={"eggCartoon":["egg","egg","egg","egg","egg","egg","egg",null,"egg",null,"egg",]}
内部排序后文本:
{
"eggCartoon":[
"egg",
"egg",
"egg",
"egg",
"egg",
"egg",
"egg",
null,
"egg",
null,
"egg"
]
}
04.
原文={"person":{ "name":"Lindsay Bassett", "heightInInches":, "head":{ "hair":{ "color":"light blood", "length":"short", "style":"a-line" }, "eyes":"green" }}}
内部排序后文本:
{
"person":{
"head":{
"eyes":"green",
"hair":{
"color":"light blood",
"length":"short",
"style":"a-line"
}
},
"heightInInches":,
"name":"Lindsay Bassett"
}
}
03.
原文={"name":"Flutty","breed":"Siamese","age":}
内部排序后文本:
{
"age":,
"breed":"Siamese",
"name":"Flutty"
}
02.
原文={"animal":"cat","color":"orange"}
内部排序后文本:
{
"animal":"cat",
"color":"orange"
}
01.
原文={ "status": "", "message": "success", "data": { "title": { "id": "", "name" : "白菜" }, "content": [ { "id": "", "value":"你好 白菜" }, { "id": "", "value":"你好 萝卜" } ] }}
内部排序后文本:
{
"data":{
"content":[
{
"id":"",
"value":"你好 白菜"
},
{
"id":"",
"value":"你好 萝卜"
}
],
"title":{
"id":"",
"name":"白菜"
}
},
"message":"success",
"status":""
}
--2020年5月25日--
用于测试 JsonAnalyzer2 1.01版的测试用例的更多相关文章
- 用于测试XmlAnalyzer 1.00版的八个测试用例
XmlAnalyzer 工程目的:将XML的属性和子节点按字母序排列,然后整形输出: 08. 原文=<project xmlns="http://maven.apache.org/PO ...
- JsonAnalyzer2 1.01版
本版的改进主要在字符串的处理,前版不允许出现[]{},:等,现在都可以了,做出的修改主要在Lexer类,另外Token类增加1了下标,TreeBuilder类的不合语法处也做出一定修改. 测试用例:h ...
- 用于测试SqlAnalyzer1.00的十七个测试用例
SqlAnalyzer功能:解析SQL语句,具体到字段,表和条件,并将其整理后输出格式化文本. 1. 原文=select a from b 整理后文本= select a from b 2. 原文=s ...
- 测试思想-测试设计 史上最详细测试用例设计实践总结 Part2
史上最详细测试用例设计实践总结 by:授客 QQ:1033553122 -------------------------接 Part1-------------------------- 方法:这里 ...
- VMware配置回环地址用于测试
我们在开发过程中,很可能需要一台服务器用于测试,在这种环境下,我们很可能需要用到vmware来构建这样的开发环境.但如果当前处在一个离线,或是不在网内的环境下,我们所搭建的环境有可能无法 ...
- Fundebug前端JavaScript插件更新至1.6.0,新增test()方法用于测试
摘要: 1.6.0新增fundebug.test()方法用于测试,请大家及时更新. 默认情况下,Fundebug 插件能够自动捕获未处理的错误(uncaught error).另外,开发者也可以通过使 ...
- linux 创建虚拟块设备,制作文件系统并挂载,用于测试lustre
1.制作块文件 3 个 [root@localhost yaoxu]# [root@localhost yaoxu]# [root@localhost yaoxu]# 2.创建回环设备 [root@l ...
- 【AMAD】splinter -- 用于测试web app的python框架
简介 动机 作用 用法 热度分析 个人评分 简介 Splinter1是一个开源工具,使用Python编写,用于测试web apps.它可以用来对浏览器实现自动化操作,比如访问URLs,和按钮等交互. ...
- (转)用C#实现实现简单的 Ping 的功能,用于测试网络是否已经连通
本文转载自:http://blog.csdn.net/xiamin/archive/2009/02/14/3889696.aspx 用C#实现实现简单的 Ping 的功能,用于测试网络是否已经联通 1 ...
随机推荐
- http接口封装mqtt协议
前言 .Net Core 3.1 WebApi 列出了mqtt客户端的封装目的是为了了解运作机制 1.封装mqtt客户端 mqtt底层协议基于MQTTnet 版本2.8.5 github地址 实例化[ ...
- Web测试转App测试不看不知道
Web测试 Web通常指的是互联网应用系统,比如税务电子化征管档案系统.金融数据平台.餐饮商家管理后台等等,其实质是C/S的程序. C是Client--客户端,S是Server--服务器. Web中的 ...
- 2020重新出发,JAVA入门,关键字&保留字
关键字 & 保留字 关键字(或者保留字)是对编译器有特殊意义的固定单词,不能在程序中做其他目的使用. 关键字具有专门的意义和用途,和自定义的标识符不同,不能当作一般的标识符来使用.例如, cl ...
- 2020-04-07:说出Servlet的生命周期,并说出Servlet和CGI的区别。
Servlet的生命周期分为5个阶段:实例化:Servlet容器创建Servlet类的实例.初始化:该容器调用init()方法,通常会申请资源.服务:由容器调用service()方法,(也就是doGe ...
- Quartz.Net的基础使用方法,单任务执行
1.先创建一个控制台应用程序 2.应用Quartz的NuGet包 3.编写执行任务代码 using System; using System.Threading.Tasks; using Quar ...
- C#LeetCode刷题之#521-最长特殊序列 Ⅰ(Longest Uncommon Subsequence I)
问题 该文章的最新版本已迁移至个人博客[比特飞],单击链接 https://www.byteflying.com/archives/3949 访问. 给定两个字符串,你需要从这两个字符串中找出最长的特 ...
- C#LeetCode刷题之#628-三个数的最大乘积( Maximum Product of Three Numbers)
问题 该文章的最新版本已迁移至个人博客[比特飞],单击链接 https://www.byteflying.com/archives/3726 访问. 给定一个整型数组,在数组中找出由三个数组成的最大乘 ...
- Kruscal算法求图的最小生成树
Kruscal算法求图的最小生成树 概述 和Prim算法求图的最小生成树一样,Kruscal算法求最小生成树也用到了贪心的思想,只不过前者是贪心地选择点,后者是贪心地选择边.而且在算法的实现中,我 ...
- hook框架-frida使用-环境配置
一.python安装模块 pip3 install frida pip3 install frida-tools 二.下载frida-server #下载链接 https://github.com/f ...
- CentOS ISO 下载地址
x86_64:https://wiki.centos.org/Download ARM:http://mirror.nsc.liu.se/centos-store/altarch/ http://dl ...