Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 250 for cpovirk (1 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

        assertEquals(2, ictim.size());
    
        assertEquals(0, (int) ictim.getInstance(Integer.class));
        assertEquals(1, (int) ictim.getInstance(int.class));
      }
    
      @SuppressWarnings("rawtypes") // TODO(cpovirk): Can we at least use Class<?> in some places?
      abstract static class TestClassToInstanceMapGenerator implements TestMapGenerator<Class, Impl> {
    
        @Override
        public Class<?>[] createKeyArray(int length) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/testing/CollectorTester.java

       * inputs, regardless of how the elements are divided.
       */
      @SafeVarargs
      @CanIgnoreReturnValue
      @SuppressWarnings("nullness") // TODO(cpovirk): Remove after we fix whatever the bug is.
      public final CollectorTester<T, A, R> expectCollects(R expectedResult, T... inputs) {
        List<T> list = Arrays.asList(inputs);
        doExpectCollects(expectedResult, list);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu May 15 21:47:56 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class NetworkEquivalenceTest {
      private static final Integer N1 = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class NetworkEquivalenceTest {
      private static final Integer N1 = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/JdkFutureAdapters.java

                  } catch (Throwable t) {
                    // (including CancellationException and sneaky checked exception)
                    // The task is presumably done, run the listeners.
                    // TODO(cpovirk): Do *something* in case of Error (and maybe
                    // non-CancellationException, non-ExecutionException exceptions)?
                  }
                  executionList.execute();
                });
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. guava/pom.xml

                  <placement>X</placement>
                </tag>
                <tag>
                  <name>spec</name>
                  <placement>X</placement>
                </tag>
              </tags>
    
              <!-- TODO(cpovirk): Move this to the parent after making the package-list files available there. -->
              <!-- We add the link ourselves so that we can choose Java 25 over the version that -source suggests. -->
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 21:36:50 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

    import junit.framework.TestSuite;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Collection tests on wrappers from {@link Multisets}.
     *
     * @author Jared Levy
     */
    @GwtIncompatible // suite // TODO(cpovirk): set up collect/gwt/suites version
    @NullUnmarked
    @AndroidIncompatible // test-suite builders
    public class MultisetsCollectionTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class GraphEquivalenceTest {
      private static final Integer N1 = 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        ListenableFuture<String> f =
            new SimpleForwardingListenableFuture<String>(immediateFuture("a")) {};
        verify(!(f instanceof FluentFuture));
        assertThat(FluentFuture.from(f).get()).isEqualTo("a");
        // TODO(cpovirk): Test forwarding more extensively.
      }
    
      public void testAddCallback() {
        FluentFuture<String> f = FluentFuture.from(immediateFuture("a"));
        boolean[] called = new boolean[1];
        f.addCallback(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

         * initial thread's.
         */
        Set<Throwable> seenExceptionsLocal = seenExceptionsField;
        if (seenExceptionsLocal == null) {
          // TODO(cpovirk): Should we use a simpler (presumably cheaper) data structure?
          /*
           * Using weak references here could let us release exceptions earlier, but:
           *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
Back to Top