- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 125 for testJdk (0.05 sec)
-
guava-testlib/src/com/google/common/collect/testing/TestUnhashableCollectionGenerator.java
import java.util.Collection; import java.util.List; import org.jspecify.annotations.NullMarked; /** * Creates collections containing unhashable sample elements, to be tested. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public abstract class TestUnhashableCollectionGenerator<T extends Collection<UnhashableObject>> implements TestCollectionGenerator<UnhashableObject> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
if (fileId != null) { capturedFileId[0] = fileId[0]; } } }; // When byte[] testId = new byte[] { 42 }; anonymousImpl.setFileId(testId); // Then assertEquals(42, capturedFileId[0], "Anonymous implementation should work correctly"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
"Reusing an existing edge to connect different nodes succeeded"; /** Creates and returns an instance of the graph to be tested. */ abstract Network<Integer, String> createGraph(); /** * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable * graph implementations, this method should replace {@link #network} with a new graph that * includes this node. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
import org.mockito.quality.Strictness; /** * 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;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java
* have, of returning a new, independent iterator * </ul> * * <p>Because of this situation, any public method accepting an iterable should invoke the {@code * iterator} method only once, and should be tested using this class. Exceptions to this rule should * be clearly documented. * * <p>Note that although your APIs should be liberal in what they accept, your methods which
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java
/* * We'll give ourselves a pass on testing all the possible ways of breaking the constraint, * because we know that newClassMap() is implemented using ConstrainedMap which is itself * well-tested. A purist would object to this, but what can I say, we're dirty cheaters. */ map.put(Integer.class, new Integer(5)); assertThrows(ClassCastException.class, () -> map.put(Double.class, new Long(42)));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 18:34:30 UTC 2025 - 4.9K bytes - Viewed (0) -
docs/en/docs/tutorial/index.md
It is also built to work as a future reference so you can come back and see exactly what you need. ## Run the code { #run-the-code } All the code blocks can be copied and used directly (they are actually tested Python files). To run any of the examples, copy the code to a file `main.py`, and start `fastapi dev` with: <div class="termy"> ```console
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 5.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
*/ protected final <T> void setDistinctValues(Class<T> type, T value1, T value2) { tester.setDistinctValues(type, value1, value2); } /** Specifies that classes that satisfy the given predicate aren't tested for sanity. */ protected final void ignoreClasses(Predicate<? super Class<?>> condition) { this.classFilter = and(this.classFilter, not(condition)); } private static AssertionError sanityError(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 17.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/LruHashSet.java
return map.isEmpty(); } /** * Returns true if this set contains the specified element. * * @param o * element whose presence in this set is to be tested. * @return true if this set contains the specified element. */ @Override public boolean contains(final Object o) { return map.containsKey(o); } /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
@Param ExceptionType exceptionType; /** * The number of other exception types in the cache of known-good exceptions and the number of * other {@code ClassValue} entries for the exception type to be tested. This lets us evaluate * whether our solution scales to use with multiple exception types and to whether it is affected * by other {@code ClassValue} users. Some of the benchmarked implementations don't use one or
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.5K bytes - Viewed (0)