- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 469 for getMessage (0.13 sec)
-
src/test/java/jcifs/util/PathValidatorTest.java
try { validator.validatePath("\\share\\forbidden\\file.txt"); fail("Should block blacklisted path"); } catch (SmbException e) { assertTrue(e.getMessage().contains("not allowed")); } // Should allow other paths String allowed = validator.validatePath("\\share\\allowed\\file.txt"); assertEquals("\\share\\allowed\\file.txt", allowed);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
SignedBytes.checkedCast(value); fail("Cast to byte should have failed: " + value); } catch (IllegalArgumentException ex) { assertWithMessage(value + " not found in exception text: " + ex.getMessage()) .that(ex.getMessage().contains(String.valueOf(value))) .isTrue(); } } public void testCompare() { for (byte x : VALUES) { for (byte y : VALUES) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
dataStoreFactory.add(null, dataStore); fail("Should throw IllegalArgumentException"); } catch (IllegalArgumentException e) { assertEquals("name or dataStore is null.", e.getMessage()); } } // Test add method with null dataStore public void test_add_nullDataStore() { try { dataStoreFactory.add("testName", null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/log/Logger.java
* Exception. Must not be {@literal null}. */ public void log(final Throwable throwable) { assertArgumentNotNull("throwable", throwable); error(throwable.getMessage(), throwable); } /** * Outputs a log entry. * * @param messageCode * Message code. Must not be {@literal null} or empty string. * @param argsRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SIndexOutOfBoundsExceptionTest.java
@Test public void testSIndexOutOfBoundsExceptionString() { final ClIndexOutOfBoundsException clIndexOutOfBoundsException = new ClIndexOutOfBoundsException("hoge"); assertThat(clIndexOutOfBoundsException.getMessage(), is("hoge")); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/UnsupportedEncodingRuntimeException.java
* * @param cause * the cause */ public UnsupportedEncodingRuntimeException(final UnsupportedEncodingException cause) { super("ECL0105", new Object[] { cause.getMessage() }, cause); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 1.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java
itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_basic"), Constants.BASIC)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_digest"), Constants.DIGEST)); itemList.add(createItem(ComponentUtil.getMessageManager().getMessage(locale, "labels.webauth_scheme_ntlm"), Constants.NTLM));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 20.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
// Act & Assert IOException thrown = assertThrows(IOException.class, () -> { new LsaPolicyHandle(mockDcerpcHandle, server, access); }); assertEquals("Network error", thrown.getMessage()); verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class)); } @Test void close_shouldClosePolicySuccessfully() throws IOException { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java
() -> new Smb2SigningDigest(sessionKey, Smb2Constants.SMB2_DIALECT_0311, null)); assertEquals("Missing preauthIntegrityHash for SMB 3.1.1", exception.getMessage()); } @Test @DisplayName("Should throw exception for unknown dialect") void testConstructorUnknownDialect() { IllegalArgumentException exception =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 43.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
dcerpcBinding.setOption("endpoint", endpoint); }, "Should throw DcerpcException for unknown pipe endpoint."); assertTrue(thrown.getMessage().contains("Bad endpoint"), "Exception message should indicate a bad endpoint."); } @Test void testSetOptionEndpointInvalidFormat() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)