- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for Yu (0.12 sec)
-
guava-tests/test/com/google/common/base/DefaultsTest.java
*/ package com.google.common.base; import com.google.common.annotations.GwtIncompatible; import junit.framework.TestCase; /** * Unit test for {@link Defaults}. * * @author Jige Yu */ @GwtIncompatible public class DefaultsTest extends TestCase { public void testGetDefaultValue() { assertEquals(false, Defaults.defaultValue(boolean.class).booleanValue());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ParameterTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.reflect.Method; import junit.framework.TestCase; /** * Tests for {@link Parameter}. * * @author Ben Yu */ public class ParameterTest extends TestCase { public void testNulls() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException runningInAndroidVm) { /*
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Apr 06 02:06:03 GMT 2023 - 2K bytes - Viewed (0) -
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 Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jan 05 19:41:03 GMT 2023 - 2.5K bytes - Viewed (0) -
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 Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 15:49:06 GMT 2023 - 5.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
* * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called: * see {@link #setAutoIncrementStep}. * * <p>This class is thread-safe. * * @author Jige Yu * @since 10.0 */ @ElementTypesAreNonnullByDefault @GwtCompatible public class FakeTicker extends Ticker { private final AtomicLong nanos = new AtomicLong(); private volatile long autoIncrementStepNanos;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 13 18:17:09 GMT 2024 - 4.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/EquivalenceTest.java
import com.google.common.testing.SerializableTester; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link Equivalence}. * * @author Jige Yu */ @ElementTypesAreNonnullByDefault @GwtCompatible(emulated = true) public class EquivalenceTest extends TestCase { public void testPairwiseEquivalent() { EquivalenceTester.of(Equivalence.equals().<String>pairwise())
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
import java.util.Map.Entry; import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; /** * Unit test for {@link ImmutableTypeToInstanceMap}. * * @author Ben Yu */ public class ImmutableTypeToInstanceMapTest extends TestCase { @AndroidIncompatible // problem with suite builders on Android public static Test suite() { TestSuite suite = new TestSuite();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FakeTickerTest.java
import java.util.concurrent.TimeUnit; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link FakeTicker}. * * @author Jige Yu */ @GwtCompatible(emulated = true) public class FakeTickerTest extends TestCase { @GwtIncompatible // NullPointerTester public void testNullPointerExceptions() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 06 14:40:46 GMT 2024 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeParameterTest.java
import com.google.common.testing.NullPointerTester; import java.lang.reflect.Method; import java.lang.reflect.TypeVariable; import junit.framework.TestCase; /** * Unit test for {@link TypeParameter}. * * @author Ben Yu */ public class TypeParameterTest extends TestCase { public <T> void testCaptureTypeParameter() throws Exception { TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable; TypeVariable<?> expected =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 1.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import junit.framework.TestCase; /** * Tests for {@link AbstractIdleService}. * * @author Chris Nokleberg * @author Ben Yu */ public class AbstractIdleServiceTest extends TestCase { public void testStart() { TestService service = new TestService(); assertEquals(0, service.startUpCalled); service.startAsync().awaitRunning();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 7.5K bytes - Viewed (0)