- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 615 for EXPECTED (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/primitives/ShortsTest.java
// Only compare the sign of the result of compare(). int expected = Short.compare(x, y); int actual = Shorts.compare(x, y); if (expected == 0) { assertWithMessage("%s, %s", x, y).that(actual).isEqualTo(expected); } else if (expected < 0) { assertWithMessage("%s, %s (expected: %s, actual%s)", x, y, expected, actual) .that(actual < 0) .isTrue();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 01:43:32 GMT 2026 - 27.6K bytes - Click Count (0) -
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) -
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 callCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 3.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/RelevanceEvaluationResultTest.java
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) -
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) -
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) -
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) -
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) -
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsRecordCodecTest.kt
"74c01b5adb12c100000e10000003840012750000000e10" ).decodeHex(), ) }.also { expected -> assertThat(expected.message).isEqualTo("sdflkhfsdlkjdf.ee: NXDOMAIN") } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu May 29 20:09:10 GMT 2025 - 3.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateDefaultAtomicHelperTest.java
import com.google.common.annotations.J2ktIncompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests that {@link AggregateFutureState} uses the expected {@code AtomicHelper} implementation. * * <p>We have more thorough testing of {@code AtomicHelper} implementations in {@link * AggregateFutureStateFallbackAtomicHelperTest}. The advantage to this test is that it can runCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 1.5K bytes - Click Count (0)