- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 404 for genMessage (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
smbComTreeDisconnect = new SmbComTreeDisconnect(null); }); // Verify the exception message indicates the config is null assertTrue(exception.getMessage().contains("config")); } /** * Test constructor with mock configuration */ @Test @DisplayName("Test constructor with mock configuration")
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
assertThrows(SMBProtocolDecodingException.class, () -> notification.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 24", exception.getMessage()); } @ParameterizedTest @DisplayName("Should read different oplock levels correctly") @ValueSource(bytes = { 0x00, 0x01, 0x02, 0x08, (byte) 0xFF })
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 17.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.haveResponse(buffer, 0, 100)); assertTrue(exception.getMessage().contains("Signature verification failed")); } } @Nested @DisplayName("Concurrency Tests") class ConcurrencyTests { @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 19.3K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
try { rateLimiter.checkAttempt(username, ip); fail("Should throw SmbException for locked account"); } catch (SmbException e) { assertTrue(e.getMessage().contains("locked out"), "Should indicate account lockout"); } } @Test public void testIpRateLimit() throws Exception { String ip = "192.168.1.3";Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
private enum OtherOrder { FIRST, SECOND, THIRD; } // Given a sequence of lock acquisition descriptions // (e.g. "LockA -> LockB", "LockB -> LockC", ...) // Checks that the exception.getMessage() matches a regex of the form: // "LockA -> LockB \b.*\b LockB -> LockC \b.*\b LockC -> LockA" private void checkMessage(IllegalStateException exception, String... expectedLockCycle) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 16.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTransportImpl.java
if (this.negotiated == null) { connect(this.transportContext.getConfig().getResponseTimeout()); } } catch (final IOException ioe) { throw new SmbException(ioe.getMessage(), ioe); } final SmbNegotiationResponse r = this.negotiated; if (r == null) { throw new SmbException("Connection did not complete, failed to get negotiation response"); }
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 69.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
// When/Then: Should throw SmbException SmbException ex = assertThrows(SmbException.class, () -> poolSpy.getChallenge(ctx, address)); assertTrue(ex.getMessage().contains("Connection failed")); } @Test @DisplayName("Should perform logon to IPC$ share") void testLogon() throws Exception { // Given: Mock transport, session and treeCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 19.2K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
Created: Sat Dec 20 09:13:53 GMT 2025 - Last Modified: Mon Nov 24 03:10:07 GMT 2025 - 18.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
SMBProtocolDecodingException exception = assertThrows(SMBProtocolDecodingException.class, () -> response.readBytesWireFormat(buffer, 0)); assertEquals("Expected structureSize = 9", exception.getMessage()); } @Test @DisplayName("Should handle empty notification list") void testEmptyNotificationList() throws Exception { // Given byte[] buffer = new byte[256];Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 18.8K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java
try { testTransformer.transform(responseData); fail("Should throw CrawlerSystemException"); } catch (CrawlerSystemException e) { assertEquals("Test exception", e.getMessage()); } assertEquals(1, testTransformer.getTransformCallCount()); } /** * Test getData implementation */ public void test_getData_implementation() {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sat Sep 06 04:15:37 GMT 2025 - 20.8K bytes - Click Count (0)