Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3271 - 3280 of 3,670 for throwIf (0.06 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

    public class PagerCreatorTest extends UnitFessTestCase {
    
        private PagerCreator pagerCreator;
        private NamingConvention namingConvention;
    
        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            namingConvention = new MockNamingConvention();
            pagerCreator = new PagerCreator(namingConvention);
        }
    
        // Test constructor initialization
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  2. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt

        this.sequenceNumber = sequenceNumber
        this.failure = failure
    
        if (socket is SSLSocket) {
          try {
            this.handshake = socket.session.handshake()
          } catch (e: IOException) {
            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
        }
    
        if (requestLine.isNotEmpty()) {
          val methodEnd = requestLine.indexOf(' ')
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

        extends AbstractMapTester<K, V> {
      private List<Entry<K, V>> containsNullKey;
      private List<Entry<K, V>> containsNullValue;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        containsNullKey = singletonList(entry(null, v3()));
        containsNullValue = singletonList(entry(k3(), null));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMultimapTest.java

                ImmutableMultimap.of(1, "a", 2, "b"), ImmutableMultimap.of(2, "b", 1, "a"))
            .testEquals();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  5. apache-maven/src/assembly/maven/bin/JvmConfigParser.java

            }
        }
    
        /**
         * Parse jvm.config file and return formatted arguments.
         * Package-private for testing.
         */
        static String parseJvmConfig(Path jvmConfigPath, String mavenProjectBasedir) throws IOException {
            StringBuilder result = new StringBuilder();
    
            for (String line : Files.readAllLines(jvmConfigPath, StandardCharsets.UTF_8)) {
                line = processLine(line, mavenProjectBasedir);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        // 8 expires
        ticker.advance(1, MILLISECONDS);
        assertThat(keySet).containsExactly(0, 1, 2, 5, 7, 9);
      }
    
      public void testExpirationOrder_write() throws ExecutionException {
        // test lru within a single segment
        FakeTicker ticker = new FakeTicker();
        IdentityLoader<Integer> loader = identityLoader();
        LoadingCache<Integer, Integer> cache =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 19.1K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size
                assertEquals(0, SMBUtil.readInt4(buffer, 4)); // Data length
            }
    
            @Test
            @DisplayName("Should throw exception when data exceeds buffer")
            void testWriteBytesWireFormatDataExceedsBuffer() {
                byte[] largeData = new byte[1000];
                request.setData(largeData, 0, largeData.length);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  8. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/InternalDistributionDownloadPlugin.java

                if (unreleasedInfo != null) {
                    if (distribution.getBundledJdk() == false) {
                        throw new GradleException(
                            "Configuring a snapshot bwc distribution ('"
                                + distribution.getName()
                                + "') "
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Aug 20 19:11:05 GMT 2021
    - 8.8K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

                if (yamlTestOutputDir.exists()) {
                    return Files.walk(yamlTestOutputDir.toPath()).anyMatch(p -> p.getFileName().toString().endsWith("yml"));
                }
            } catch (IOException e) {
                throw new IllegalStateException(String.format("Error determining if this project [%s] has rest tests.", getProject()), e);
            }
            return false;
        }
    
        public void setSourceResourceDir(File sourceResourceDir) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/ResourceUtil.java

            assertArgumentNotEmpty("path", path);
    
            final URL url = getResourceNoException(path, extension);
            if (url != null) {
                return url;
            }
            throw new ResourceNotFoundRuntimeException(getResourcePath(path, extension));
        }
    
        /**
         * Returns the resource from the context class loader. Returns <code>null</code> if not found.
         *
         * @param path
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 14.7K bytes
    - Click Count (0)
Back to Top