Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 566 for mocked (0.06 sec)

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

    import org.mockito.Mock;
    import org.mockito.MockedStatic;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    @ExtendWith(MockitoExtension.class)
    class Kerb5ContextTest {
    
        @Mock
        private GSSManager gssManager;
    
        @Mock
        private GSSContext gssContext;
    
        @Mock
        private GSSName serviceName;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java

                assertNotNull(combined);
            }
        }
    
        @Nested
        @DisplayName("Mock Behavior Verification Tests")
        class MockBehaviorTests {
    
            @Test
            @DisplayName("Should verify all interface methods can be mocked")
            void testAllMethodsCanBeMocked() {
                // Setup all mock behaviors
                when(mockReferralData.getExpiration()).thenReturn(1000L);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

        /**
         * Helper method to create a fully mocked CIFSContext with all necessary dependencies
         */
        private CIFSContext createMockContext() {
            CIFSContext mockContext = mock(CIFSContext.class);
            Configuration mockConfig = mock(Configuration.class);
            NameServiceClient mockNameServiceClient = mock(NameServiceClient.class);
            NetbiosAddress mockHost = mock(NetbiosAddress.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  4. CHANGELOG.md

    _2025-10-09_
    
     *  Fix: Don't crash when calling `Socket.shutdownOutput()` or `shutdownInput()` on an `SSLSocket`
        on Android API 21 through 23. This method throws an `UnsupportedOperationException`, so we now
        catch that and close the underlying stream instead.
    
     *  Upgrade: [Okio 3.16.1][okio_3_16_1].
    
    
    ## Version 5.2.0
    
    _2025-10-07_
    
     *  New: Support [HTTP 101] responses with `Response.socket`. This mechanism is only supported on
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // 2. Client cancels request
          // 3. Server tries to send response on the canceled stream
          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
          // first mocked response to respond to the second request.
          val response = super.dispatch(request)
          responseDequeuedLatches[responseIndex].countDown()
          requestCanceledLatches[responseIndex].await()
          responseIndex++
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 67.4K bytes
    - Viewed (0)
  6. docs/fr/docs/deployment/docker.md

    Vous pouvez utiliser <a href="https://www.docker.com/" class="external-link" target="_blank">**Docker**</a> pour le déploiement. Il présente plusieurs avantages comme la sécurité, la réplicabilité, la simplicité de développement, etc.
    
    Si vous utilisez Docker, vous pouvez utiliser l'image Docker officielle :
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. cmd/local-locker.go

    	}
    	return lockCopy
    }
    
    func (l *localLocker) Close() error {
    	return nil
    }
    
    // IsOnline - local locker is always online.
    func (l *localLocker) IsOnline() bool {
    	return true
    }
    
    // IsLocal - local locker returns true.
    func (l *localLocker) IsLocal() bool {
    	return true
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. internal/dsync/locker.go

    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package dsync
    
    import "context"
    
    // NetLocker is dsync compatible locker interface.
    type NetLocker interface {
    	// Do read lock for given LockArgs.  It should return
    	// * a boolean to indicate success/failure of the operation
    	// * an error on failure of lock request operation.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jan 18 20:44:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. docs/pt/docs/deployment/docker.md

    Você pode ler mais na <a href="https://docs.docker.com/reference/dockerfile/#shell-and-exec-form" class="external-link" target="_blank">documentação do Docker sobre as formas shell e exec</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  10. docs/ja/docs/deployment/docker.md

    ## コンテナ・イメージ
    
    Dockerは、**コンテナ・イメージ**と**コンテナ**を作成・管理するための主要なツールの1つです。
    
    そして、DockerにはDockerイメージ(コンテナ)を共有する<a href="https://hub.docker.com/" class="external-link" target="_blank">Docker Hub</a>というものがあります。
    
    Docker Hubは 多くのツールや環境、データベース、アプリケーションに対応している予め作成された**公式のコンテナ・イメージ**をパブリックに提供しています。
    
    例えば、公式イメージの1つに<a href="https://hub.docker.com/_/python" class="external-link" target="_blank">Python Image</a>があります。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 44.3K bytes
    - Viewed (0)
Back to top