Search Options

Results per page
Sort
Preferred Languages
Advance

Results 311 - 320 of 657 for behaviors (0.09 sec)

  1. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
    
            // Test unspecified batch limit
            assertEquals(1, config.getBatchLimit("UnknownCommand"));
    
            // Test caching behavior
            assertEquals(0, config.getBatchLimit("TreeConnectAndX.QueryInformation"));
        }
    
        @Test
        @DisplayName("Test getBatchLimit with custom implementation")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.SmbResourceLocator;
    import jcifs.context.SingletonContext;
    
    /**
     * Tests for NetServerFileEntryAdapterIterator.
     *
     * Intent: Validate iteration behavior, filtering, invalid inputs handling,
     * and delegation to the underlying iterator.
     */
    @ExtendWith(MockitoExtension.class)
    class NetServerFileEntryAdapterIteratorTest {
    
        @Mock
        NetServerEnumIterator delegate;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.SmbSession;
    
    /**
     * Tests for SmbTreeHandleInternal interface using Mockito to verify
     * interactions and observable behavior of collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbTreeHandleInternalTest {
    
        @Mock
        private SmbTreeHandleInternal handle;
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            // Call shutdown without setting listener
            try {
                scriptExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior when no listener is set
            }
        }
    
        public void test_addShutdownListener_replacesExisting() {
            // Add first listener
            TestShutdownListener listener1 = new TestShutdownListener();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/score/LtrQueryRescorerTest.java

            try {
                ltrQueryRescorer.evaluate(null);
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior - StoredLtrQueryBuilder requires non-null params
                assertNotNull(e);
            }
        }
    
        public void test_evaluate_withDifferentWindowSizes() {
            // Test with different window sizes
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ValueGraphBuilder.java

     *
     * <p>{@code ValueGraph}s built by this class also guarantee that each collection-returning accessor
     * returns a <b>(live) unmodifiable view</b>; see <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#accessor-behavior">the external
     * documentation</a> for details.
     *
     * <p>Examples of use:
     *
     * {@snippet :
     * // Building a mutable value graph
     * MutableValueGraph<String, Double> graph =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/UniAddress.java

     * <a href="../../resolver.html">Setting Name Resolution Properties</a>
     * and the <code>jcifs.resolveOrder</code> property. Changing
     * jCIFS name resolution properties can greatly affect the behavior of
     * the client and may be necessary for proper operation.
     * <p>
     * This class should be used in favor of {@code InetAddress} to resolve
     * hostnames on LANs and WANs that support a mixture of NetBIOS/WINS and
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

            } else if (exception instanceof NullPointerException) {
                // Empty input causes null ASN1 object, which is expected behavior
                assertTrue(exception.getMessage() == null || exception.getMessage().contains("Cannot invoke \"Object.getClass()\""),
                        "NullPointerException should be from null ASN1 object.");
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            when(mockDelegate.getConfig()).thenReturn(mockConfiguration);
            when(mockConfiguration.isTraceResourceUsage()).thenReturn(false); // Default to false or true based on expected behavior
            cifsContextWrapper = new CIFSContextWrapper(mockDelegate);
        }
    
        @Test
        void testConstructor() {
            // Verify that the delegate is correctly set
            assertNotNull(cifsContextWrapper);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            System.arraycopy(outputBuffer, 0, actualData, 0, testData.length);
            assertArrayEquals(testData, actualData);
        }
    
        @Test
        void testReadDataWireFormatNullOutputBuffer() {
            // Test behavior when outputBuffer is null (edge case)
            TransTransactNamedPipeResponse nullBufferResponse = new TransTransactNamedPipeResponse(mockConfig, null);
            byte[] buffer = new byte[100];
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top