Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-04-27 06:00:27 +0400
committervipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2010-04-27 06:00:27 +0400
commit6669ce9c7a8e05893920b7454e8d093793081b8c (patch)
tree389c7850e4166167a7fddf2cbebb16ebc31ab898 /plugins/UserSettings
parentb51d0e7ff3b2fbacea09fcea5948fd276d5ce46c (diff)
add unit tests for IE9 (and IE9 in IE7 compatibility mode) user agent strings
Diffstat (limited to 'plugins/UserSettings')
-rw-r--r--plugins/UserSettings/tests/UserSettings.test.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/UserSettings/tests/UserSettings.test.php b/plugins/UserSettings/tests/UserSettings.test.php
index ee8ef4f6f1..84afa043ae 100644
--- a/plugins/UserSettings/tests/UserSettings.test.php
+++ b/plugins/UserSettings/tests/UserSettings.test.php
@@ -430,6 +430,12 @@ class Test_Piwik_UserSettings extends UnitTestCase
array('MAC', 'Mac OS', 'Mac OS')),
// Internet Explorer
+ 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)' => array(
+ array('IE', 'Internet Explorer', 'IE', '9.0', '9', '0', 'ie'),
+ array('WI7', 'Windows 7', 'Win 7')),
+ 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/5.0)' => array(
+ array('IE', 'Internet Explorer', 'IE', '7.0', '7', '0', 'ie'),
+ array('WVI', 'Windows Vista', 'Win Vista')),
'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.04506; .NET CLR 3.5.21022; InfoPath.2; SLCC1; Zune 3.0)' => array(
array('IE', 'Internet Explorer', 'IE', '8.0', '8', '0', 'ie'),
array('WI7', 'Windows 7', 'Win 7')),