Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 345 for Devlin (0.16 sec)

  1. guava-testlib/src/com/google/common/collect/testing/DerivedComparable.java

     */
    
    package com.google.common.collect.testing;
    
    import com.google.common.annotations.GwtCompatible;
    
    /**
     * Simple derived class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class DerivedComparable extends BaseComparable {
      public DerivedComparable(String s) {
        super(s);
      }
    
      private static final long serialVersionUID = 0;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri May 11 18:08:12 GMT 2012
    - 989 bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import java.util.Collection;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.List;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Creates sets, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> {
      @Override
      List<E> create(Object... elements);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/collect/testing/OpenJdk6Tests.java

    /**
     * Suite of tests for OpenJdk 6 tests. The existence of this class is a hack because the
     * suitebuilder won't pick up the suites directly in the other classes because they don't extend
     * TestCase. Ergh.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6Tests extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTest(OpenJdk6SetTests.suite());
        suite.addTest(OpenJdk6ListTests.suite());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.3K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MinimalCollectionTest.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.util.Collection;
    import junit.framework.Test;
    import junit.framework.TestCase;
    
    /**
     * Unit test for {@link MinimalCollection}.
     *
     * @author Kevin Bourrillion
     */
    public class MinimalCollectionTest extends TestCase {
      public static Test suite() {
        return CollectionTestSuiteBuilder.using(
                new TestStringCollectionGenerator() {
                  @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6QueueTests.java

    import java.util.List;
    import java.util.Queue;
    import junit.framework.Test;
    
    /**
     * Tests the {@link Queue} implementations of {@link java.util}, suppressing tests that trip known
     * OpenJDK 6 bugs.
     *
     * @author Kevin Bourrillion
     */
    public class OpenJdk6QueueTests extends TestsForQueuesInJavaUtil {
      public static Test suite() {
        return new OpenJdk6QueueTests().allTests();
      }
    
      private static final List<Method> PQ_SUPPRESS =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.5K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/PowerSetBenchmark.java

    import com.google.caliper.BeforeExperiment;
    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Set;
    
    /**
     * Very simple powerSet iteration benchmark.
     *
     * @author Kevin Bourrillion
     */
    public class PowerSetBenchmark {
      @Param({"2", "4", "8", "16"})
      int elements;
    
      Set<Set<Integer>> powerSet;
    
      @BeforeExperiment
      void setUp() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIsEmptyTester.java

    /**
     * A generic JUnit test which tests {@code isEmpty()} operations on a collection. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class CollectionIsEmptyTester<E> extends AbstractCollectionTester<E> {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    
    /**
     * TODO: javadoc.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestStringListGenerator implements TestListGenerator<String> {
      @Override
      public SampleElements<String> samples() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.SampleElements.Chars;
    import java.util.List;
    
    /**
     * Generates {@code List<Character>} instances for test suites.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestCharacterListGenerator implements TestListGenerator<Character> {
      @Override
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
Back to top