- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 193 for BOTH (1.04 sec)
-
src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java
assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test void testStringAndThrowableConstructor() { // Test the constructor with both message and cause String message = "Failed to connect due to timeout."; Throwable cause = new IllegalStateException("Network unreachable");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
"Unknown q: " + query.getClass() + " => " + query); } /** * Converts a TermRangeQuery to a QueryBuilder with the given boost value. * Handles both search fields and default field queries with proper range semantics. * * @param context the query context * @param termRangeQuery the term range query to convert * @param boost the boost value to apply
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoTokenTest.java
setMechanismToken(token); this.parsed = true; } boolean isParsed() { return parsed; } } @Test @DisplayName("Default state is null for both fields") void defaultStateIsNull() { TestSpnegoToken t = new TestSpnegoToken(); assertNull(t.getMechanismToken(), "mechanismToken should default to null");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/log/admin_log.jsp
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 13 05:54:52 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/MimeTypeException.java
* It is used to indicate exceptions related to MIME type handling during the crawling process. * This exception can be thrown with a message, a cause, or both. */ public class MimeTypeException extends CrawlerSystemException { private static final long serialVersionUID = 1L; /** * Creates a new MimeTypeException with the specified detail message and cause.Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
throw new SmbEndOfFileException(); }); assertEquals("Unexpectedly reached end of file", thrown.getMessage()); } /** * toString should include both the class name and the default message. */ @ParameterizedTest @ValueSource(strings = { "SmbEndOfFileException", "Unexpectedly reached end of file" }) void toStringContainsKeyInfo(String expectedSubstring) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/RequestTimeoutExceptionTest.java
assertEquals(cause, exception.getCause(), "Cause should match the provided throwable"); } @Test void testMessageAndCauseConstructor() { // Test the constructor with both message and cause arguments String message = "Test message with cause"; Throwable cause = new IllegalArgumentException("Invalid argument");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvTargetNameTest.java
assertEquals(originalString, avTargetName.getTargetName(), "Retrieved target name should correctly decode raw bytes"); } /** * Test with an empty string for both constructors. */ @Test void testEmptyString() { String emptyString = ""; AvTargetName avTargetNameFromString = new AvTargetName(emptyString);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java
assertEquals(cause.toString(), exception.getMessage(), "Message should be cause.toString() when only cause is provided"); } @Test @DisplayName("Message and cause constructor should preserve both crypto parameters") void testMessageAndCauseConstructor() { // Given NoSuchAlgorithmException cause = new NoSuchAlgorithmException("Algorithm not found"); // When
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java
assertEquals(6, close.writeParameterWordsWireFormat(new byte[10], 0)); } /** * The toString representation should include the class name and both * fields. This provides visibility into the debug output of the SMB * packet. */ @Test @DisplayName("happy: toString contains class info and field values")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.8K bytes - Viewed (0)