Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 615 for verifyCn (0.08 sec)

  1. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("Connection Pool Performance: %d ops in %.2f ms (%.2f ms avg per thread)%n", successCount.get(), overallTimeMs,
                    avgThreadTimeMs);
    
            // Verify performance improvements
            assertTrue(exceptions.isEmpty(), "No exceptions should occur during concurrent access");
            assertEquals(threadCount * operationsPerThread, successCount.get());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertFalse(ipc.shouldForceSigning());
    
            // Verify interactions sequence for one call
            InOrder inOrder = inOrder(config, creds);
            ipc = locator("smb://server/IPC$/");
            ipc.shouldForceSigning();
            inOrder.verify(config, atLeastOnce()).isIpcSigningEnforced();
            inOrder.verify(creds, atLeastOnce()).isAnonymous();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/SmbCircuitBreakerTest.java

            Thread.sleep(1100); // Wait for reset
    
            // First attempt transitions to HALF_OPEN
            try {
                circuitBreaker.executeWithCircuitBreaker(() -> {
                    // Verify we're in HALF_OPEN
                    assertEquals(State.HALF_OPEN, circuitBreaker.getState());
                    throw new RuntimeException("Failure in half-open");
                });
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            Smb2CloseRequest request = new Smb2CloseRequest(mockConfig, emptyFileId);
    
            // When
            request.setFileId(testFileId);
    
            // Then - verify through internal state (would need getter or reflection in real scenario)
            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

            multimap.putAll("bar", asList(5, 6));
            multimap.putAll("foo", asList(7, 8));
            return multimap.get("foo").iterator();
          }
    
          @Override
          protected void verify(List<Integer> elements) {
            assertEquals(new HashSet<>(elements), multimap.get("foo"));
          }
        }.test();
      }
    
      @GwtIncompatible // unreasonably slow
      public void testEntriesIteration() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 10 23:13:45 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            // Create a spy to verify method call
            NetShareEnumResponse spyResponse = spy(new NetShareEnumResponse(mockConfig));
    
            setNumEntries(spyResponse, 0);
            byte[] buffer = new byte[100];
    
            spyResponse.readDataWireFormat(buffer, 0, buffer.length);
    
            // Verify setUseUnicode was called with false
            verify(spyResponse).setUseUnicode(false);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            // When & Then
            assertThrows(ArrayIndexOutOfBoundsException.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify inheritance from ServerMessageBlock2Response")
        void testInheritance() {
            // Then
            assertTrue(response instanceof ServerMessageBlock2Response);
            assertTrue(response instanceof ServerMessageBlock2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("testuser", testPassword);
    
            // Verify password is set
            assertEquals(testPassword, auth.getPassword());
    
            // Wipe password
            auth.secureWipePassword();
    
            // Verify password is wiped
            assertNull(auth.getPassword());
            assertNull(auth.getPasswordAsCharArray());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/session/Smb2LogoffRequestTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    import static org.mockito.Mockito.times;
    import static org.mockito.Mockito.verify;
    import static org.mockito.Mockito.verifyNoMoreInteractions;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top