- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 155 for behaves (0.05 seconds)
-
guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java
* * @author David Beaumont * @since 15.0 */ @GwtCompatible public final class EscaperAsserts { private EscaperAsserts() {} /** * Asserts that an escaper behaves correctly with respect to null inputs. * * @param escaper the non-null escaper to test */ public static void assertBasic(Escaper escaper) throws IOException {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jan 18 20:55:09 GMT 2022 - 3.8K bytes - Click Count (0) -
.github/workflows/multipart/migrate.sh
docker-compose -f docker-compose-site1.yaml up -d docker-compose -f docker-compose-site2.yaml up -d ./mc ready site1/ ./mc ready site2/ for i in $(seq 1 10); do # mc admin heal -r --remove when used against a LB endpoint # behaves flaky, let this run 10 times before giving up ./mc admin heal -r --remove --json site1/ 2>&1 >/dev/null ./mc admin heal -r --remove --json site2/ 2>&1 >/dev/null done
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon May 27 19:17:46 GMT 2024 - 4.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>The value you pass to the parameter {@code steps} should be greater than the length of your * iterator, so that this class can check that your iterator behaves correctly when it is exhausted. * * <p>For example, to test {@link java.util.Collections#unmodifiableList(java.util.List) * Collections.unmodifiableList}'s iterator: * * {@snippet : * List<String> expectedElements =Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
/** * Tests for SmbTreeHandle interface. * This test class uses Mockito to create a mock implementation of the SmbTreeHandle interface. * Each method of the interface is tested to ensure it behaves as expected. */ @ExtendWith(MockitoExtension.class) @MockitoSettings(strictness = Strictness.LENIENT) class SmbTreeHandleTest { @Mock private SmbTreeHandle smbTreeHandle; @MockCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
verifyNoInteractions(mockDir); } /** * Sanity: implementing via an anonymous class works the same as a lambda. */ @Test @DisplayName("anonymous class implementation behaves correctly") void anonymousClassImplementation() throws Exception { SmbFilenameFilter filter = new SmbFilenameFilter() { @Override
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/RequestParamTest.java
void valueOfRejectsNull(String input) { assertThrows(NullPointerException.class, () -> RequestParam.valueOf(input)); } // Sanity: Enum.valueOf(Class, String) behaves identically to RequestParam.valueOf(String) @Test @DisplayName("Enum.valueOf mirrors RequestParam.valueOf for valid names") void enumValueOfParity() { for (RequestParam rp : RequestParam.values()) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableList.java
return construct(array); } /** * Returns an immutable list containing the given elements, in order. If {@code elements} is a * {@link Collection}, this method behaves exactly as {@link #copyOf(Collection)}; otherwise, it * behaves exactly as {@code copyOf(elements.iterator()}. * * @throws NullPointerException if {@code elements} contains a null element */
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
private static final char GREATEST = Character.MAX_VALUE; private static final char[] VALUES = {LEAST, 'a', '\u00e0', '\udcaa', GREATEST}; // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (char value : VALUES) { assertThat(Chars.hashCode(value)).isEqualTo(Character.hashCode(value)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 25.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
Integer.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE }; private static final double[] VALUES = Doubles.concat(NUMBERS, new double[] {NaN}); // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (double value : VALUES) { assertThat(Doubles.hashCode(value)).isEqualTo(Double.hashCode(value)); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 30.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
private static final int GREATEST = Integer.MAX_VALUE; private static final int[] VALUES = {LEAST, (int) -1, (int) 0, (int) 1, GREATEST}; // We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (int value : VALUES) { assertThat(Ints.hashCode(value)).isEqualTo(Integer.hashCode(value)); } }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 29.3K bytes - Click Count (0)