Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getUserAgentType_OTHER (0.21 sec)

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

            getMockRequest().addHeader("user-agent", "Opera/9.80 (X11; U; Linux x86_64) Presto/2.9.181 Version/12.00");
            assertEquals(UserAgentType.OPERA, userAgentHelper.getUserAgentType());
        }
    
        public void test_getUserAgentType_OTHER() {
            getMockRequest().addHeader("user-agent", "Dummy");
            assertEquals(UserAgentType.OTHER, 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