- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 2,692 for Exception (0.05 seconds)
-
src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java
try { dataIndexHelper.crawl("test-session"); assertTrue("Should complete quickly with empty config list", true); } catch (Exception e) { assertTrue("Exception handling should be fast", true); } } @Test public void test_crawl_withConfigIdList_emptyList() { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
assertSame(session, result); verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain)); } // SMB2 detection: true/false and exception path @Test @DisplayName("isSMB2 returns true/false and can throw") void isSMB2_variants() throws Exception { when(transport.isSMB2()).thenReturn(true, false); assertTrue(transport.isSMB2()); assertFalse(transport.isSMB2());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbCopyUtilTest.java
} // --- Tests for copyFile exception handling branch --- @Nested class CopyFileExceptions { private SmbTreeHandleImpl newTreeHandle(boolean isSmb2) throws Exception { SmbTreeHandleImpl th = mock(SmbTreeHandleImpl.class); lenient().when(th.isSMB2()).thenReturn(isSmb2);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
void release_invokedOnce() throws Exception { // Arrange: no setup needed; we verify interaction only // Act: call release handle.release(); // Assert: verify one invocation and no more verify(handle, times(1)).release(); verifyNoMoreInteractions(handle); } @Test @DisplayName("ensureDFSResolved(): no exception when underlying call succeeds")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { runner.admin().indices().prepareDelete("_all").execute().actionGet(); runner.refresh();
Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Mon Nov 24 03:40:05 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/convert/ShortConversionUtilTest.java
*/ public class ShortConversionUtilTest extends TestCase { /** * @throws Exception */ public void testToShort() throws Exception { assertEquals(Short.valueOf("1000"), ShortConversionUtil.toShort("1,000")); } /** * @throws Exception */ public void testToPrimitiveShort() throws Exception { assertEquals(1000, ShortConversionUtil.toPrimitiveShort("1,000")); }Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
void testGetDialectRevision() throws Exception { // Given setPrivateField(response, "dialectRevision", 0x0311); // When int dialect = response.getDialectRevision(); // Then assertEquals(0x0311, dialect); } @Test @DisplayName("Should return server GUID") void testGetServerGuid() throws Exception { // Given
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 32.5K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
private final int columnNumber; private final String message; private final Exception exception; private final Severity severity; /** * Creates a new problem with the specified message and exception. * Either {@code message} or {@code exception} is required * * @param message The message describing the problem, may be {@code null}.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 4.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/util/BeanMapTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterIndexLifecycleTest.java
@Test public void test_getIndex() throws Exception { Suggester suggester = createSuggester(); // The index name should be {id}.suggest assertEquals("Should return correct index name", getIndexName(), suggester.getIndex()); } @Test public void test_getAllWordsNum_onEmptyIndex() throws Exception { Suggester suggester = createSuggester();Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Sat Mar 14 02:35:38 GMT 2026 - 13.4K bytes - Click Count (0)