- Sort Score
- Result 10 results
- Languages All
Results 591 - 600 of 3,323 for author (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/OneSizeTestContainerGenerator.java
* * <p>This interface should not be implemented outside this package; {@link * PerCollectionSizeTestSuiteBuilder} constructs instances of it from a more general {@link * TestCollectionGenerator}. * * @author George van den Driessche */ @GwtCompatible @NullMarked public interface OneSizeTestContainerGenerator<T, E extends @Nullable Object> extends TestSubjectGenerator<T>, TestContainerGenerator<T, E> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetTester.java
import com.google.common.collect.Multiset; import com.google.common.collect.testing.AbstractCollectionTester; import org.junit.Ignore; /** * Base class for multiset collection tests. * * @author Jared Levy */ @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.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
import java.util.Collection; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates multimaps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public interface TestMultimapGenerator< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CountTest.java
package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for {@code Count}. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public class CountTest extends TestCase { public void testGet() { assertEquals(20, new Count(20).get()); } public void testGetAndAdd() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java
import com.google.caliper.Benchmark; import com.google.caliper.Param; import java.util.Set; import org.jspecify.annotations.NullUnmarked; /** * Very simple powerSet iteration benchmark. * * @author Kevin Bourrillion */ @NullUnmarked public class PowerSetBenchmark { @Param({"2", "4", "8", "16"}) int elements; Set<Set<Integer>> powerSet; @BeforeExperiment void setUp() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/FinalizableWeakReference.java
/** * Weak reference with a {@code finalizeReferent()} method which a background thread invokes after * the garbage collector reclaims the referent. This is a simpler alternative to using a {@link * ReferenceQueue}. * * @author Bob Lee * @since 2.0 */ @J2ktIncompatible @GwtIncompatible public abstract class FinalizableWeakReference<T> extends WeakReference<T> implements FinalizableReference { /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/features/ConflictingRequirementsException.java
import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import java.util.Set; /** * Thrown when requirements on a tester method or class conflict with each other. * * @author George van den Driessche */ @GwtCompatible public class ConflictingRequirementsException extends Exception { private final Set<Feature<?>> conflicts; private final Object source;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 1.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/TestMultimapGenerator.java
import java.util.Collection; import java.util.Map.Entry; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Creates multimaps, containing sample elements, to be tested. * * @author Louis Wasserman */ @GwtCompatible @NullMarked public interface TestMultimapGenerator< K extends @Nullable Object, V extends @Nullable Object, M extends Multimap<K, V>>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1.5K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java
import com.google.common.collect.testing.features.CollectionSize; import java.util.Collection; import junit.framework.Test; import junit.framework.TestCase; /** * Unit test for {@link MinimalCollection}. * * @author Kevin Bourrillion */ @AndroidIncompatible // test-suite builders public class MinimalCollectionTest extends TestCase { public static Test suite() { return CollectionTestSuiteBuilder.using(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/StringCatcher.java
/** * A simple EventSubscriber mock that records Strings. * * <p>For testing fun, also includes a landmine method that EventBus tests are required not * to call ({@link #methodWithoutAnnotation(String)}). * * @author Cliff Biffle */ @NullUnmarked public class StringCatcher { private final List<String> events = new ArrayList<>(); @Subscribe public void hereHaveAString(@Nullable String string) { events.add(string);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 1.4K bytes - Viewed (0)