- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for propagated (0.09 sec)
-
src/test/java/jcifs/dcerpc/ndr/NdrObjectTest.java
verify(mockBuffer).dec_ndr_long(); } /** * Test case for the encode method when it throws an NdrException. * Verifies that the exception is correctly propagated. */ @Test void testEncodeThrowsNdrException() { // Given ndrObject.setThrowOnEncode(true); // When & Then assertThrows(NdrException.class, () -> {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
/** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expression * correctly implements the method and that any exception is propagated. */ class SmbFilenameFilterTest { @Test void acceptReturnsTrueWhenNameMatches() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java
assertTrue(n > 0); // Note: In actual implementation, uid is NOT propagated for non-AndX SMBs // uid is only set for AndXServerMessageBlock instances (line 167 in AndXServerMessageBlock.java) // Only useUnicode is set before the instanceof check (line 149) assertEquals(block.useUnicode, next.useUnicode, "useUnicode must be propagated");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
assertEquals(0L, nextReq.getSessionId()); resp.prepare(nextReq); assertEquals(0L, nextReq.getSessionId(), "SessionId should not be propagated before response is received"); } @Test @DisplayName("writeBytesWireFormat should return 0 for response class") void testWriteBytesWireFormatReturnsZero() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
return nonNull; } /** * Creates a {@link FutureCombiner} that processes the completed futures whether or not they're * successful. * * <p>Any failures from the input futures will not be propagated to the returned future. * * @since 20.0 */ @SafeVarargs public static <V extends @Nullable Object> FutureCombiner<V> whenAllComplete( ListenableFuture<? extends V>... futures) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
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) -
src/test/java/jcifs/smb/SmbTreeHandleInternalTest.java
// Arrange: configure the mock to throw doThrow(new CIFSException("DFS resolution failed")).when(handle).ensureDFSResolved(); // Act + Assert: exception is propagated with message CIFSException ex = assertThrows(CIFSException.class, () -> handle.ensureDFSResolved()); assertEquals("DFS resolution failed", ex.getMessage()); verify(handle, times(1)).ensureDFSResolved();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
assertEquals(LoginModuleControlFlag.REQUIRED, e.getControlFlag(), "Control flag should be REQUIRED"); } @Test @DisplayName("Custom options are propagated to the AppConfigurationEntry") void customOptions_arePropagated() { // Arrange Map<String, Object> opts = new HashMap<>(); opts.put("useKeyTab", "true"); opts.put("storeKey", "true");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java
throw new RuntimeException("Script evaluation failed"); } }); // Execute and verify exception is propagated try { scriptExecutor.execute("errorEngine", "test"); fail("Expected RuntimeException"); } catch (RuntimeException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
* operation at some <i>undefined</i> point in the future. * * <p><b>Warning:</b> any exception thrown by {@code listener} will <i>not</i> be propagated to * the {@code Cache} user, only logged via a {@link Logger}. * * @return the cache builder reference that should be used instead of {@code this} for any * remaining configuration and cache building
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0)