Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 602 for getMessager (0.05 seconds)

  1. 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 {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  2. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

                    }
                }
            };
            try {
                manager.init();
                fail();
            } catch (FessSystemException e) {
                assertTrue(e.getMessage().contains("Not found"));
            }
        }
    
        // Test getThumbnailPathOption
        @Test
        public void test_getThumbnailPathOption() {
            String option = thumbnailManager.getThumbnailPathOption();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/NtlmContext.java

                this.state++;
                return out;
            } catch (final SmbException e) {
                throw e;
            } catch (final Exception e) {
                throw new SmbException(e.getMessage(), e);
            }
        }
    
        /**
         * Creates a Type 3 (authentication) message in response to the Type 2 message received from the server.
         * @param msg2 the Type 2 message received from the server
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 17.3K bytes
    - Click Count (1)
  5. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                try {
                    handle.close();
                    fail("Expected IOException to be thrown");
                } catch (IOException e) {
                    assertEquals("Handle close failed", e.getMessage());
                }
    
                verify(mockSmbPipeHandleInternal).close();
                verify(mockSmbNamedPipe).close(); // Should still be called due to finally block
            }
        }
    
        @Nested
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/ThrowablesTest.java

            super(message);
          }
        }
    
        StackTraceException e = new StackTraceException("my message");
    
        String firstLine = quote(e.getClass().getName() + ": " + e.getMessage());
        String secondLine = "\\s*at " + ThrowablesTest.class.getName() + "\\..*";
        String moreLines = "(?:.*" + System.lineSeparator() + "?)*";
        String expected =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

                            analyzer.analyzePom(model);
                        } catch (Exception e) {
                            System.err.println("Error processing " + pomPath + ": " + e.getMessage());
                        }
                    });
    
            // Print analysis
            analyzer.printAnalysis();
        }
    
        private static boolean containsSrcOrTarget(Path pomPath) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                        errorPoms.add(pomPath);
                    }
                } catch (Exception e) {
                    context.failure("Model upgrade failed: " + e.getMessage());
                    errorPoms.add(pomPath);
                } finally {
                    context.unindent();
                }
            }
    
            return new UpgradeResult(processedPoms, modifiedPoms, errorPoms);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

                    index++;
                }
                return Integer.parseInt(response.substring(index, index + 3));
            } catch (final Exception ex) {
                throw new IOException(ex.getMessage());
            }
        }
    
        private void doHandshake() throws IOException {
            connect();
            try {
                int response = parseResponseCode();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/primitives/ShortsTest.java

          Shorts.checkedCast(value);
          fail("Cast to short 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();
        }
      }
    
      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 27.6K bytes
    - Click Count (0)
Back to Top