Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 79 for Cooper (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
        // Create input and output
        SettableFuture<String> future1 = SettableFuture.create();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
      public void testTestEqualsEmptyLists() {
        equalsTester.addEqualityGroup(reference);
        equalsTester.testEquals();
      }
    
      /**
       * Test EqualsTester after populating equalObjects. This checks proper handling of equality and
       * verifies hashCode for valid objects
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/SerializableTester.java

    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
     * {@code SerializableTester} calls with other, GWT-compatible tests.
     *
     * @author Mike Bostock
     * @since 10.0
     */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/TearDownAccepter.java

     * @since 10.0
     */
    @DoNotMock("Implement with a lambda")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDownAccepter {
      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

        return collection;
      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected void resetCollection() {
        resetContainer();
      }
    
      /** @return an array of the proper size with {@code null} inserted into the middle element. */
      protected E[] createArrayWithNullElement() {
        E[] array = createSamplesArray();
        array[getNullLocation()] = null;
        return array;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            i = inc(i);
          }
          return false;
        } finally {
          monitor.leave();
        }
      }
    
      /**
       * Returns an array containing all of the elements in this queue, in proper sequence.
       *
       * <p>The returned array will be "safe" in that no references to it are maintained by this queue.
       * (In other words, this method must allocate a new array). The caller is thus free to modify the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

            // Note: here, type decides is artifact added to "build path" (for example during resolution)
            // and "build path" is intermediate data that is used to create actual Java classpath/modulepath
            // but to create those, proper filtering should happen via Type properties.
        }
    
        @Override
        public void addHandlers(Map<String, ArtifactHandler> handlers) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/repository/MirrorProcessorTest.java

            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "file:///somepath")));
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "file://D:/somepath")));
    
            // not a proper url so returns false;
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "192.168.101.1")));
            assertFalse(DefaultMirrorSelector.isExternalRepo(getRepo("foo", "")));
        }
    
        @Test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/InternetDomainName.java

       * co.uk} or {@code pvt.k12.wy.us}. Examples of domain names that are <i>not</i> public suffixes
       * include {@code google.com}, {@code foo.co.uk}, and {@code myblog.blogspot.com}.
       *
       * <p>Public suffixes are a proper superset of {@linkplain #isRegistrySuffix() registry suffixes}.
       * The list of public suffixes additionally contains privately owned domain names under which
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 05 20:47:23 GMT 2024
    - 28K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                    PlexusConfiguration config = XmlPlexusConfiguration.toPlexusConfiguration(dom);
                    configProps.put("aether.transport.wagon.config." + server.getId(), config);
    
                    // Translate to proper resolver configuration properties as well (as Plexus XML above is Wagon specific
                    // only) but support only configuration/httpConfiguration/all, see
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
Back to top