Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 143 for propagate (0.05 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. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

              executionThread.start();
            }
          };
    
      @Override
      protected final void tearDown() {
        tearDownStack.runTearDown();
        assertWithMessage("exceptions should not be propagated to uncaught exception handlers")
            .that(thrownByExecutionThread)
            .isNull();
      }
    
      public void testServiceStartStop() throws Exception {
        WaitOnRunService service = new WaitOnRunService();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

        /**
         * Indicates whether plugin executions and configurations should be processed. If enabled, lifecycle-induced plugin
         * executions will be injected into the model and common plugin configuration will be propagated to individual
         * executions.
         *
         * @return {@code true} if plugins should be processed, {@code false} otherwise.
         */
        boolean isProcessPlugins();
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  5. 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)
  6. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

                    List.class);
            method.setAccessible(true);
    
            // Should not throw - errors should be logged but not propagated
            try {
                method.invoke(authenticator, null, groups, roles, groupIds);
                Thread.sleep(200); // Wait for async execution
            } catch (Exception e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // After close, report stale
            handle.close();
            assertTrue(handle.isStale(), "Closed handle reports stale");
        }
    
        @Test
        @DisplayName("getSessionKey propagates CIFSException from session acquisition")
        void getSessionKey_exception_propagates() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\sess");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 16.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                // Should catch the exception and return EXIT_FAIL
                assertEquals(Constants.EXIT_FAIL, result);
            } catch (RuntimeException e) {
                // Expected behavior - test exception propagates
                assertEquals("Test exception", e.getMessage());
            }
        }
    
        // Test writeTimeToSessionInfo method
        @Test
        public void test_writeTimeToSessionInfo_withValidHelper() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

            assertNotNull(groovyEngine.evaluate("return container", null));
        }
    
        // ===== Exception Handling Tests =====
    
        /**
         * Test that JobProcessingException is propagated
         */
        @Test
        public void test_evaluate_jobProcessingExceptionPropagates() {
            final Map<String, Object> params = new HashMap<>();
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            });
            try {
                systemHelper.destroy();
                assertTrue(true);
            } catch (Exception e) {
                fail("Exception should be caught and not propagated");
            }
        }
    
        @Test
        public void test_getHelpUrl() {
            getMockRequest().setLocale(Locale.ENGLISH);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 44.4K bytes
    - Click Count (0)
Back to Top