Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 142 for propagated (0.25 seconds)

  1. src/test/java/jcifs/smb/NtlmUtilTest.java

            verify(configuration, atLeastOnce()).getOemEncoding();
            verifyNoMoreInteractions(cifsContext, configuration);
        }
    
        @Test
        @DisplayName("getPreNTLMResponse: unsupported OEM encoding propagates as runtime exception")
        void testGetPreNTLMResponse_invalidEncoding() {
            // Arrange
            when(cifsContext.getConfig()).thenReturn(configuration);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  2. src/test/java/jcifs/smb/SmbSessionImplTest.java

            when(nego.isSigningNegotiated()).thenReturn(false);
            assertFalse(session.isSignatureSetupRequired());
        }
    
        @Test
        @DisplayName("reauthenticate propagates transport failures")
        void testReauthenticatePropagates() throws Exception {
            SmbSessionImpl session = newSession();
            // Cause the inner reauthenticate to fail at first transport call
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java

            };
            ComponentUtil.register(searchEngineClient, "searchEngineClient");
    
            // OutOfMemoryError is an Error, not Exception, so it will not be caught
            // The test should expect the error to propagate
            try {
                purgeDocJob.execute();
                fail("Expected OutOfMemoryError to be thrown");
            } catch (OutOfMemoryError e) {
                assertEquals("Out of memory", e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java

                throw new RuntimeException("Test exception");
            };
    
            try {
                ThreadDumpUtil.processThreadDump(exceptionConsumer);
                fail("Should propagate RuntimeException from consumer");
            } catch (RuntimeException e) {
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/io/FileBackedOutputStream.java

           * not work. (Under Android in particular, we really should check the API Level instead of
           * probing for methods....) But it's hard to imagine how reachabilityFence in particular could
           * exist but throw, so we propagate anything that's thrown, presumably an unchecked Exception
           * or Error.
           */
          throwIfUnchecked(e.getCause());
          throw new AssertionError(e.getCause());
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/eventbus/EventBus.java

     *   <li>It doesn't support backpressure and other features needed for resilience.
     *   <li>It doesn't provide much control of threading.
     *   <li>It doesn't offer much monitoring.
     *   <li>It doesn't propagate exceptions, so apps don't have a way to react to them.
     *   <li>It doesn't interoperate well with RxJava, coroutines, and other more commonly used
     *       alternatives.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            verify(resp, atLeastOnce()).reset();
            // Verify disconnect was called on retry
            verify(c, atLeastOnce()).disconnect(eq(true));
        }
    
        @Test
        @DisplayName("send honors NO_RETRY and propagates error immediately")
        void send_noRetry_param() throws Exception {
            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 13K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                this.reactorContext = reactorContext;
                this.threads = Math.min(
                        session.getRequest().getDegreeOfConcurrency(),
                        session.getProjects().size());
                // Propagate the parallel flag to the root session
                session.setParallel(threads > 1);
                this.executor = new PhasingExecutor(Executors.newFixedThreadPool(threads, new BuildThreadFactory()));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SIDTest.java

                assertEquals("S-1-5-10-20", domSidCap.getValue().toString());
            }
    
            @Test
            @DisplayName("initContext then accessors propagate resolver CIFSException as log-only (no throw)")
            void testResolveWeakCIFSExceptionIsIgnored() throws Exception {
                SID sid = new SID("S-1-5-21-1-2-3");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ACETest.java

                // No propagation
                int noPropagation = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_NO_PROPAGATE;
                assertTrue((noPropagation & ACE.FLAGS_NO_PROPAGATE) != 0, "Should include no propagate flag");
            }
        }
    
        @Nested
        @DisplayName("Interface Edge Case Handling")
        class InterfaceEdgeCaseTests {
    
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top