Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 434 for seal (2.49 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Act
            spyBlob.set(payload);
    
            // Assert
            verify(spyBlob, times(1)).set(payload);
            assertSame(payload, spyBlob.get(), "Spy should behave like real object exposing same array");
            assertEquals(2, spyBlob.length(), "length() should reflect the set payload length");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        @Test
        void testSend() throws SmbException {
            SmbTree tree = new SmbTree(session, "testShare", "A:");
            tree.connectionState = 2; // Connected state
            tree.tid = 123;
    
            // Create real request and response objects since they're not interfaces
            ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null);
            ServerMessageBlock response = new SmbComOpenAndXResponse();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	}
    }
    
    // process sends error logs to the heal channel for an attempt to heal replication.
    func (p *ReplicationPool) queueMRFHeal() error {
    	p.mrfMU.Lock()
    	defer p.mrfMU.Unlock()
    
    	if !p.initialized() {
    		return errServerNotInitialized
    	}
    
    	mrfRec, err := p.loadMRF()
    	if err != nil {
    		return err
    	}
    
    	// queue replication heal in a goroutine to avoid holding up mrf save routine
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  5. okhttp-tls/README.md

    a fake `HostnameVerifier` or `X509TrustManager`.
    
    Certificate Authorities
    -----------------------
    
    The above example uses a self-signed certificate. This is convenient for testing but not
    representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate`
    to generate a trusted root certificate, an intermediate certificate, and a server certificate.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/testing.md

    ///
    
    ## Separando testes
    
    Em uma aplicação real, você provavelmente teria seus testes em um arquivo diferente.
    
    E seu aplicativo **FastAPI** também pode ser composto de vários arquivos/módulos, etc.
    
    ### Arquivo do aplicativo **FastAPI**
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java

    import java.util.Map.Entry;
    import java.util.Set;
    import java.util.concurrent.ExecutionException;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * {@link LoadingCache} tests that deal with empty caches.
     *
     * @author mike nonemacher
     */
    
    @NullUnmarked
    public class EmptyCachesTest extends TestCase {
    
      public void testEmpty() {
        for (LoadingCache<Object, Object> cache : caches()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. docs/es/docs/deployment/https.md

    Luego, usando el certificado, el cliente y el TLS Termination Proxy **deciden cómo encriptar** el resto de la **comunicación TCP**. Esto completa la parte de **Handshake TLS**.
    
    Después de esto, el cliente y el servidor tienen una **conexión TCP encriptada**, esto es lo que proporciona TLS. Y luego pueden usar esa conexión para iniciar la comunicación **HTTP real**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun May 11 13:37:26 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbWatchHandleTest.java

            verify(watchHandle, times(1)).call();
        }
    
        /**
         * Test call() method as Callable in executor service
         */
        @Test
        void testCallAsCallable() throws Exception {
            // Create a real implementation for testing Callable behavior
            SmbWatchHandle realHandle = new SmbWatchHandle() {
                private int callCount = 0;
    
                @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/TestLockingTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * JUnit 5 tests for {@link TestLocking}.
     * Tests command line argument parsing and basic field initialization.
     * Does not require a real SMB server - focuses on application logic.
     */
    @ExtendWith(MockitoExtension.class)
    class TestLockingTest {
    
        private PrintStream originalOut;
        private PrintStream originalErr;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
Back to top