Expand unit test coverage for UserSettings
|Reported by:||vipsoft||Owned by:||vipsoft|
Unit tests were added in  but is incomplete. Propose to provide 100% coverage for the user agent strings that Piwik is expected to parse. A large sampling of user agent strings should help in identifying deficiencies in the parser.
For example, the following is mis-identified as Firefox 3.0:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en; rv:126.96.36.199pre) Gecko/2009041800 Camino/2.0b3pre (like Firefox/3.0.10pre)