Skip to content

Commit

Permalink
Remove duplicate regexes and tests (matomo-org#7927)
Browse files Browse the repository at this point in the history
  • Loading branch information
liviuconcioiu authored Nov 20, 2024
1 parent dd9938c commit 81102ef
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 61 deletions.
18 changes: 0 additions & 18 deletions Tests/fixtures/phablet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 0 additions & 18 deletions Tests/fixtures/smartphone-22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
16 changes: 0 additions & 16 deletions Tests/fixtures/smartphone-37.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 0 additions & 9 deletions regexes/device/mobiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)(?:[);/ ]|$)'
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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]'
Expand Down Expand Up @@ -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])'
Expand Down

0 comments on commit 81102ef

Please sign in to comment.