Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add tests for IE9, IE10, IE11, Chrome

  • Loading branch information...
commit c3e8a8cc44dc74ab323671a8185824cf462e8352 1 parent 0d88fe0
J.M authored

Showing 1 changed file with 30 additions and 6 deletions. Show diff stats Hide diff stats

  1. +30 6 test/classes/PMA_Config_test.php
36 test/classes/PMA_Config_test.php
@@ -128,6 +128,30 @@ public function userAgentProvider()
128 128 '8.0',
129 129 ),
130 130 array(
  131 + 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)',
  132 + 'Win',
  133 + 'IE',
  134 + '9.0',
  135 + ),
  136 + array(
  137 + 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Win64; x64; Trident/6.0)',
  138 + 'Win',
  139 + 'IE',
  140 + '10.0',
  141 + ),
  142 + array(
  143 + 'Mozilla/5.0 (IE 11.0; Windows NT 6.3; Trident/7.0; .NET4.0E; .NET4.0C; rv:11.0) like Gecko',
  144 + 'Win',
  145 + 'IE',
  146 + '11.0',
  147 + ),
  148 + array(
  149 + 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22',
  150 + 'Win',
  151 + 'CHROME',
  152 + '25.0.1364.172',
  153 + ),
  154 + array(
131 155 'Mozilla/5.0 (Unknown; U; Unix BSD/SYSV system; C -) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.10.2',
132 156 'Unix',
133 157 'SAFARI',
@@ -147,18 +171,18 @@ public function userAgentProvider()
147 171 array(
148 172 'Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0',
149 173 'Linux',
150   - 'MOZILLA',
  174 + 'FIREFOX',
151 175 '5.0',
152 176 ),
153   - /**
154   - * @todo Is this version really expected?
155   - */
156 177 array(
157 178 'Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/12.0',
158 179 'Linux',
159   - 'MOZILLA',
160   - '5.0',
  180 + 'FIREFOX',
  181 + '12.0',
161 182 ),
  183 + /**
  184 + * @todo Is this version really expected?
  185 + */
162 186 array(
163 187 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.4+ (KHTML, like Gecko) Version/5.0 Safari/535.4+ SUSE/12.1 (3.2.1) Epiphany/3.2.1',
164 188 'Linux',

0 comments on commit c3e8a8c

Please sign in to comment.
Something went wrong with that request. Please try again.