Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_convert (0.04 sec)

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

            hoge.setRegularName("www.foo.com");
            hoge.setDuplicateHostName("www.foo.com:99");
            duplicateHostHelper.duplicateHostList.add(hoge);
        }
    
        public void test_convert() {
            String url;
            String result;
    
            url = "http://foo.com";
            result = "http://www.foo.com";
            assertEquals(result, duplicateHostHelper.convert(url));
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            }
    
            @Test
            @DisplayName("getName() should return expected byte array")
            void testGetNameMethod() {
                byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8);
                CreateContextResponse response = mock(CreateContextResponse.class);
                when(response.getName()).thenReturn(expectedName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            }
    
            @Test
            @DisplayName("getName() should return expected byte array")
            void testGetNameMethod() {
                byte[] expectedName = "TEST_CONTEXT".getBytes(StandardCharsets.UTF_8);
                CreateContextRequest request = mock(CreateContextRequest.class);
                when(request.getName()).thenReturn(expectedName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top