Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 228 for behaviors (0.73 sec)

  1. README.md

    // Use with Java Util Logging (built-in)
    Logger logger = Logger.getLogger(MyClass.class.getName());
    ```
    
    ### Bean Copy Configuration
    ```java
    // Configure bean copying behavior
    CopyOptions options = new CopyOptions()
        .exclude("password", "internalId")      // Exclude specific fields
        .includeNull(false)                     // Skip null values
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            }
    
            public static void resetCounter() {
                instanceCounter.set(0);
            }
        }
    
        /**
         * Singleton test component for testing singleton behavior
         */
        public static class SingletonTestComponent {
            private static int instanceCount = 0;
    
            public SingletonTestComponent() {
                instanceCount++;
            }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 13:07:01 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. ADDING_NEW_LANGUAGE.md

    ### Language Code Format
    
    Use standard locale codes:
    - ISO 639-1 language codes: `en`, `ja`, `de`, `fr`, `sv`, etc.
    - With region when needed: `pt_BR`, `zh_CN`, `zh_TW`, `en_IE`
    
    ### Cache Behavior
    
    - Language items are cached for 1 hour by `SystemHelper`
    - Restart the application after adding new languages
    
    ### Auto-Generated Files
    
    Never edit these files manually (marked with `@author FreeGen`):
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 11:36:30 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NtlmSspTest.java

            // Execute
            NtlmPasswordAuthentication result = ntlmSsp.doAuthentication(mockCifsContext, mockRequest, mockResponse, challenge);
    
            // Verify that the behavior is the same as calling the static method directly
            assertNull(result, "Authentication result should be null");
            verify(mockResponse).setHeader("WWW-Authenticate", "NTLM");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                // Assert
                // Note: size() returns 4 + (2*ciphers.length) but encode only writes 2 + (2*ciphers.length)
                // This appears to be a bug in the implementation, but we test the actual behavior
                assertEquals(6, encodedSize); // actual encoded size: 2 bytes count + 2*2 bytes for ciphers
                assertEquals(2, buffer[0]); // cipher count (little endian)
                assertEquals(0, buffer[1]);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void constructorNullResourceLoc() {
            // Null resourceLoc doesn't throw NPE immediately - it's stored and may cause issues when used
            // This test documents the current behavior
            SmbTreeConnection freshConnection = mock(SmbTreeConnection.class);
            when(freshConnection.acquire()).thenReturn(freshConnection);
    
            // Should not throw NPE during construction
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/DcerpcHandleTest.java

                // Given: Handle with null binding
                TestDcerpcHandle handleWithNullBinding = new TestDcerpcHandle(mockContext);
    
                // When/Then: Should throw NPE for null binding (expected behavior)
                assertThrows(NullPointerException.class, () -> handleWithNullBinding.toString());
            }
    
            @Test
            @DisplayName("Should handle session key retrieval")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

        }
    
        @Test
        @DisplayName("connectWrapException wraps UnknownHostException and IOException")
        void connectWrapException_wraps_io_and_unkhost() throws Exception {
            // Subclass to control connect() behavior
            SmbTreeConnection c = new SmbTreeConnection(ctx) {
                @Override
                public SmbTreeHandleImpl connect(SmbResourceLocatorImpl loc) throws java.io.IOException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

     *
     * <p>The class is abstract, so a concrete stub implementation is
     * provided purely to expose protected state and to satisfy the abstract
     * method contract.  The tests focus on public API behaviour and the
     * parsing logic in {@code readParameterWordsWireFormat} and
     * {@code readBytesWireFormat}.
     */
    public class SmbComTransactionResponseTest {
        /** A minimal concrete subclass for testing */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            assertTrue(result.contains("SmbComTreeDisconnect"));
            assertTrue(result.startsWith("SmbComTreeDisconnect["));
            assertTrue(result.endsWith("]"));
        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
        @DisplayName("Test toString requires valid configuration")
        public void testToStringRequiresValidConfig() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
Back to top