Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 744 for preserved (0.16 seconds)

  1. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            // Then
            assertEquals(CRYPTO_ERROR_MESSAGE, exception.getMessage(), "Crypto message should be preserved");
            assertSame(cause, exception.getCause(), "Crypto cause should be preserved");
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/internal/SMBProtocolDecodingExceptionTest.java

        @DisplayName("Message-only constructor: preserves provided message; null cause")
        void messageOnlyConstructor_preservesMessage(String message) {
            // Arrange & Act
            SMBProtocolDecodingException ex = new SMBProtocolDecodingException(message);
    
            // Assert message and cause
            assertEquals(message, ex.getMessage(), "Message should be preserved as provided");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SMBProtocolDowngradeExceptionTest.java

        }
    
        @ParameterizedTest(name = "Message-only ctor preserves message: [{0}]")
        @MethodSource("messages")
        void messageConstructor_setsMessageAndNullCause(String message) {
            // Arrange & Act
            SMBProtocolDowngradeException ex = new SMBProtocolDowngradeException(message);
    
            // Assert - message preserved, cause null
            assertEquals(message, ex.getMessage());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

         */
        boolean problemsOverflow();
    
        /**
         * Reports a problem: always maintains the counters, but whether problem is preserved in memory, depends on
         * implementation and its configuration.
         *
         * @param problem the problem to report
         * @return {@code true} if passed problem is preserved by this call.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/xml/XmlEscapers.java

       * the XML specification.
       *
       * <p>This escaper does not escape non-ASCII characters to their numeric character references
       * (NCR). Any non-ASCII characters appearing in the input will be preserved in the output.
       * Specifically "\r" (carriage return) is preserved in the output, which may result in it being
       * silently converted to "\n" when the XML is parsed.
       *
       * <p>This escaper does not treat surrogate pairs specially and does not perform Unicode
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            assertEquals("single", result[0]);
    
            // Single quoted value - quotes preserved
            value = "\"single quoted\"";
            result = KuromojiCSVUtil.parse(value);
            assertEquals(1, result.length);
            assertEquals("\"single quoted\"", result[0]);
    
            // Single empty value - quotes preserved
            value = "\"\"";
            result = KuromojiCSVUtil.parse(value);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  7. src/test/java/jcifs/spnego/NegTokenTargTest.java

            assertThrows(IOException.class, () -> new NegTokenTarg(bad), "Malformed byte[] should cause IOException");
        }
    
        @Test
        @DisplayName("mechanism token empty array – preserved after round‑trip")
        void testEmptyMechanismToken() throws IOException {
            NegTokenTarg nt = new NegTokenTarg();
            nt.setResult(NegTokenTarg.REQUEST_MIC);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Execute
            final InvalidQueryException exception = new InvalidQueryException(messageCode, message, middleCause);
    
            // Verify cause chain is preserved
            assertEquals(middleCause, exception.getCause());
            assertEquals(rootCause, exception.getCause().getCause());
        }
    
        @Test
        public void test_emptyMessage() {
            // Setup
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/NotifyResponseTest.java

            List<FileNotifyInformation> result = response.getNotifyInformation();
    
            assertEquals(5, result.size());
    
            // Verify all actions are preserved
            assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, result.get(0).getAction());
            assertEquals(FileNotifyInformation.FILE_ACTION_REMOVED, result.get(1).getAction());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/HandlerTest.java

        @Test
        @DisplayName("parseURL: explicit port is preserved")
        void testParseURL_ExplicitPortPreserved() throws MalformedURLException {
            // Arrange & Act
            Handler handler = newHandler();
            URL url = new URL(null, "smb://server:1234/share", handler);
    
            // Assert
            assertEquals(1234, url.getPort(), "Explicit port should be preserved");
            assertEquals("smb", url.getProtocol());
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top