Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1641 - 1650 of 2,758 for throwIt (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/NullResponseProcessorTest.java

            // Execute - should not throw any exception even with null
            processor.process(null);
        }
    
        public void test_processWithEmptyResponseData() {
            // Test process method with empty ResponseData
            NullResponseProcessor processor = new NullResponseProcessor();
            ResponseData responseData = new ResponseData();
    
            // Execute - should not throw any exception
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 13 13:29:22 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/FeatureSpecificTestSuiteBuilder.java

          }
        }
        return suite;
      }
    
      /** Throw {@link IllegalStateException} if {@link #createTestSuite()} can't be called yet. */
      protected void checkCanCreate() {
        if (subjectGenerator == null) {
          throw new IllegalStateException("Call using() before createTestSuite().");
        }
        if (name == null) {
          throw new IllegalStateException("Call named() before createTestSuite().");
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then
            assertNotNull(msrpcSamrConnect2, "MsrpcSamrConnect2 should be created successfully");
        }
    
        @Test
        @DisplayName("Should set ptype field to 0")
        void shouldSetPtypeToZero() throws NoSuchFieldException, IllegalAccessException {
            // When
            MsrpcSamrConnect2 msrpcSamrConnect2 = new MsrpcSamrConnect2(testServer, testAccess, mockPolicyHandle);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            assertTrue(notification.getOldIPAddresses().isEmpty());
            assertEquals(WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN, notification.getFlags());
        }
    
        @Test
        void testAddIPAddresses() throws Exception {
            InetAddress ipv4 = InetAddress.getByName("192.168.1.100");
            InetAddress ipv6 = InetAddress.getByName("2001:db8::1");
    
            notification.addNewIPAddress(ipv4);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/PushObserver.kt

       * @param source location of data corresponding with this stream ID.
       * @param byteCount number of bytes to read or skip from the source.
       * @param last when true, there are no data frames to follow.
       */
      @Throws(IOException::class)
      fun onData(
        streamId: Int,
        source: BufferedSource,
        byteCount: Int,
        last: Boolean,
      ): Boolean
    
      /** Indicates the reason why this stream was canceled. */
      fun onReset(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    class SerializationTest {
    
        @Test
        void testModelSerialization() throws Exception {
            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
                model = new MavenXpp3Reader().read(is);
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * directory or a {@code pom.xml} file with the {@code root="true"} attribute.
         * If there's no such directory, an {@code IllegalStateException} will be thrown.
         *
         * @throws IllegalStateException if the root directory could not be found
         * @see #getTopDirectory()
         * @since 4.0.0
         */
        Path getRootDirectory();
    
        /**
         * @since 3.3.0
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
      @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_VALUES})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        private Trans2SetFileInformationResponse response;
        private Configuration config;
    
        @Mock
        private Configuration mockConfig;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
            Properties props = new Properties();
            config = new PropertyConfiguration(props);
            response = new Trans2SetFileInformationResponse(config);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

            assertArgumentNotNull("handler", handler);
    
            try {
                parser.parse(inputSource, handler);
            } catch (final SAXException e) {
                throw new SAXRuntimeException(e);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Sets a specific property on the base implementation of {@link XMLReader}.
         *
         * @param parser
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top