Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 785 for EXPECTED (0.04 seconds)

  1. src/test/java/org/codelibs/fess/util/MemoryUtilTest.java

            try {
                MemoryUtil.byteCountToDisplaySize(-1L);
                // If no exception, verify it handles negative as expected
            } catch (Exception e) {
                // Expected for negative values
            }
    
            // Test boundary values
            assertEquals("1bytes", MemoryUtil.byteCountToDisplaySize(1L));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            try {
                boostQueryCommand.execute(context, termQuery, 1.0f);
                fail("Should have thrown InvalidQueryException");
            } catch (InvalidQueryException e) {
                // Expected exception
                assertTrue(e.getMessage().contains("Unknown q:"));
                assertTrue(e.getMessage().contains("TermQuery"));
            }
        }
    
        @Test
        public void test_execute_withNullQuery() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/LinkedHashMultiset.java

        return new LinkedHashMultiset<>();
      }
    
      /**
       * Creates a new, empty {@code LinkedHashMultiset} with the specified expected number of distinct
       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. guava/src/com/google/common/base/Predicate.java

     * be used as a {@code Predicate} directly. To use a {@code java.util.function.Predicate} where a
     * {@code com.google.common.base.Predicate} is expected, use the method reference {@code
     * predicate::test}.
     *
     * <p>This interface is now a legacy type. Use {@code java.util.function.Predicate} (or the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 18 15:22:00 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              }
            };
        Thread runner = new Thread(task);
        runner.start();
        isInterruptibleRegistered.await();
        RuntimeException expected = assertThrows(RuntimeException.class, task::interruptTask);
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

              }
            };
        Thread runner = new Thread(task);
        runner.start();
        isInterruptibleRegistered.await();
        RuntimeException expected = assertThrows(RuntimeException.class, task::interruptTask);
        assertThat(expected)
            .hasMessageThat()
            .isEqualTo("I bet you didn't think Thread.interrupt could throw");
        /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        try {
          tester.testForwarding(interfaceType, wrapperFunction);
        } catch (AssertionFailedError expected) {
          for (String message : expectedMessages) {
            assertThat(expected).hasMessageThat().contains(message);
          }
          return;
        }
        fail("expected failure not reported");
      }
    
      private static class ForwardingRunnable implements Runnable {
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  8. .github/ISSUE_TEMPLATE/bug_report.yaml

    name: Bug Report
    description: Something is not working as expected
    labels: ["type=defect"]
    body:
      - type: markdown
        attributes:
          value: >
            Thank you for filing a bug report. Please help us identify and resolve the bug by filling
            out the following fields. Before we begin, please make sure that the bug is still present in
            the [latest](https://github.com/google/guava/releases/latest) version of Guava available.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 16 20:08:25 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        List<String> actual = newArrayList(result);
        List<String> expected = asList("1", "2", "null", "3");
        assertEquals(expected, actual);
      }
    
      // Far less exhaustive than the tests in IteratorsTest
      public void testCycle() {
        Iterable<String> cycle = Iterables.cycle("a", "b");
    
        int howManyChecked = 0;
        for (String string : cycle) {
          String expected = (howManyChecked % 2 == 0) ? "a" : "b";
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/HashMultiset.java

        return new HashMultiset<>();
      }
    
      /**
       * Creates a new, empty {@code HashMultiset} with the specified expected number of distinct
       * elements.
       *
       * @param distinctElements the expected number of distinct elements
       * @throws IllegalArgumentException if {@code distinctElements} is negative
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top