- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 18 for DoNotMock (0.18 seconds)
-
guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
@NullUnmarked public class HashingOutputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); when(hashFunction.newHasher()).thenReturn(hasher);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
@NullUnmarked public class HashingOutputStreamTest extends TestCase { private Hasher hasher; private HashFunction hashFunction; private final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); when(hashFunction.newHasher()).thenReturn(hasher);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/PredecessorsFunction.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.graph; import com.google.errorprone.annotations.DoNotMock; /** * A functional interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
verify(primitiveSink).putLong(1234); } public void testForLongs_null() { assertNullsThrowException(longFunnel()); } public void testSequential() { @SuppressWarnings({"unchecked", "DoNotMock"}) Funnel<Object> elementFunnel = mock(Funnel.class); PrimitiveSink primitiveSink = mock(PrimitiveSink.class); Funnel<Iterable<?>> sequential = sequentialFunnel(elementFunnel);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/SuccessorsFunction.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.graph; import com.google.errorprone.annotations.DoNotMock; /** * A functional interface for <a * href="https://en.wikipedia.org/wiki/Graph_(discrete_mathematics)">graph</a>-structured data. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 4.2K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/GraphBuilder.java
import static com.google.common.base.Preconditions.checkNotNull; import static com.google.common.graph.Graphs.checkNonNegative; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.DoNotMock; /** * A builder for constructing instances of {@link MutableGraph} or {@link ImmutableGraph} with * user-defined properties. * * <p>A {@code Graph} built by this class has the following default properties: *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 7.2K bytes - Click Count (0) -
guava/src/com/google/common/cache/Cache.java
import com.google.common.util.concurrent.UncheckedExecutionException; import com.google.errorprone.annotations.CanIgnoreReturnValue; import com.google.errorprone.annotations.CompatibleWith; import com.google.errorprone.annotations.DoNotMock; import java.util.Map; import java.util.concurrent.Callable; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.ExecutionException; import org.jspecify.annotations.Nullable; /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 03 12:40:22 GMT 2026 - 8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
private Hasher hasher; private HashFunction hashFunction; private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'}; private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
private Hasher hasher; private HashFunction hashFunction; private static final byte[] testBytes = new byte[] {'y', 'a', 'm', 's'}; private ByteArrayInputStream buffer; @SuppressWarnings("DoNotMock") @Override protected void setUp() throws Exception { super.setUp(); hasher = mock(Hasher.class); hashFunction = mock(HashFunction.class); buffer = new ByteArrayInputStream(testBytes);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/GcFinalization.java
import com.google.common.annotations.J2ktIncompatible; import com.google.common.base.FinalizablePhantomReference; import com.google.common.base.FinalizableReferenceQueue; import com.google.errorprone.annotations.DoNotMock; import com.google.errorprone.annotations.FormatMethod; import com.google.j2objc.annotations.J2ObjCIncompatible; import java.lang.ref.WeakReference; import java.util.Locale; import java.util.Set;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 20:19:19 GMT 2026 - 12.3K bytes - Click Count (0)