Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 760 for Cock (0.06 sec)

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

        }
    
        @Test
        void messageAndCauseConstructor_setsMessageAndCause_withoutInteractingWithCause() {
            // Arrange - mock cause to verify no interactions are needed to construct
            Throwable cause = Mockito.mock(Throwable.class);
            String message = "forced downgrade detected";
    
            // Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message, cause);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSException;
    
    /**
     * Tests for SMBProtocolDecodingException covering all constructors and observable behavior.
     */
    @ExtendWith(MockitoExtension.class)
    public class SMBProtocolDecodingExceptionTest {
    
        @Mock
        Throwable mockCause;
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.junit.jupiter.params.provider.ValueSource;
    import org.mockito.Mock;
    import org.mockito.MockitoAnnotations;
    
    class SessionServicePacketTest {
    
        private TestSessionServicePacket packet;
    
        @Mock
        private InputStream mockInputStream;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/CredentialsTest.java

    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Test class for Credentials interface functionality
     */
    @DisplayName("Credentials Interface Tests")
    class CredentialsTest extends BaseTest {
    
        @Mock
        private Credentials mockCredentials;
    
        @Test
        @DisplayName("Should define interface methods")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.CIFSContext;
    import jcifs.Configuration;
    import jcifs.internal.smb2.Smb2Constants;
    
    /**
     * Test class for Smb2CreateRequest
     */
    @ExtendWith(MockitoExtension.class)
    class Smb2CreateRequestTest {
    
        @Mock
        private Configuration mockConfig;
    
        @Mock
        private CIFSContext mockContext;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            Trans2QueryFSInformationResponse response =
                    new Trans2QueryFSInformationResponse(Trans2QueryFSInformationResponse.SMB_INFO_ALLOCATION);
            byte[] buffer = new byte[20];
            // Mock data for SmbInfoAllocation
            // idFileSystem (4 bytes, skipped)
            writeInt4(100, buffer, 4); // sectPerAlloc
            writeInt4(1000, buffer, 8); // alloc
            writeInt4(500, buffer, 12); // free
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotification.java

     */
    package jcifs.internal.smb2.lock;
    
    import jcifs.Configuration;
    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.util.Hexdump;
    
    /**
     * SMB2 Oplock Break notification message. This server-initiated message notifies the client
     * that an opportunistic lock must be broken due to conflicting access from another client.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. docs/works_with_okhttp.md

     * [OkHttp Idling Resource](https://github.com/JakeWharton/okhttp-idling-resource): An Espresso IdlingResource for OkHttp.
     * [okhttp-client-mock](https://github.com/gmazzo/okhttp-client-mock): A simple OKHttp client mock, using a programmable request interceptor.
     * [OkHttp Profiler](https://plugins.jetbrains.com/plugin/11249-okhttp-profiler): An IntelliJ plugin for monitoring OkHttp calls.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Feb 15 16:18:51 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/ExecutionList.java

        // NPE on null listener, so we propagate that contract up into the add method as well.
        checkNotNull(runnable, "Runnable was null.");
        checkNotNull(executor, "Executor was null.");
    
        // Lock while we check state. We must maintain the lock while adding the new pair so that
        // another thread can't run the list out from under us. We only add to the list if we have not
        // yet started execution.
        synchronized (this) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

    import org.junit.jupiter.api.extension.ExtendWith;
    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Unit tests for the SmbFile class.
     * This class focuses on testing the logic of SmbFile without actual network communication,
     * using mocks where necessary.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbFileTest {
    
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top