Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 165 for could (6.99 sec)

  1. guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

          fail();
        } catch (NullPointerException expected) {
        }
    
        /*
         * In principle, a Multimap implementation could add e3 first before failing on the null. But
         * that seems unlikely enough to be worth complicating the test over, especially if there's any
         * chance that a permissive test could mask a bug.
         */
        expectUnchanged();
        // Be extra thorough in case internal state was corrupted by the expected null.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/EnumBiMap.java

      /*
       * J2CL's EnumMap does not need the Class instance, so we can use Object.class instead. (Or we
       * could use null, but that messes with our nullness checking, including under J2KT. We could
       * probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more
       * trouble than just using Object.class.)
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       suite()} method with {@code Suppress}. Would {@code FooTest} itself be suppressed, too?
     *   <li>In at least one case, a use of {@code sun.misc.FpUtils}, the test will not even
     *       <i>compile</i> against Android. Now, this might be an artifact of our build system, one
     *       that we could probably work around. Or we could manually strip the test from open-source
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Jul 07 15:40:13 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableSetNavigationTester.java

       * FeatureSpecificTestSuiteBuilder.suppressing()}.
       */
      /*
       * TODO(cpovirk): or we could make HOLES_FORBIDDEN a feature. Or we could declare that
       * implementations are permitted to throw IAE if a hole is requested, and we could update
       * test*Hole to permit IAE. (But might this ignore genuine bugs?) But see the TODO above
       * testLower, which could make this all unnecessary
       */
      public static Method[] getHoleMethods() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

       * insists upon doing. It then runs the test, which behaves exactly like this package's existing
       * PackageSanityTests. (The test would run on the JVM, too, if not for the suppression below, and
       * that would be a problem because it violates small-test rules. Note that we strip the
       * suppression externally, but it's OK because we don't enforce test-size rules there.)
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 11 21:37:55 GMT 2019
    - 5.3K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

        expected.addAll(index, elements);
        expectContents(expected);
      }
    
      /*
       * TODO: if we're testing a list, we could check indexOf(). (Doing it in
       * AbstractListTester isn't enough because many tests that run on lists don't
       * extends AbstractListTester.) We could also iterate over all elements to
       * verify absence
       */
      protected void expectMissing(E... elements) {
        for (E element : elements) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      protected Map<TypeToken<? extends B>, B> delegate() {
        return delegate;
      }
    
      @SuppressWarnings("unchecked") // value could not get in if not a T
      @CheckForNull
      private <T extends B> T trustedGet(TypeToken<T> type) {
        return (T) delegate.get(type);
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 20:46:24 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

     * the beginning, thanks to using different `-source -target` values for compiling our `-jre` and
     * `-android` "flavors.")
     *
     * (We could consider releasing a listenablefuture:1.0.1 someday. But we would want to look into how
     * that affects users, especially users of the Android Gradle Plugin, since the plugin developers
     * put in a special hack for us: https://issuetracker.google.com/issues/131431257)
     */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
Back to top