Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 3,054 for throws (0.04 sec)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessActionAdjustmentProviderTest.java

    public class FessActionAdjustmentProviderTest extends UnitFessTestCase {
    
        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        public void test_write_noConfig() throws Exception {
            final FessConfig fessConfig = createFessConfigWithResponseHeaders("");
            FessActionAdjustmentProvider provider = new FessActionAdjustmentProvider(fessConfig);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue May 06 09:19:22 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      public void testSubscriberThrowsExceptionHandlerThrowsException() throws Exception {
        EventBus eventBus =
            new EventBus(
                new SubscriberExceptionHandler() {
                  @Override
                  public void handleException(Throwable exception, SubscriberExceptionContext context) {
                    throw new RuntimeException();
                  }
                });
        Object subscriber =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/lock/Smb2LockResponseTest.java

        @DisplayName("readBytesWireFormat tests")
        class ReadBytesWireFormatTests {
    
            @Test
            @DisplayName("Should read valid structure with size 4")
            void testReadBytesWireFormatValidStructure() throws SMBProtocolDecodingException {
                // Given
                byte[] buffer = new byte[10];
                int bufferIndex = 0;
                SMBUtil.writeInt2(4, buffer, bufferIndex); // Write structure size = 4
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/BigIntegerConversionUtilTest.java

    import junit.framework.TestCase;
    
    /**
     * @author higa
     *
     */
    public class BigIntegerConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
        public void testToBigIntegerForEmptyString() throws Exception {
            assertNull(BigIntegerConversionUtil.toBigInteger(""));
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 960 bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        void testReadPacketTypeSpecialStream() throws IOException {
            // Create a mock stream that returns exactly -1 on first read (special case)
            when(mockInputStream.read(any(byte[].class), anyInt(), anyInt())).thenReturn(-1); // Immediate EOF
    
            byte[] buffer = new byte[10];
    
            // The readn method will return 0 when stream returns -1
            // So this should still throw IOException, not return -1
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        }
    
        public void test_default_constructor_is_public() throws Exception {
            assertTrue("Default constructor should be public",
                    java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getConstructor().getModifiers()));
        }
    
        public void test_expired_method_is_public() throws Exception {
            assertTrue("expired method should be public",
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testRead_putSingleByte() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/HashingInputStreamTest.java

      @SuppressWarnings("DoNotMock")
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        hasher = mock(Hasher.class);
        hashFunction = mock(HashFunction.class);
        buffer = new ByteArrayInputStream(testBytes);
    
        when(hashFunction.newHasher()).thenReturn(hasher);
      }
    
      public void testRead_putSingleByte() throws Exception {
        HashingInputStream in = new HashingInputStream(hashFunction, buffer);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @return the authenticated NtlmPasswordAuthentication object
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge)
                throws IOException, ServletException {
            return authenticate(req, resp, challenge);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        void connectLogon_withNull_isInvoked() throws Exception {
            // Act
            tree.connectLogon(null);
    
            // Assert - even null should be passed through to implementation
            verify(tree).connectLogon(null);
        }
    
        @Test
        @DisplayName("connectLogon propagates SmbException from implementation")
        void connectLogon_throws_propagates() throws Exception {
            // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top