- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 113 for Yu (0.19 sec)
-
android/guava-tests/test/com/google/common/cache/PackageSanityTests.java
* limitations under the License. */ package com.google.common.cache; import com.google.common.testing.AbstractPackageSanityTests; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { setDefault( CacheLoader.class, new CacheLoader<Object, Object>() { @Override
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.2K bytes - Viewed (0) -
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())
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/PackageSanityTests.java
*/ package com.google.common.collect; import com.google.common.testing.AbstractPackageSanityTests; /** * Covers basic sanity checks for the entire package. * * @author Ben Yu */ public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { publicApiOnly(); // Many package-private classes are tested through the public API.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 21 02:27:51 GMT 2017 - 1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
import static com.google.common.base.Preconditions.checkArgument; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; /** * Captures the actual type of {@code T}. * * @author Ben Yu */ @ElementTypesAreNonnullByDefault abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass();
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Apr 16 21:10:04 GMT 2021 - 1.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/PackageSanityTests.java
import java.lang.reflect.Method; import java.nio.channels.FileChannel.MapMode; import java.nio.charset.CharsetEncoder; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { setDefault(BaseEncoding.class, BaseEncoding.base64()); setDefault(int.class, 32);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.3K 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) -
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 Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 14:40:46 GMT 2024 - 3.5K bytes - Viewed (0) -
android/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 26 12:43:10 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 1.5K 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 Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 1.9K bytes - Viewed (0) -
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 Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 1.9K bytes - Viewed (0)