- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 105 for Yu (0.14 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ForwardingObjectTester.java
import com.google.common.testing.ForwardingWrapperTester; import java.lang.reflect.Method; import java.util.Arrays; /** * Tester for typical subclass of {@link ForwardingObject} by using Mockito. * * @author Ben Yu */ final class ForwardingObjectTester { private static final Method DELEGATE_METHOD; static { try { DELEGATE_METHOD = ForwardingObject.class.getDeclaredMethod("delegate");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/MathPreconditionsTest.java
import com.google.common.annotations.GwtCompatible; import java.math.BigInteger; import java.math.RoundingMode; import junit.framework.TestCase; /** * Unit tests for {@link MathPreconditions}. * * @author Ben Yu */ @GwtCompatible public class MathPreconditionsTest extends TestCase { public void testCheckPositive_zeroInt() { try { MathPreconditions.checkPositive("int", 0); fail();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */ public class TypeVisitorTest extends TestCase { public void testVisitNull() { new BaseTypeVisitor() .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import junit.framework.TestCase; /** * Tests for {@link Types}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypesTest extends TestCase { public void testNewParameterizedType_ownerTypeImplied() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}. * * @author Ben Yu * @since 13.0 */ @ElementTypesAreNonnullByDefault public final class MutableTypeToInstanceMap<B extends @Nullable Object> extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Apr 22 01:15:23 GMT 2023 - 5.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
import java.util.regex.Pattern; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link ArbitraryInstances}. * * @author Ben Yu */ public class ArbitraryInstancesTest extends TestCase { public void testGet_primitives() { assertNull(ArbitraryInstances.get(void.class)); assertNull(ArbitraryInstances.get(Void.class));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* <pre>{@code * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * }</pre> * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class ForwardingWrapperTester { private boolean testsEquals = false; /**
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 9.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
* <pre>{@code * new ForwardingWrapperTester().testForwarding(Foo.class, new Function<Foo, Foo>() { * public Foo apply(Foo foo) { * return new ForwardingFoo(foo); * } * }); * }</pre> * * @author Ben Yu * @since 14.0 */ @GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class ForwardingWrapperTester { private boolean testsEquals = false; /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 9.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* constructor argument or an equal object is provided, that becomes group 1. * </ul> * * @author Jim McMaster * @author Jige Yu * @since 10.0 */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class EqualsTester { private static final int REPETITIONS = 3;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java
import java.lang.reflect.Proxy; import java.util.List; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Tests for {@link AbstractInvocationHandler}. * * @author Ben Yu */ public class AbstractInvocationHandlerTest extends TestCase { private static final ImmutableList<String> LIST1 = ImmutableList.of("one", "two");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0)