Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 674 for new2 (0.73 sec)

  1. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            CharMappingItem item = new CharMappingItem(1L, inputs, "output");
    
            assertEquals("a,b,c=>output", item.toLineString());
        }
    
        public void test_toLineString_withUpdates() {
            String[] inputs = { "old1", "old2" };
            CharMappingItem item = new CharMappingItem(1L, inputs, "oldOutput");
    
            item.setNewInputs(new String[] { "new1", "new2", "new3" });
            item.setNewOutput("newOutput");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            String content = "new1\n" + "new2\n" + "new3\n";
    
            InputStream is = new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8));
            stopwordsFile.update(is);
    
            assertEquals(3, stopwordsFile.stopwordsItemList.size());
            assertEquals("new1", stopwordsFile.stopwordsItemList.get(0).getInput());
            assertEquals("new2", stopwordsFile.stopwordsItemList.get(1).getInput());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                    v3(),
                    (oldV, newV) -> {
                      assertEquals(v0(), oldV);
                      assertEquals(v3(), newV);
                      return null;
                    }));
        expectMissing(e0());
      }
    
      public void testMergeNullValue() {
        try {
          getMap()
              .merge(
                  k0(),
                  null,
                  (oldV, newV) -> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

                    v3(),
                    (oldV, newV) -> {
                      assertEquals(v0(), oldV);
                      assertEquals(v3(), newV);
                      return null;
                    }));
        expectMissing(e0());
      }
    
      public void testMergeNullValue() {
        try {
          getMap()
              .merge(
                  k0(),
                  null,
                  (oldV, newV) -> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/RegularImmutableMap.java

       * @param newN the expected number of entries once duplicates are removed
       * @param duplicates a map of canonical {@link Entry} objects for each duplicate key. This map
       *     will be updated by the method, setting each value to false as soon as the {@link Entry} has
       *     been included in the new entry array.
       * @return an array of {@code newN} entries where no key appears more than once.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            try {
                // Create a new QueryProcessor and initialize it
                QueryProcessor newQueryProcessor = new QueryProcessor();
                newQueryProcessor.init();
                ComponentUtil.register(newQueryProcessor, "queryProcessor");
    
                // Register the command with the new processor
                PrefixQueryCommand newCommand = new PrefixQueryCommand();
                newCommand.register();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            assertArrays(new String[] { "ja" }, fessConfig.normalizeQueryLanguages(new String[] { "ja" }));
            assertArrays(new String[] { "ja" }, fessConfig.normalizeQueryLanguages(new String[] { "ja", "ja" }));
            assertArrays(new String[] { "ja" }, fessConfig.normalizeQueryLanguages(new String[] { "ja-jp" }));
            assertArrays(new String[] { "ja" }, fessConfig.normalizeQueryLanguages(new String[] { "ja_JP" }));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            // Test deeply nested exception causes
            Exception level3 = new Exception("Level 3: Database connection failed");
            Exception level2 = new Exception("Level 2: User lookup failed", level3);
            Exception level1 = new Exception("Level 1: Authentication service error", level2);
            SsoProcessException topLevel = new SsoProcessException("SSO process failed", level1);
    
            // Verify the chain
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            final Exception[] exceptions = new Exception[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        providers[index] = new FessTimeResourceProvider(mockConfig);
                    } catch (Exception e) {
                        exceptions[index] = e;
                    }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            final NullPointerException npeCause = new NullPointerException("Null query parameter");
            final IllegalStateException iseCause = new IllegalStateException("Invalid parser state");
            final OutOfMemoryError oomCause = new OutOfMemoryError("Query too large");
    
            // Execute
            final InvalidQueryException npeException = new InvalidQueryException(messageCode, message, npeCause);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
Back to top