Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getUserAgentType_FireFox (0.65 sec)

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

            assertEquals(UserAgentType.CHROME, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_FireFox() {
            getMockRequest().addHeader("user-agent", "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0");
            assertEquals(UserAgentType.FIREFOX, 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