mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Unit Tests
- Added JSON samples to test the parser.
This commit is contained in:
parent
df1920d75c
commit
f669b5f56f
22 changed files with 756 additions and 8 deletions
41
test/json/interop.json
Normal file
41
test/json/interop.json
Normal file
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"ResultSet": {
|
||||
"totalResultsAvailable": "1827221",
|
||||
"totalResultsReturned": 2,
|
||||
"firstResultPosition": 1,
|
||||
"Result": [
|
||||
{
|
||||
"Title": "potato jpg",
|
||||
"Summary": "Kentang Si bungsu dari keluarga Solanum tuberosum L ini ternyata memiliki khasiat untuk mengurangi kerutan jerawat bintik hitam dan kemerahan pada kulit Gunakan seminggu sekali sebagai",
|
||||
"Url": "http:\/\/www.mediaindonesia.com\/spaw\/uploads\/images\/potato.jpg",
|
||||
"ClickUrl": "http:\/\/www.mediaindonesia.com\/spaw\/uploads\/images\/potato.jpg",
|
||||
"RefererUrl": "http:\/\/www.mediaindonesia.com\/mediaperempuan\/index.php?ar_id=Nzkw",
|
||||
"FileSize": 22630,
|
||||
"FileFormat": "jpeg",
|
||||
"Height": "362",
|
||||
"Width": "532",
|
||||
"Thumbnail": {
|
||||
"Url": "http:\/\/thm-a01.yimg.com\/nimage\/557094559c18f16a",
|
||||
"Height": "98",
|
||||
"Width": "145"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Title": "potato jpg",
|
||||
"Summary": "Introduction of puneri aloo This is a traditional potato preparation flavoured with curry leaves and peanuts and can be eaten on fasting day Preparation time 10 min",
|
||||
"Url": "http:\/\/www.infovisual.info\/01\/photo\/potato.jpg",
|
||||
"ClickUrl": "http:\/\/www.infovisual.info\/01\/photo\/potato.jpg",
|
||||
"RefererUrl": "http:\/\/sundayfood.com\/puneri-aloo-indian-%20recipe",
|
||||
"FileSize": 119398,
|
||||
"FileFormat": "jpeg",
|
||||
"Height": "685",
|
||||
"Width": "1024",
|
||||
"Thumbnail": {
|
||||
"Url": "http:\/\/thm-a01.yimg.com\/nimage\/7fa23212efe84b64",
|
||||
"Height": "107",
|
||||
"Width": "160"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue