- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 1,044 for teststr (0.22 sec)
-
guava-tests/test/com/google/common/math/IntMathTest.java
@GwtIncompatible // NullPointerTester public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.setDefault(int.class, 1); tester.testAllPublicStaticMethods(IntMath.class); } @GwtIncompatible // isPrime is GWT-incompatible public void testIsPrime() { // Defer correctness tests to Long.isPrime // Check the first 100,000 integers for (int i = 0; i < 100000; i++) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
private MockedStatic<SmbTransport> smbtStatic; @BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instance auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* * <p>To use this class the concrete subclass must implement the {@link * IteratorTester#newTargetIterator()} method. This is because it's impossible to test an Iterator * without changing its state, so the tester needs a steady supply of fresh Iterators. * * <p>If your iterator supports modification through {@code remove()}, you may wish to override theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapToStringTester.java
import org.junit.Ignore; /** * Tester for {@code Multimap.toString()}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
import java.util.List; import java.util.Map.Entry; import org.junit.Ignore; /** * Tester for {@code Multimap.values}. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 2.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
}); } public void testNullPointers() { NullPointerTester tester = new NullPointerTester(); tester.testAllPublicInstanceMethods(BloomFilter.create(Funnels.unencodedCharsFunnel(), 100)); tester.testAllPublicStaticMethods(BloomFilter.class); } /** Tests that we never get an optimal hashes number of zero. */ public void testOptimalHashes() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
assertThat(WildcardType.class.isInstance(GenericsUtil.getElementTypeOfList(t3)), is(true)); } /** * @throws Exception */ public void testSet() throws Exception { final Method m1 = SetType.class.getMethod("setOfString"); final Type t1 = m1.getGenericReturnType(); assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 11.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for {@code Spliterator} implementations. * * @since 21.0 (but only since 33.4.0 in the Android flavor) */ @GwtCompatible @NullMarked public final class SpliteratorTester<E extends @Nullable Object> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 12.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java
import java.util.function.Consumer; import java.util.function.Function; import java.util.function.Supplier; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for {@code Spliterator} implementations. * * @since 33.4.0 (but since 21.0 in the JRE flavor) */ @GwtCompatible @NullMarked @IgnoreJRERequirement // Users will use this only if they're already using Spliterator.Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 12.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
import java.util.Map.Entry; import org.junit.Ignore; /** Tester for {@code BiMap.entrySet} and methods on the entries in the set. */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0)