Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 1,071 for reserved (0.16 sec)

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

                // Arrange & Act
                SmbNamedPipe pipe = new SmbNamedPipe(url, SmbPipeResource.PIPE_TYPE_RDWR, ctx());
    
                // Assert: type is named pipe and pipe type preserved
                assertEquals(SmbConstants.TYPE_NAMED_PIPE, pipe.getType(), "Type should be TYPE_NAMED_PIPE");
                assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            assertTrue(ts.contains(ex.getMessage()), "toString should contain the detail message");
        }
    
        @ParameterizedTest(name = "Message preserved: [{0}]")
        @MethodSource("messages")
        @DisplayName("Message constructor preserves provided messages, including null/edge cases")
        void messageConstructor_preservesMessage(String msg) {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackDecodeTestBase.kt

        }
    
        /**
         * Checks if `expected` and `observed` are equal when viewed as a set and headers are
         * deduped.
         *
         * TODO: See if duped headers should be preserved on decode and verify.
         */
        private fun assertSetEquals(
          message: String,
          expected: List<Header>,
          observed: List<Header>,
        ) {
          assertThat(LinkedHashSet(observed), message)
            .isEqualTo(LinkedHashSet(expected))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            assertTrue(exception instanceof java.io.Serializable);
        }
    
        public void test_stackTrace() {
            // Test that stack trace is properly preserved
            String message = "GSA error with stack trace";
            Throwable cause = new NullPointerException("NPE occurred");
            GsaConfigException exception = new GsaConfigException(message, cause);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_stackTraceWithCause() {
            // Test that stack trace is properly preserved with cause
            String innerMessage = "Inner exception";
            String outerMessage = "Outer exception";
            RuntimeException innerException = new RuntimeException(innerMessage);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/spnego/NegTokenInitTest.java

            assertTrue(s.contains("000AFF"), "toString should include MIC hex");
        }
    
        @Test
        @DisplayName("Mechanism ordering is preserved after parse")
        void testMechanismOrderPreserved() throws Exception {
            ASN1ObjectIdentifier[] mechs = new ASN1ObjectIdentifier[] { OID_NTLM, OID_KRB, OID_KRB_LEGACY };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                dstIndex++;
                dst[dstIndex++] = (byte) 0x00; // Reserved1
                SMBUtil.writeInt2(this.tflags, dst, dstIndex);
                dstIndex += 2;
                SMBUtil.writeInt4(this.timeout, dst, dstIndex);
                dstIndex += 4;
                dst[dstIndex++] = (byte) 0x00; // Reserved2
                dst[dstIndex++] = (byte) 0x00;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            String message = "Serialization test";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            // Verify basic properties are preserved
            assertEquals(message, exception.getMessage());
    
            // The presence of serialVersionUID is verified at compile time
            // and the exception extends RuntimeException which is Serializable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbFilenameFilterTest.java

            };
    
            SmbException ex = assertThrows(SmbException.class, () -> filter.accept(mockDir, "x"));
            assertEquals("boom", ex.getMessage(), "Exception message should be preserved");
            verifyNoInteractions(mockDir);
        }
    
        /**
         * Interaction with dependency: implementation can use directory's methods to make decisions.
         * Tests a filter that uses directory path information.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryTest.java

        static Stream<Arguments> nameProvider() {
            return Stream.of(Arguments.of("", "empty string is allowed"), Arguments.of(" ", "single space is preserved"),
                    Arguments.of("复杂名.txt", "unicode name is preserved"), Arguments.of(null, "null name is passed through"));
        }
    
        @ParameterizedTest(name = "getName returns as-set: [{0}] - {1}")
        @MethodSource("nameProvider")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10K bytes
    - Viewed (0)
Back to top