Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 1,155 for normal (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

            // Then - nothing should happen (empty implementation)
            verifyNoInteractions(resp);
        }
    
        @Test
        @DisplayName("Should read valid negotiate response from wire format")
        void testReadBytesWireFormatValid() throws Exception {
            // Given
            byte[] buffer = createValidNegotiateResponseBuffer();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> getRootCause(cause));
        assertThat(expected).hasCauseThat().isSameInstanceAs(cause);
      }
    
      @J2ktIncompatible // Format does not match
      @GwtIncompatible // getStackTraceAsString(Throwable)
      public void testGetStackTraceAsString() {
        class StackTraceException extends Exception {
          StackTraceException(String message) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            // Verify type is displayed as hex
            assertNotNull(str);
            assertTrue(str.contains("type=0x"));
            // The type should be formatted as 8-character hex
            String expectedHex = String.format("%08x", type);
            assertTrue(str.toLowerCase().contains(expectedHex));
        }
    
        @Test
        @DisplayName("Test with empty strings")
        void testWithEmptyStrings() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/path-operation-advanced-configuration.md

    It has all the information about the *path operation* and is used to generate the automatic documentation.
    
    It includes the `tags`, `parameters`, `requestBody`, `responses`, etc.
    
    This *path operation*-specific OpenAPI schema is normally generated automatically by **FastAPI**, but you can also extend it.
    
    /// tip
    
    This is a low level extension point.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            String filePath = directoryPath;
            if (!filePath.endsWith("/")) {
                filePath += "/";
            }
            filePath += fileInfo.getName();
    
            // Ensure proper SMB URL format
            if (!filePath.startsWith("smb://")) {
                if (filePath.startsWith("/")) {
                    filePath = "smb://localhost" + filePath;
                } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            assertTrue(result.contains("action="));
            assertTrue(result.contains("file=" + fileName));
            // Hexdump.toHexString produces 4-character padded uppercase hex
            String expectedHex = String.format("%04X", action);
            assertTrue(result.contains("0x" + expectedHex));
        }
    
        @Test
        @DisplayName("Test toString with empty object")
        void testToStringEmpty() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                int result = (int) method.invoke(cancel, buffer, bufferIndex);
    
                // Then
                assertEquals(0, result);
            }
        }
    
        @Nested
        @DisplayName("Wire Format Tests")
        class WireFormatTests {
    
            private SmbComNtCancel cancel;
            private Configuration mockConfig;
    
            @BeforeEach
            void setUp() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SecurityBlobTest.java

            SecurityBlob blob = new SecurityBlob(input);
    
            // Act
            String actual = blob.toString();
    
            // Assert
            assertEquals(expected, actual, "Hex string should match expected format");
        }
    
        // Ensures a default-constructed blob starts empty and stable across APIs
        @Test
        @DisplayName("Default constructor yields empty state")
        void defaultConstructor_initialState() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            assertEquals(expectedTime, response.getLastAccessTime());
        }
    
        @Test
        void testReadParameterWordsWireFormatWithData() {
            // Test reading parameter words from wire format
            response = new SmbComQueryInformationResponse(mockConfig, 0L);
    
            // Prepare test data
            byte[] buffer = new byte[256];
            int bufferIndex = 0;
    
            // Set wordCount to non-zero
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            IOException exception = assertThrows(IOException.class, () -> {
                packet.readTrailerWireFormat(bais, readBuffer, 0);
            });
    
            assertEquals("invalid session request wire format", exception.getMessage());
        }
    
        @ParameterizedTest
        @MethodSource("provideNamesForWriteTest")
        @DisplayName("writeTrailerWireFormat should handle various name combinations")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top