Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 80 for yu (0.02 sec)

  1. android/guava-tests/test/com/google/common/primitives/PackageSanityTests.java

     */
    
    package com.google.common.primitives;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Tests basic sanity for each class in the package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(String.class, "string");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 19:03:30 UTC 2017
    - 933 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/escape/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 15 20:25:06 UTC 2018
    - 845 bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/escape/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.escape;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 22 15:25:46 UTC 2013
    - 845 bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java

     */
    
    package com.google.common.testing;
    
    import com.google.common.testing.RelationshipTester.ItemReporter;
    import junit.framework.TestCase;
    
    /**
     * Tests for {@link RelationshipTester}.
     *
     * @author Ben Yu
     */
    public class RelationshipTesterTest extends TestCase {
    
      public void testNulls() {
        new ClassSanityTester()
            .setDefault(ItemReporter.class, new ItemReporter())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/RemovalNotificationTest.java

     */
    
    package com.google.common.cache;
    
    import com.google.common.testing.EqualsTester;
    import junit.framework.TestCase;
    
    /**
     * Unit tests of {@link RemovalNotification}.
     *
     * @author Ben Yu
     */
    public class RemovalNotificationTest extends TestCase {
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(
                RemovalNotification.create("one", 1, RemovalCause.EXPLICIT),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/PackageSanityTests.java

    import com.google.common.hash.BloomFilterStrategies.LockFreeBitArray;
    import com.google.common.testing.AbstractPackageSanityTests;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
      public PackageSanityTests() {
        setDefault(LockFreeBitArray.class, new LockFreeBitArray(1));
        setDefault(HashCode.class, HashCode.fromInt(1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 15:56:47 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    public class PackageSanityTests extends AbstractPackageSanityTests {
    
      public PackageSanityTests() throws Exception {
        DummySubscriber dummySubscriber = new DummySubscriber();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. 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");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

    import java.lang.reflect.Proxy;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Generates a dummy interface proxy that simply returns a dummy value for each method.
     *
     * @author Ben Yu
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    abstract class DummyProxy {
    
      /**
       * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeParameter.java

     *
     * <pre>{@code
     * static <T> TypeToken<List<T>> listOf(Class<T> elementType) {
     *   return new TypeToken<List<T>>() {}
     *       .where(new TypeParameter<T>() {}, elementType);
     * }
     * }</pre>
     *
     * @author Ben Yu
     * @since 12.0
     */
    @ElementTypesAreNonnullByDefault
    /*
     * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 2.5K bytes
    - Viewed (0)
Back to top