Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1091 - 1100 of 2,267 for Methods (0.27 sec)

  1. src/test/java/org/codelibs/fess/entity/FacetInfoTest.java

                    result);
        }
    
        // Test toString method with null fields
        public void test_toString_nullFields() {
            String result = facetInfo.toString();
            assertEquals("FacetInfo [field=null, query=null, size=null, minDocCount=null, sort=null, missing=null]", result);
        }
    
        // Test toString method with empty arrays
        public void test_toString_emptyArrays() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertEquals(expectedAttributes, searchAttributesField.get(smbComRename));
        }
    
        /**
         * Test writeParameterWordsWireFormat method
         */
        @Test
        @DisplayName("Test writeParameterWordsWireFormat writes search attributes correctly")
        public void testWriteParameterWordsWireFormat() {
            // Given
            byte[] dst = new byte[10];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

                ntlmServlet.service(request, response);
    
                // When NtlmSsp.authenticate returns null, the service method returns early
                // without setting session attributes
                verify(session, never()).setAttribute(anyString(), any());
            }
        }
    
        /**
         * Test the service method with a valid Basic Authorization header.
         * Simulates a successful Basic authentication.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java

            // Use reflection to access private method for testing
            Exception exception = assertThrows(Exception.class, () -> {
                java.lang.reflect.Method method =
                        MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class);
                method.setAccessible(true);
                method.invoke(multiChannelManager, null, null);
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/util/transport/ResponseTest.java

            assertTrue(mockResponse.isReceived());
    
            // Verify the method was called
            verify(mockResponse, times(2)).isReceived();
        }
    
        @Test
        void testReceived() {
            // Call the method
            mockResponse.received();
    
            // Verify that the method was called
            verify(mockResponse, times(1)).received();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java

         * Test readParameterWordsWireFormat method.
         */
        @Test
        void testReadParameterWordsWireFormat() {
            smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx);
            byte[] buffer = new byte[0];
            int result = smbComOpenAndX.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, result);
        }
    
        /**
         * Test readBytesWireFormat method.
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. cmd/kms-handlers_test.go

    	tests := []struct {
    		name   string
    		method string
    		path   string
    		query  map[string]string
    	}{
    		{
    			name:   "GET status",
    			method: http.MethodGet,
    			path:   kmsStatusPath,
    		},
    		{
    			name:   "GET metrics",
    			method: http.MethodGet,
    			path:   kmsMetricsPath,
    		},
    		{
    			name:   "GET apis",
    			method: http.MethodGet,
    			path:   kmsAPIsPath,
    		},
    		{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/SmbTreeHandleTest.java

        /**
         * Test for close() method.
         * Verifies that the close method can be called without throwing an exception.
         * @throws CIFSException
         */
        @Test
        void testClose() throws CIFSException {
            smbTreeHandle.close();
            // Verify that close() was called on the mock
            verify(smbTreeHandle).close();
        }
    
        /**
         * Test for close() method throwing CIFSException.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java

            public String getUsername() {
                return username;
            }
    
            public String getPassword() {
                return password;
            }
        }
    
        // Test getLoginCredential method
        public void test_getLoginCredential_returnsValidCredential() {
            // Setup test credential
            TestLoginCredential expectedCredential = new TestLoginCredential("testuser", "testpass");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11K bytes
    - Viewed (1)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/AccessResultImpl.java

         */
        @Override
        public String getMethod() {
            return method;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.AccessResult#setMethod(java.lang.String)
         */
        @Override
        public void setMethod(final String method) {
            this.method = method;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top