Skip to content

Commit

Permalink
rewrite tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed Dec 10, 2024
1 parent f29b08a commit ac49d26
Show file tree
Hide file tree
Showing 314 changed files with 99,838 additions and 196,602 deletions.
42 changes: 42 additions & 0 deletions tests/data/bbk/smartphone/facebook/mobile-application/0000002.json
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,48 @@
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 12; IV2201 Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/124.0.6367.123 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/457.1.0.45.109;]"
},
"device": {
"architecture": null,
"deviceName": "IV2201",
"marketingName": "Nord CE 2 5G",
"manufacturer": "bbk",
"brand": "oneplus",
"dualOrientation": true,
"simCount": 2,
"display": {
"width": 2400,
"height": 1080,
"touch": true,
"size": 6.43
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "12.0.0",
"manufacturer": "google"
},
"client": {
"name": "Facebook App",
"version": "457.1.0.45.109",
"manufacturer": "facebook",
"type": "mobile-application",
"isbot": false
},
"engine": {
"name": "Blink",
"version": "124.0.6367.123",
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "SupportsFresco=1 modular=3 Dalvik/2.1.0 (Linux; U; Android 11; vivo 1901 Build/RP1A.200720.012) [FBAN/EMA;FBBV/586070141;FBAV/402.0.0.10.113;FBDV/vivo 1901;FBSV/11;FBCX/OkHttp3;FBDM/{density=2.0}]"
Expand Down
84 changes: 42 additions & 42 deletions tests/data/bbk/smartphone/google/browser/0000008.json
Original file line number Diff line number Diff line change
Expand Up @@ -2435,6 +2435,48 @@
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 11; IV2201) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36"
},
"device": {
"architecture": null,
"deviceName": "IV2201",
"marketingName": "Nord CE 2 5G",
"manufacturer": "bbk",
"brand": "oneplus",
"dualOrientation": true,
"simCount": 2,
"display": {
"width": 2400,
"height": 1080,
"touch": true,
"size": 6.43
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "11.0.0",
"manufacturer": "google"
},
"client": {
"name": "Chrome",
"version": "96.0.4664.104",
"manufacturer": "google",
"type": "browser",
"isbot": false
},
"engine": {
"name": "Blink",
"version": "96.0.4664.104",
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 12; NE2210) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36"
Expand Down Expand Up @@ -4156,47 +4198,5 @@
"version": "102.0.5005.78",
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Dalvik/2.1.0 (Linux; U; Android 11; BE2029 Build/RKQ1.201217.002)"
},
"device": {
"architecture": null,
"deviceName": "BE2029",
"marketingName": "Nord N10 5G",
"manufacturer": "bbk",
"brand": "oneplus",
"dualOrientation": true,
"simCount": 2,
"display": {
"width": 2400,
"height": 1080,
"touch": true,
"size": 6.49
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "11.0.0",
"manufacturer": "google"
},
"client": {
"name": "Dalvik",
"version": "2.1.0",
"manufacturer": "google",
"type": "browser",
"isbot": false
},
"engine": {
"name": "WebKit",
"version": null,
"manufacturer": "apple"
}
}
]
168 changes: 84 additions & 84 deletions tests/data/bbk/smartphone/google/browser/0000009.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,46 @@
[
{
"headers": {
"user-agent": "Dalvik/2.1.0 (Linux; U; Android 11; BE2029 Build/RKQ1.201217.002)"
},
"device": {
"architecture": null,
"deviceName": "BE2029",
"marketingName": "Nord N10 5G",
"manufacturer": "bbk",
"brand": "oneplus",
"dualOrientation": true,
"simCount": 2,
"display": {
"width": 2400,
"height": 1080,
"touch": true,
"size": 6.49
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "11.0.0",
"manufacturer": "google"
},
"client": {
"name": "Dalvik",
"version": "2.1.0",
"manufacturer": "google",
"type": "browser",
"isbot": false
},
"engine": {
"name": "WebKit",
"version": null,
"manufacturer": "apple"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 12; RMX3560) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36"
Expand Down Expand Up @@ -3149,6 +3191,48 @@
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 12; IV2201 Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/109.0.5414.85 Mobile Safari/537.36"
},
"device": {
"architecture": null,
"deviceName": "IV2201",
"marketingName": "Nord CE 2 5G",
"manufacturer": "bbk",
"brand": "oneplus",
"dualOrientation": true,
"simCount": 2,
"display": {
"width": 2400,
"height": 1080,
"touch": true,
"size": 6.43
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "12.0.0",
"manufacturer": "google"
},
"client": {
"name": "Android WebView",
"version": "109.0.5414.85",
"manufacturer": "google",
"type": "browser",
"isbot": false
},
"engine": {
"name": "Blink",
"version": "109.0.5414.85",
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 11; RMX1993 Build/RKQ1.201112.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/108.0.5359.128 Mobile Safari/537.36"
Expand Down Expand Up @@ -4114,89 +4198,5 @@
"version": "110.0.5481.153",
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 13; CPH2307 Build/TP1A.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/110.0.5481.65 Mobile Safari/537.36"
},
"device": {
"architecture": null,
"deviceName": "CPH2307",
"marketingName": "Find X5",
"manufacturer": "bbk",
"brand": "oppo",
"dualOrientation": true,
"simCount": 1,
"display": {
"width": 2400,
"height": 1080,
"touch": true,
"size": 6.55
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "13.0.0",
"manufacturer": "google"
},
"client": {
"name": "Android WebView",
"version": "110.0.5481.65",
"manufacturer": "google",
"type": "browser",
"isbot": false
},
"engine": {
"name": "Blink",
"version": "110.0.5481.65",
"manufacturer": "google"
}
},
{
"headers": {
"user-agent": "Mozilla/5.0 (Linux; Android 10; CPH1819 Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.105 Mobile Safari/537.36"
},
"device": {
"architecture": null,
"deviceName": "CPH1819",
"marketingName": "F7",
"manufacturer": "bbk",
"brand": "oppo",
"dualOrientation": null,
"simCount": null,
"display": {
"width": 2280,
"height": 1080,
"touch": true,
"size": 6.23
},
"type": "smartphone",
"ismobile": true,
"istv": false,
"bits": null
},
"os": {
"name": "Android",
"marketingName": "Android",
"version": "10.0.0",
"manufacturer": "google"
},
"client": {
"name": "Android WebView",
"version": "89.0.4389.105",
"manufacturer": "google",
"type": "browser",
"isbot": false
},
"engine": {
"name": "Blink",
"version": "89.0.4389.105",
"manufacturer": "google"
}
}
]
Loading

0 comments on commit ac49d26

Please sign in to comment.