- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 407 for integration (0.14 sec)
-
src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java
Supplier<String> supplier = mock(Supplier.class); when(supplier.get()).thenThrow(new RuntimeException(new SmbUnsupportedOperationException("boom"))); // Act & Assert: the exception is propagated and interaction recorded once RuntimeException thrown = assertThrows(RuntimeException.class, supplier::get); assertInstanceOf(SmbUnsupportedOperationException.class, thrown.getCause());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
docs/es/docs/project-generation.md
- 🚢 Instrucciones de despliegue usando Docker Compose, incluyendo cómo configurar un proxy Traefik frontend para manejar certificados HTTPS automáticos.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Mon Dec 30 17:46:44 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/FileEntryTest.java
/** * Unit tests for {@link FileEntry}. The interface itself has no * implementation, so the tests exercise the contract via Mockito mocks. * Each method is exercised for normal inputs, extreme or edge cases, and * interaction verification. */ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/PeekingIterator.java
/** * Returns the next element in the iteration, without advancing the iteration. * * <p>Calls to {@code peek()} should not change the state of the iteration, except that it * <i>may</i> prevent removal of the most recent element via {@link #remove()}. * * @throws NoSuchElementException if the iteration has no more elements according to {@link * #hasNext()} */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
// Act: invoke renew() CredentialsInternal result = renewable.renew(); // Assert: verify interaction and returned value verify(renewable, times(1)).renew(); assertSame(returned, result, "renew() should return the stubbed value"); // Negative interaction check: no further interactions with the mock verifyNoMoreInteractions(renewable); } @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.ArrayList; import java.util.LinkedList; import org.jspecify.annotations.NullUnmarked; /** * Tests the speed of iteration of different iteration methods for collections. * * @author David Richter */ @NullUnmarked public class IteratorBenchmark { @Param({"0", "1", "16", "256", "4096", "65536"}) int size;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassIterator.java
* * Class<?> someClass = ...; * for (Class<?> clazz : iterable(someClass)) { * ... * } * </pre> * <p> * By default, the {@link Object} class is also included in the iteration. If you do not want to include {@link Object}, * specify {@literal false} for the second argument of {@link #iterable(Class, boolean)} or {@link #ClassIterator(Class, boolean)}. * </p> * * @author koichik */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
private SmbTreeHandleInternal handle; @Test @DisplayName("release(): verifies it is invoked exactly once") 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); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeTraverser.java
* That is, each node's subtrees are traversed after the node itself is returned. * * <p>No guarantees are made about the behavior of the traversal when nodes change while iteration * is in progress or when the iterators generated by {@link #children} are advanced. * * @deprecated Use {@link com.google.common.graph.Traverser#depthFirstPreOrder} instead, which has * the same behavior.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
when(delegate.hasNext()).thenReturn(true, false); when(delegate.next()).thenReturn(fileEntry); TestIterator iterator = new TestIterator(null); // Verify iteration assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertFalse(iterator.hasNext()); assertNull(iterator.next());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0)