Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 224 for EXPECTED (0.03 sec)

  1. src/test/java/org/codelibs/fess/entity/RequestParameterTest.java

            String expected = "[testParam, [value1, value2]]";
            assertEquals(expected, param.toString());
        }
    
        public void test_toString_withNullName() {
            // Test toString with null name
            String[] values = { "value1" };
            RequestParameter param = new RequestParameter(null, values);
    
            String expected = "[null, [value1]]";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

            assertThrows(
                UncheckedExecutionException.class, () -> getUnchecked(FAILED_FUTURE_OTHER_THROWABLE));
        assertThat(expected).hasCauseThat().isEqualTo(OTHER_THROWABLE);
      }
    
      public void testGetUnchecked_runtimeException() {
        RuntimeException expected =
            assertThrows(RuntimeException.class, () -> getUnchecked(RUNTIME_EXCEPTION_FUTURE));
        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/FuturesGetUncheckedTest.java

            assertThrows(
                UncheckedExecutionException.class, () -> getUnchecked(FAILED_FUTURE_OTHER_THROWABLE));
        assertThat(expected).hasCauseThat().isEqualTo(OTHER_THROWABLE);
      }
    
      public void testGetUnchecked_runtimeException() {
        RuntimeException expected =
            assertThrows(RuntimeException.class, () -> getUnchecked(RUNTIME_EXCEPTION_FUTURE));
        assertEquals(RUNTIME_EXCEPTION, expected);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
        }
      }
    
      public static void assertContentsInOrder(Iterable<?> actual, Object... expected) {
        assertEqualInOrder(asList(expected), actual);
      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/RangeTest.java

        IllegalArgumentException expected =
            assertThrows(IllegalArgumentException.class, () -> range.intersection(Range.open(3, 5)));
        assertThat(expected).hasMessageThat().contains("connected");
        expected =
            assertThrows(IllegalArgumentException.class, () -> range.intersection(Range.closed(0, 2)));
        assertThat(expected).hasMessageThat().contains("connected");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        int i = 0;
        while (expectedIterator.hasNext()) {
          Object expected = expectedIterator.next();
    
          assertTrue(
              "index " + i + " expected <" + expected + "., actual is exhausted",
              actualIterator.hasNext());
    
          Object actual = actualIterator.next();
          assertEquals("index " + i, expected, actual);
          i++;
        }
        if (actualIterator.hasNext()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

              expected[b][i] = expected[b][bit] ^ expected[b][i ^ bit];
            }
          }
        }
    
        int[][] actual = Crc32cHashFunction.Crc32cHasher.strideTable;
        assertTrue(
            "Expected: \n"
                + Arrays.deepToString(expected)
                + "\nActual:\n"
                + Arrays.deepToString(actual),
            Arrays.deepEquals(expected, actual));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

        public void test_shutdown_withoutListener() {
            // Call shutdown without setting listener
            try {
                scriptExecutor.shutdown();
                fail("Expected NullPointerException");
            } catch (NullPointerException e) {
                // Expected behavior when no listener is set
            }
        }
    
        public void test_addShutdownListener_replacesExisting() {
            // Add first listener
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

          }
        }
      }
    
      public void testFactorial() {
        BigInteger expected = BigInteger.ONE;
        for (int i = 1; i <= 200; i++) {
          expected = expected.multiply(BigInteger.valueOf(i));
          assertEquals(expected, BigIntegerMath.factorial(i));
        }
      }
    
      public void testFactorial0() {
        assertEquals(BigInteger.ONE, BigIntegerMath.factorial(0));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top