Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for yu (0.03 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
     * access issues, if any.
     *
     * @author Ben Yu
     */
    public class ForwardingWrapperTesterTest extends TestCase {
    
      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
      public void testGoodForwarder() {
        tester.testForwarding(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  2. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:41:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    public class FreshValueGeneratorTest extends TestCase {
    
      @AndroidIncompatible // problem with equality of Type objects?
      public void testFreshInstance() {
        assertFreshInstances(
            String.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

     *
     * <p>{@link #setDefault} allows subclasses to specify default values for types.
     *
     * <p>This class incurs IO because it scans the classpath and reads classpath resources.
     *
     * @author Ben Yu
     * @since 14.0
     */
    // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass
    // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4).
    @GwtIncompatible
    @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/Types.java

    import java.util.concurrent.atomic.AtomicReference;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Utilities for working with {@link Type}.
     *
     * @author Ben Yu
     */
    @ElementTypesAreNonnullByDefault
    final class Types {
    
      /** Class#toString without the "class " and "interface " prefixes */
      private static final Joiner COMMA_JOINER = Joiner.on(", ").useForNull("null");
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import java.util.concurrent.TimeUnit;
    import java.util.regex.MatchResult;
    import java.util.regex.Pattern;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link FreshValueGenerator}.
     *
     * @author Ben Yu
     */
    public class FreshValueGeneratorTest extends TestCase {
    
      @AndroidIncompatible // problem with equality of Type objects?
      public void testFreshInstance() {
        assertFreshInstances(
            String.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

     * number types; reasonable default instance for other stateless types. For mutable types, a fresh
     * instance is created each time {@code get()} is called.
     *
     * @author Kevin Bourrillion
     * @author Ben Yu
     * @since 12.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    public final class ArbitraryInstances {
    
      private static final Ordering<Field> BY_FIELD_NAME =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

    import java.lang.reflect.TypeVariable;
    import java.util.Collections;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit tests for {@link Invokable}.
     *
     * @author Ben Yu
     */
    @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations?
    public class InvokableTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

     * used when the type mapping isn't implied by the static type hierarchy, but provided through other
     * means such as an annotation or external configuration file.
     *
     * @author Ben Yu
     * @since 15.0
     */
    @ElementTypesAreNonnullByDefault
    public final class TypeResolver {
    
      private final TypeTable typeTable;
    
      public TypeResolver() {
        this.typeTable = new TypeTable();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
Back to top