- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 602 for getMessager (0.13 seconds)
-
guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
UnsignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage("%s not found in exception text: %s", value, ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { // This is the only ordering for primitives that does not have a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 14K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
assertThrows(SMBProtocolDecodingException.class, () -> echoResponse.readBytesWireFormat(buffer, bufferIndex)); assertEquals("Expected structureSize = 4", exception.getMessage()); } @ParameterizedTest @ValueSource(ints = { 0, 1, 2, 3, 5, 6, 100, 65535 }) @DisplayName("Should throw exception for various invalid structure sizes")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatSession.java
} /** * Returns a copy of the message list in this session. * * @return a new list containing all messages */ public List<ChatMessage> getMessages() { synchronized (messagesLock) { if (messages == null) { return new ArrayList<>(); } return new ArrayList<>(messages); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java
try { emptyGenerator.isTarget(docMap); } catch (IllegalStateException e) { // Expected when container is not initialized assertTrue(e.getMessage().contains("Not initialized")); } } @Test public void test_getName() { // Initialize without container emptyGenerator = new EmptyGenerator();Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
for (ModelProblem problem : problems) { writer.print("["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); writer.print(" @ "); writer.println(ModelProblemUtils.formatLocation(problem, modelId)); } return buffer.toString(); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/IOIntegrationTest.java
req.execute(response -> { statusCode.set(response.getHttpStatusCode()); receivedBody.set(response.getContentAsString()); }, e -> fail("Should not throw exception: " + e.getMessage())); // ## Assert ## assertEquals(200, statusCode.get()); assertEquals(body, receivedBody.get()); } @Test
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 12:00:34 GMT 2026 - 44.1K bytes - Click Count (0) -
compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Reader.java
try { return new PersistedToolchains(delegate.read(reader, strict, null)); } catch (XMLStreamException e) { throw new XmlPullParserException(e.getMessage(), null, e); } } /** * @param reader a reader object. * @return PersistedToolchains * @throws IOException IOException if any.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat May 31 10:30:45 GMT 2025 - 5K bytes - Click Count (0) -
build-tools-internal/src/test/java/org/elasticsearch/gradle/DistributionDownloadPluginTests.java
) { IllegalArgumentException e = expectThrows( IllegalArgumentException.class, () -> checkDistro(project, name, version, type, platform, bundledJdk) ); assertThat(e.getMessage(), containsString(message)); } // create a distro and finalize its configuration private ElasticsearchDistribution checkDistro( Project project, String name,Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 07:24:59 GMT 2021 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
null, null); IOException ex = assertThrows(IOException.class, () -> new NegTokenInit(token)); assertTrue(ex.getMessage().contains("OID"), "Error should mention OID"); } @Test @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0)