- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 514 for genMessage (0.05 sec)
-
src/test/java/org/codelibs/core/exception/NullArgumentExceptionTest.java
final NullArgumentException nullArgumentException = new NullArgumentException("hoge"); assertThat(nullArgumentException.getArgName(), is("hoge")); assertThat(nullArgumentException.getMessage(), is("[ECL0008]argument[hoge] is null.")); } /** * @throws Exception */ @Test public void testErrorMessage_en() throws Exception { // ## Arrange ##
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 255, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
assertTrue( afe.getMessage() .contains( "Expected text value 'http://www.apache.org/path/to/parent/child-artifact-id/' but was " + "'http://www.apache.org/path/to/parent/../child-artifact-id/'"), afe.getMessage()); } // but ok from repo: local disk is ignored
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 8.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
@Override public Exception getException() { return exception; } @Override public String getMessage() { String msg; if (message != null && !message.isEmpty()) { msg = message; } else { msg = exception.getMessage(); if (msg == null) { msg = ""; } } return msg;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false)); assertTrue(ex.getMessage().contains("Cannot use netbios/short names")); } @Test @DisplayName("createContext: no Kerberos in initial token and no fallback -> throws")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java
assertEquals("transliteratorId must not be null", e.getMessage()); } } public void test_invalidTransliteratorId() { try { new ICUNormalizer("Invalid-Transliterator-ID-12345"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("Invalid transliterator ID")); } }
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Act + Assert SmbException ex = assertThrows(SmbException.class, () -> tree.connectLogon(context)); assertEquals("login failed", ex.getMessage()); verify(tree).connectLogon(context); } @Test @DisplayName("send without params returns the stubbed response") void send_noParams_returnsResponse() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIllegalStateExceptionTest.java
* . */ @Test public void testSIllegalStateExceptionString() { final ClIllegalStateException clIllegalStateException = new ClIllegalStateException("hoge"); assertThat(clIllegalStateException.getMessage(), is("hoge")); } /** * Test method for * {@link org.codelibs.core.exception.ClIllegalStateException#SIllegalStateException(java.lang.String, java.lang.Throwable)} * . */ @TestRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlException.java
/** * Constructs a new CurlException with the specified detail message and cause. * * @param message the detail message (which is saved for later retrieval by the {@link #getMessage()} method). * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). * (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java
} catch (RuntimeException e) { assertEquals("Simulated processing error", e.getMessage()); // If InputStream wasn't properly closed, this would leak resources // try-with-resources ensures cleanup happens } catch (IOException e) { fail("Should not throw IOException: " + e.getMessage()); } } /** * Test resource content integrity.
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 9.6K bytes - Viewed (0)