diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2013-05-12 15:57:13 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2013-05-12 15:57:13 +0530 |
commit | bcd6f79d5c3e3db5ae60098526d93b477cc9eed9 (patch) | |
tree | bd9331bf74a2d8f0a43547ee04b457091085ae5b | |
parent | 679183385fc070269ea2356722eff0f3b6defdfc (diff) | |
download | forums-bcd6f79d5c3e3db5ae60098526d93b477cc9eed9.tar forums-bcd6f79d5c3e3db5ae60098526d93b477cc9eed9.tar.gz forums-bcd6f79d5c3e3db5ae60098526d93b477cc9eed9.tar.bz2 forums-bcd6f79d5c3e3db5ae60098526d93b477cc9eed9.tar.xz forums-bcd6f79d5c3e3db5ae60098526d93b477cc9eed9.zip |
[ticket/10820] Add test cases
PHPBB3-10325
-rw-r--r-- | tests/download/http_user_agent_test.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/download/http_user_agent_test.php b/tests/download/http_user_agent_test.php index 601561f44e..e08fb7a3f1 100644 --- a/tests/download/http_user_agent_test.php +++ b/tests/download/http_user_agent_test.php @@ -52,6 +52,38 @@ class phpbb_download_http_user_agent_test extends phpbb_test_case 'Mozilla/5.0 (Windows NT 6.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1464.0 Safari/537.36', false, ), + array( + 'Googlebot-Image/1.0', + false, + ), + array( + 'Googlebot/2.1 ( http://www.google.com/bot.html)', + false, + ), + array( + 'Lynx/2.8.3dev.9 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6', + false, + ), + array( + 'Links (0.9x; Linux 2.4.7-10 i686)', + false, + ), + array( + 'Opera/9.60 (Windows NT 5.1; U; de) Presto/2.1.1', + false, + ), + array( + 'Mozilla/4.0 (compatible; MSIE 5.0; Windows NT;)', + false, + ), + array( + 'Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 4.0) Opera 6.01 [en]', + false, + ), + array( + 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; en) Opera 9.24', + false, + ), ); } |