Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 447 for getMessager (0.12 sec)

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

            // Act & Assert
            NullPointerException npe = assertThrows(NullPointerException.class, () -> creds.unwrap(null));
            assertEquals("type", npe.getMessage());
        }
    
        @Test
        @DisplayName("clone returns a distinct copy with same properties")
        void clone_returns_copy() {
            // Arrange
            Subject subject = new Subject();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("MESSAGE", problem.getMessage());
    
            problem = new DefaultProblem(null, null, null, -1, -1, new Exception());
            assertEquals("", problem.getMessage());
    
            problem = new DefaultProblem(null, null, null, -1, -1, new Exception("EXCEPTION MESSAGE"));
            assertEquals("EXCEPTION MESSAGE", problem.getMessage());
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/context/SingletonContextTest.java

            } catch (NoSuchFieldException | IllegalAccessException e) {
                log.error("Failed to reset SingletonContext instance", e);
                fail("Failed to reset SingletonContext instance: " + e.getMessage());
            }
            // Clear system properties that might affect the test
            System.clearProperty("jcifs.properties");
            System.clearProperty("java.protocol.handler.pkgs");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            NullPointerException npe = assertThrows(NullPointerException.class, () -> locator.handleDFSReferral(referral, null));
            assertTrue(npe.getMessage() == null || npe.getMessage().contains("reqPath"));
            verify(locator).handleDFSReferral(referral, null);
            verifyNoMoreInteractions(locator);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

        void defaultConstructorSetsMessageAndStatus() {
            // Arrange & Act
            SmbEndOfFileException ex = new SmbEndOfFileException();
    
            // Assert
            assertEquals("Unexpectedly reached end of file", ex.getMessage(), "Default message must match");
            assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus(), "Default NT status should be UNSUCCESSFUL");
            assertNull(ex.getCause(), "Cause should be null by default");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

        public void testSUnsupportedOperationExceptionString() {
            final ClUnsupportedOperationException clUnsupportedOperationException = new ClUnsupportedOperationException("hoge");
            assertThat(clUnsupportedOperationException.getMessage(), is("hoge"));
        }
    
        /**
         * Test method for
         * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException(java.lang.String, java.lang.Throwable)}
         * .
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/UncaughtExceptionHandlers.java

            // If logging fails, e.g. due to missing memory, at least try to log the
            // message and the cause for the failed logging.
            System.err.println(e.getMessage());
            System.err.println(errorInLogging.getMessage());
          } finally {
            runtime.exit(1);
          }
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Feb 10 21:03:40 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

                fail("Should have thrown InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("Unknown q:"));
                assertTrue(e.getMessage().contains("TermQuery"));
            }
        }
    
        public void test_execute_withNullQuery() {
            // Test that execute handles null query
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            try {
                chain.update(user);
                fail("Expected exception to be thrown");
            } catch (RuntimeException e) {
                assertEquals("Update failed", e.getMessage());
            }
    
            assertEquals(1, chain.updateCalls.size());
        }
    
        // Test basic delete operation
        public void test_delete_normalUser() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

        }
    
        private static String getMessage(Throwable error, String def) {
            if (error == null) {
                return def;
            }
            String msg = error.getMessage();
            if (msg != null && !msg.isEmpty()) {
                return msg;
            }
            return getMessage(error.getCause(), def);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 31.2K bytes
    - Viewed (0)
Back to top