Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 271 - 280 of 623 for EXPECTED (0.04 seconds)

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

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

        private void assertArrayEquals(String[] expected, String[] actual) {
            java.util.Arrays.sort(expected);
            java.util.Arrays.sort(actual);
            assertEquals(expected.length, actual.length);
            for (int i = 0; i < expected.length; i++) {
                assertEquals(expected[i], actual[i]);
            }
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/net/UrlEscaperTesting.java

    /**
     * Testing utilities for {@link UrlEscapers} and {@link LegacyUrlEscapersTest}.
     *
     * @author David Beaumont
     */
    @GwtCompatible
    @NullUnmarked
    final class UrlEscaperTesting {
      /**
       * Helper to assert common expected behaviour of uri escapers. You should call
       * assertBasicUrlEscaper() unless the escaper explicitly does not escape '%'.
       */
      @SuppressWarnings("nullness") // test of a bogus call
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java

            try {
                result.getRelevantDocIds().add("newDoc");
                fail("DocIds list should be immutable");
            } catch (UnsupportedOperationException e) {
                // Expected
            }
        }
    
        @Test
        public void test_indexesAreImmutable() {
            List<String> docIds = Arrays.asList("doc1", "doc2");
            List<Integer> indexes = Arrays.asList(1, 2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        Collection<V> values = multimap().get(k3());
        if (values.size() == 0) {
          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(new ArrayList<>(), new ArrayList<>(values));
          assertEquals(size, multimap().size());
        } else {
          assertEquals(newArrayList(v3()), new ArrayList<>(values));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 20:54:16 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessListedClassificationProviderTest.java

            try {
                provider.provide(null);
                fail("Should throw exception for null classification name");
            } catch (ProvidedClassificationNotFoundException e) {
                // expected
                assertTrue(e.getMessage().contains("Not found the classification: null"));
            } catch (NullPointerException e) {
                // Also acceptable if null is not handled explicitly
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

            } catch (Exception e) {
                // Expected
            }
        }
    
        @Test
        public void test_getJobExecutor_withoutSuffix() {
            try {
                ComponentUtil.getJobExecutor("test");
                fail("Should throw exception");
            } catch (Exception e) {
                // Expected
            }
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), protwordsFile.getPath());
        }
    
        @Test
        public void test_getSimpleName() {
            String expected = testFile.getName();
            assertEquals(expected, protwordsFile.getSimpleName());
        }
    
        @Test
        public void test_get_found() {
            // Load data first
            protwordsFile.reload(null);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.2K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

                    + " was thrown; expected "
                    + getMessage();
            throw new AssertionError(message, exception);
          }
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      private static final class UnknownElementException extends RuntimeException {
        private UnknownElementException(Collection<?> expected, Object actual) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/MultiReaderTest.java

        String expected = begin + end;
        assertEquals(expected.charAt(0), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
        assertEquals(expected.charAt(2), joinedReader.read());
        CharStreams.skipFully(joinedReader, 4);
        assertEquals(expected.charAt(7), joinedReader.read());
        CharStreams.skipFully(joinedReader, 1);
        assertEquals(expected.charAt(9), joinedReader.read());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      /**
       * Constructs an empty {@code LinkedHashMultimap} with enough capacity to hold the specified
       * numbers of keys and values without rehashing.
       *
       * @param expectedKeys the expected number of distinct keys
       * @param expectedValuesPerKey the expected average number of values per key
       * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is
       *     negative
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 19.2K bytes
    - Click Count (0)
Back to Top