Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 130 for gracefully (2.05 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuildingExceptionTest.java

            String message = exception.getMessage();
    
            assertTrue(message.contains("[unknown project]"), "Message should handle unknown project gracefully");
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                // The exact behavior depends on implementation, but it should handle gracefully
                // and not crash the entire upgrade process
                assertTrue(result >= 0, "Should handle .mvn creation failure gracefully");
            }
        }
    
        /**
         * Testable subclass that exposes protected methods for testing.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

            format(builder, size, unit, false);
        }
    
        public void formatRate(MessageBuilder builder, double rate) {
            // Handle invalid rates gracefully (including negative values)
            if (Double.isNaN(rate) || Double.isInfinite(rate) || rate < 0) {
                builder.append("? B/s");
                return;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Apr 16 10:09:21 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            assertNotNull(exception);
            assertEquals(message, exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        @Test
        @DisplayName("Should handle null message gracefully")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
                RuntimeCIFSException exception = new RuntimeCIFSException((String) null);
                assertNull(exception.getMessage());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/conf/maven-system.properties

    maven.installation.conf = ${maven.home}/conf
    maven.user.conf         = ${user.home}/.m2
    maven.project.conf      = ${session.rootDirectory}/.mvn
    
    # Comma-separated list of files to include.
    # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded.
    # If the first character of an item is a question mark, the load will silently fail if the file does not exist.
    ${includes} = ?"${maven.user.conf}/maven-system.properties", \
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/conf/maven-user.properties

    # The properties defined in this file will be made available through
    # user properties at the very beginning of Maven's boot process.
    #
    
    # Comma-separated list of files to include.
    # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded.
    # If the first character of an item is a question mark, the load will silently fail if the file does not exist.
    ${includes} = ?"${maven.user.conf}/maven-user.properties", \
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. impl/maven-cli/src/test/resources/mavenHome/conf/maven-user.properties

    # The properties defined in this file will be made available through
    # user properties at the very beginning of Maven's boot process.
    #
    
    # Comma-separated list of files to include.
    # Each item may be enclosed in quotes to gracefully include spaces. Items are trimmed before being loaded.
    # If the first character of an item is a question mark, the load will silently fail if the file does not exist.
    ${includes} = ?"${maven.user.conf}/maven-user.properties", \
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                }
            }
        }
    
        @Nested
        @DisplayName("Error Handling")
        class ErrorHandlingTests {
    
            @Test
            @DisplayName("should handle malformed POM gracefully")
            void shouldHandleMalformedPOMGracefully() throws Exception {
                String malformedPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/BufferCacheTest.java

            assertNotNull(buffer, "getBuffer should never return null");
            assertSame(expectedBuffer, buffer, "Should return configured buffer");
        }
    
        @Test
        @DisplayName("releaseBuffer should accept byte arrays gracefully")
        void testReleaseBufferContract() {
            // Given
            byte[] buffer = new byte[1024];
            doNothing().when(mockBufferCache).releaseBuffer(buffer);
    
            // When & Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/WebSocket.kt

     * chooses to short-circuit the graceful shutdown process:
     *
     *  * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by
     *    either peer may not have been transmitted to the other.
     *
     * Note that the state progression is independent for each peer. Arriving at a gracefully-closed
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top