Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 453 for throwing (0.96 sec)

  1. src/test/java/org/codelibs/fess/exec/SuggestCreatorTest.java

        }
    
        // Test initializeProbes
        public void test_initializeProbes() {
            try {
                SuggestCreator.initializeProbes();
                // If no exception thrown, test passes
                assertTrue(true);
            } catch (Exception e) {
                fail("initializeProbes should not throw exception: " + e.getMessage());
            }
        }
    
        // Test process with properties path
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                // we need to catch it to verify that pipe.close() was still called
                try {
                    handle.close();
                    fail("Expected IOException to be thrown");
                } catch (IOException e) {
                    assertEquals("Handle close failed", e.getMessage());
                }
    
                verify(mockSmbPipeHandleInternal).close();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CharSourceTest.java

            int suppressed = runSuppressionFailureTest(in, out);
            assertThat(suppressed).isAtMost(1);
          }
        }
      }
    
      /**
       * @return the number of exceptions that were suppressed on the expected thrown exception
       */
      private static int runSuppressionFailureTest(CharSource in, CharSink out) {
        try {
          in.copyTo(out);
          fail();
        } catch (IOException expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            when(mockSid.unwrap(sid_t.class)).thenReturn(mockSidT);
            testSids = new jcifs.SID[] { mockSid };
    
            // Act & Assert - Constructor accepts null, no exception thrown
            assertDoesNotThrow(() -> {
                new MsrpcLookupSids(null, testSids);
            });
        }
    
        @Test
        void constructor_shouldThrowExceptionWithNullSids() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/SimpleCircuitBreaker.java

                        successRate * 100, rejectedCalls);
            }
        }
    
        /**
         * Exception thrown when circuit breaker is open
         */
        public static class CircuitBreakerOpenException extends Exception {
            private static final long serialVersionUID = 1L;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
       * the caveat that an {@link IllegalArgumentException} is thrown on an attempt to {@linkplain
       * #add(Range) add} any range not {@linkplain Range#encloses(Range) enclosed} by {@code view}.
       */
      RangeSet<C> subRangeSet(Range<C> view);
    
      // Modification
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

                    setStatus(qr, NtStatus.NT_STATUS_NO_SUCH_FILE);
                    qr.received();
                    q.setResponse(qr);
                    // Now emulate error thrown by transport for create chain
                    throw new SmbException(NtStatus.NT_STATUS_NO_SUCH_FILE, false);
                }
                return null;
            }).when(tree).send(any(Request.class));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/RegularImmutableMap.java

       * it does not, then null is returned. If it does, then if {@code throwIfDuplicateKeys} is true an
       * {@code IllegalArgumentException} is thrown, and otherwise the existing {@link Entry} is
       * returned.
       *
       * @throws IllegalArgumentException if another entry in the bucket has the same key and {@code
       *     throwIfDuplicateKeys} is true
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Then - no exceptions should have been thrown
            assertTrue(true); // If we reach here, no exceptions occurred
        }
    
        /**
         * Test consistency across multiple calls
         */
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumTest.java

        void testMethodsWithNullBuffers() {
            netShareEnum = new NetShareEnum(realConfig);
    
            // Write methods return 0 when buffer is null (no NullPointerException thrown)
            assertEquals(0, netShareEnum.writeSetupWireFormat(null, 0));
    
            assertThrows(NullPointerException.class, () -> {
                netShareEnum.writeParametersWireFormat(null, 0);
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top