Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 2,156 for Then (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2CancelRequestTest.java

            long asyncId = 67890L;
    
            // When
            Smb2CancelRequest request = new Smb2CancelRequest(mockConfig, mid, asyncId);
    
            // Then
            assertEquals(SMB2_CANCEL, request.getCommand());
            assertEquals(mid, request.getMid());
            assertEquals(asyncId, request.getAsyncId());
            assertTrue((request.getFlags() & SMB2_FLAGS_ASYNC_COMMAND) != 0, "Async flag should be set when asyncId is non-zero");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. mvnw

    if [ -n "$wrapperSha256Sum" ]; then
      wrapperSha256Result=false
      if command -v sha256sum >/dev/null; then
        if echo "$wrapperSha256Sum  $wrapperJarPath" | sha256sum -c >/dev/null 2>&1; then
          wrapperSha256Result=true
        fi
      elif command -v shasum >/dev/null; then
        if echo "$wrapperSha256Sum  $wrapperJarPath" | shasum -a 256 -c >/dev/null 2>&1; then
          wrapperSha256Result=true
        fi
      else
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

        @Test
        @DisplayName("Should create RuntimeCIFSException with default constructor")
        void testDefaultConstructor() {
            // When
            RuntimeCIFSException exception = new RuntimeCIFSException();
    
            // Then
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof RuntimeException);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // When & Then - should handle gracefully
            assertThrows(Exception.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify NotifyResponse interface implementation")
        void testNotifyResponseInterface() {
            // Then
            assertTrue(response instanceof NotifyResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

            when(response1.getNextResponse()).thenReturn(response2);
            when(response2.getNextResponse()).thenReturn(response3);
            when(response3.getNextResponse()).thenReturn(null);
    
            when(response1.isAsync()).thenReturn(false);
            when(response2.isAsync()).thenReturn(true);
            when(response3.isAsync()).thenReturn(false);
    
            // When - test chain navigation and properties
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  6. buildscripts/multipart-quorum-test.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    trap 'catch $LINENO' ERR
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Sep 06 10:51:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

        }
    
        @Test
        @DisplayName("Should create exception with error code and message")
        void testBasicCreation() {
            // When
            exception = new SmbOperationException(SmbOperationException.ErrorCode.FILE_NOT_FOUND, "test.txt");
    
            // Then
            assertNotNull(exception);
            assertEquals(SmbOperationException.ErrorCode.FILE_NOT_FOUND, exception.getErrorCode());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/EncdecTest.java

        void testInt16Operations() {
            // Given
            short value = 0x1234;
            byte[] buffer = new byte[2];
    
            // When - encode little endian
            Encdec.enc_uint16le(value, buffer, 0);
            short decoded = (short) Encdec.dec_uint16le(buffer, 0);
    
            // Then
            assertEquals(value, decoded);
            assertEquals(0x34, buffer[0] & 0xFF);
            assertEquals(0x12, buffer[1] & 0xFF);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            sessionBindingField.setAccessible(true);
    
            // When
            request.setSessionBinding(true);
    
            // Then
            assertTrue((boolean) sessionBindingField.get(request));
    
            // When
            request.setSessionBinding(false);
    
            // Then
            assertFalse((boolean) sessionBindingField.get(request));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

        }
    
        @Test
        @DisplayName("Should construct with correct parameters")
        void constructorShouldInitializeFieldsCorrectly() {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);
    
            // Then
            assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top