From 81102ef9d9b3e0c8543abe66fd169f5ba7d1ba79 Mon Sep 17 00:00:00 2001 From: Liviu-Mihail Concioiu Date: Wed, 20 Nov 2024 09:57:56 +0100 Subject: [PATCH] Remove duplicate regexes and tests (#7927) ref #7926 --- Tests/fixtures/phablet.yml | 18 ------------------ Tests/fixtures/smartphone-22.yml | 18 ------------------ Tests/fixtures/smartphone-37.yml | 16 ---------------- regexes/device/mobiles.yml | 9 --------- 4 files changed, 61 deletions(-) diff --git a/Tests/fixtures/phablet.yml b/Tests/fixtures/phablet.yml index 57c857f981..876b83e915 100644 --- a/Tests/fixtures/phablet.yml +++ b/Tests/fixtures/phablet.yml @@ -9628,24 +9628,6 @@ model: Redmi Note 11 os_family: Android browser_family: Chrome -- - user_agent: Mozilla/5.0 (Linux; Android 12; Infinix X671B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36 - os: - name: Android - version: "12" - platform: "" - client: - type: browser - name: Chrome Mobile - version: 104.0.0.0 - engine: Blink - engine_version: 104.0.0.0 - device: - type: phablet - brand: Infinix - model: Note 12 Pro 5G - os_family: Android - browser_family: Chrome - user_agent: Mozilla/5.0 (Linux; U; Android 11; en-us; Redmi Note 11 Pro Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/13.12.0-gn os: diff --git a/Tests/fixtures/smartphone-22.yml b/Tests/fixtures/smartphone-22.yml index 5d675ae8ca..670aefc686 100644 --- a/Tests/fixtures/smartphone-22.yml +++ b/Tests/fixtures/smartphone-22.yml @@ -8791,24 +8791,6 @@ model: Reno 5 5G os_family: Android browser_family: Chrome -- - user_agent: Mozilla/5.0 (Linux; Android 11; RMX2173) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.66 Mobile Safari/537.36 - os: - name: Android - version: "11" - platform: "" - client: - type: browser - name: Chrome Mobile - version: 90.0.4430.66 - engine: Blink - engine_version: 90.0.4430.66 - device: - type: smartphone - brand: Realme - model: Q2 Pro - os_family: Android - browser_family: Chrome - user_agent: Mozilla/5.0 (Linux; Android 11; RMX2202) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.91 Mobile Safari/537.36 os: diff --git a/Tests/fixtures/smartphone-37.yml b/Tests/fixtures/smartphone-37.yml index 9382b5b74b..9570b905e6 100644 --- a/Tests/fixtures/smartphone-37.yml +++ b/Tests/fixtures/smartphone-37.yml @@ -2575,22 +2575,6 @@ model: Moto G14 os_family: Android browser_family: Chrome -- - user_agent: Mozilla/5.0 (Linux; Android 13; SM-M546B Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/116.0.0.0 Mobile Safari/537.36 Instagram 300.0.0.29.110 Android (33/13; 450dpi; 1080x2173; samsung; SM-M546B; m54x; s5e8835; pt_BR; 515103460) - os: - name: Android - version: "13" - platform: "" - client: - type: mobile app - name: Instagram - version: 300.0.0.29.110 - device: - type: smartphone - brand: Samsung - model: Galaxy M54 5G - os_family: Android - browser_family: Unknown - user_agent: Mozilla/5.0 (Linux; Android 13; SM-A346M Build/TP1A.220624.014; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/116.0.0.0 Mobile Safari/537.36 Instagram 301.0.0.33.110 Android (33/13; 450dpi; 1080x2130; samsung; SM-A346M; a34x; mt6877; pt_BR; 517900830) os: diff --git a/regexes/device/mobiles.yml b/regexes/device/mobiles.yml index 84858b1d32..3106db247c 100644 --- a/regexes/device/mobiles.yml +++ b/regexes/device/mobiles.yml @@ -8295,8 +8295,6 @@ Sony: model: 'Xperia Ace III' - regex: '(?:A001SO|XQ-AU42|XQ-AU51|XQ-A[TU]52|SO-41A|SOV43)(?:[);/ ]|$)' model: 'Xperia 10 II' - - regex: '(?:A001SO|XQ-AU42|XQ-AU51|XQ-A[TU]52|SO-41A|SOV43)(?:[);/ ]|$)' - model: 'Xperia 10 II' - regex: '(?:A10[12]SO|SO-52B|SOG04|XQ-BT52)(?:[);/ ]|$)' model: 'Xperia 10 III' - regex: '(?:SO-52D|XQ-DC72|XQ-DC54|A302SO)(?:[);/ ]|$)' @@ -13062,9 +13060,6 @@ Infinix: - regex: 'Infinix[ _-]X663D' model: 'Note 12 NFC' device: 'phablet' - - regex: 'Infinix[ _-]X671B' - model: 'Note 12 Pro 5G' - device: 'phablet' - regex: 'Infinix[ _-]X663' model: 'Note 11' device: 'phablet' @@ -20067,8 +20062,6 @@ Realme: model: 'X3' - regex: 'Realme X7 Max 5G' model: 'X7 Max 5G' - - regex: 'RMX2173' - model: 'Q2 Pro' - regex: 'RMX346[12]' model: 'Q3s' - regex: 'RMX211[12]' @@ -23160,8 +23153,6 @@ Samsung: model: 'Galaxy M54 5G' - regex: '(?:SAMSUNG-)?SM-M625' model: 'Galaxy M62' - - regex: '(?:SAMSUNG-)?SM-M546' - model: 'Galaxy M54 5G' - regex: '(?:SAMSUNG-)?SM-M556' model: 'Galaxy M55 5G' - regex: '(?:SAMSUNG-)?SM-W201([689])'