- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 519 for setMessage (0.13 sec)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
NullPointerException.class, () -> new FileSource((File) null), "Should fail, since you must specify a file"); assertEquals("file cannot be null", e.getMessage()); } @Test void testGetInputStream() throws Exception { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/SignedBytesTest.java
SignedBytes.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() { for (byte x : VALUES) { for (byte y : VALUES) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
TestIterator iterator = new TestIterator(null); CIFSException ex = assertThrows(CIFSException.class, iterator::close); assertEquals("Close failed", ex.getMessage()); } @Test @DisplayName("Remove delegates to underlying iterator") void removeDelegation() { when(delegate.hasNext()).thenReturn(false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/PreauthIntegrityTest.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Apr 05 11:52:05 UTC 2025 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TestLogHandler.java
* } * }); * } * * public void test() { * SomeClass.foo(); * LogRecord firstRecord = handler.getStoredLogRecords().get(0); * assertEquals("some message", firstRecord.getMessage()); * } * </pre> * * @author Kevin Bourrillion * @since 10.0 */ @GwtCompatible @NullMarked public class TestLogHandler extends Handler { private final Object lock = new Object();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java
try { setupMinioClient(bucketName, endpoint); break; } catch (final Exception e) { logger.warn("[{}] {}", i + i, e.getMessage()); } ThreadUtil.sleep(1000L); } } private void setupMinioClient(String bucketName, String endpoint) throws Exception {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/score/ScoreUpdater.java
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
// When & Then IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature)); assertEquals("Not an NTLMSSP message.", thrown.getMessage()); } @Test @DisplayName("Constructor with invalid message type should throw IOException") void testConstructor_ByteArray_InvalidMessageType() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
} catch (InvalidVersionSpecificationException e) { throw new ProfileActivationException( "Invalid JDK version in profile '" + profile.getId() + "': " + e.getMessage()); } } boolean reverse = false; if (jdk.startsWith("!")) { reverse = true; jdk = jdk.substring(1); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (0)