- Sort Score
- Result 10 results
- Languages All
Results 791 - 800 of 2,319 for execution (0.04 sec)
-
src/test/java/jcifs/util/transport/ResponseTest.java
} @Test void testException() { Exception testException = new IllegalArgumentException("Another Test Exception"); mockResponse.exception(testException); // Verify that the method was called with the correct argument verify(mockResponse, times(1)).exception(testException); } @Test void testGetNextResponse() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
verify(tree, times(1)).send(argThat((Request<?> r) -> r instanceof Smb2CloseRequest)); } @Test @DisplayName("fetchMore() handles NT_STATUS_NO_MORE_FILES via exception") void fetchMore_handles_no_more_files_exception() throws Exception { // Setup required for this test when(parent.getLocator()).thenReturn(locator); when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
docs/smb3-features/06-witness-protocol-design.md
return stub.getResponse(); } catch (Exception e) { throw new IOException("Witness heartbeat RPC failed", e); } } @Override public void close() { if (handle != null) { try { handle.close(); } catch (Exception e) { log.error("Error closing witness RPC handle", e); } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 42K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
* it may throw the exception on the (n-1)th element (oops!). */ /* Checks the case where the first element throws an exception. */ List<Integer> list = emptyList(); Iterator<Integer> iterator = peekingIterator(new ThrowsAtEndIterator<Integer>(list)); assertNextThrows(iterator); /* Checks the case where a later element throws an exception. */ list = Lists.newArrayList(1, 2);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/DuplicateHostHelperTest.java
DuplicateHostHelper helper = new DuplicateHostHelper(); try { helper.init(); assertNotNull(helper.duplicateHostList); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_setDuplicateHostList() { DuplicateHostHelper helper = new DuplicateHostHelper();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 6.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java
VersionRange vr = VersionRange.createFromVersionSpec("[1.0,2.0)"); artifact = new DefaultArtifact(groupId, artifactId, vr, scope, type, null, artifactHandler); assertNull(artifact.getVersion()); assertNull(artifact.getBaseVersion()); } @Test void testMNG7780() throws Exception {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
* restrictions were placed on d. This demonstrates that a, b, c, & d will * all be collected. * * @throws Exception */ @Test void testDependencyManagementExclusionDoesNotOverrideGloballyForTransitives() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile();Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 5K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/GwtFuturesCatchingSpecialization.java
Executor executor) { return AbstractCatchingFuture.create(input, exceptionType, fallback, executor); } public static <V extends @Nullable Object> ListenableFuture<V> catchingAsync( ListenableFuture<? extends V> input, Class<Throwable> exceptionType, AsyncFunction<? super Throwable, ? extends V> fallback, Executor executor) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/JobExecutorTest.java
} public void test_shutdownListener_exceptionHandling() { // Test exception thrown in shutdown listener jobExecutor.addShutdownListener(new ShutdownListener() { @Override public void onShutdown() { throw new RuntimeException("Test exception"); } }); try { jobExecutor.shutdown();Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
} /** * Test close method propagates exception. */ @Test void testCloseWithException() throws CIFSException { // Given when(mockDelegate.hasNext()).thenReturn(false); CIFSException exception = new CIFSException("Test exception"); doThrow(exception).when(mockDelegate).close();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0)