Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getUserAgentType_IE11 (0.13 sec)

  1. src/test/java/org/codelibs/fess/helper/UserAgentHelperTest.java

            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_IE11() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; Touch; rv:11.0) like Gecko)");
            assertEquals(UserAgentType.IE, userAgentHelper.getUserAgentType());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top