Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for caret (0.02 sec)

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

       * exercise null handling fail on those subcollections.
       */
      public abstract static class NullsBefore implements Comparator<@Nullable String>, Serializable {
        /*
         * We don't serialize this class in GWT, so we don't care about whether GWT will serialize this
         * field.
         */
        @GwtTransient private final String justAfterNull;
    
        protected NullsBefore(String justAfterNull) {
          if (justAfterNull == null) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

          Class<?> cls;
          try {
            cls = classInfo.load();
          } catch (NoClassDefFoundError e) {
            // In case there were linking problems, this is probably not a class we care to test anyway.
            logger.log(Level.SEVERE, "Cannot load class " + classInfo + ", skipping...", e);
            continue;
          }
          if (!cls.isInterface()) {
            classes.add(cls);
          }
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        this.allowsNullKeys = allowsNullKeys;
        this.allowsNullValues = allowsNullValues;
        this.supportsIteratorRemove = supportsIteratorRemove;
      }
    
      /**
       * Used by tests that require a map, but don't care whether it's populated or not.
       *
       * @return a new map instance.
       */
      protected Map<K, V> makeEitherMap() {
        try {
          return makePopulatedMap();
        } catch (UnsupportedOperationException e) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java

        assertEquals(distinct, getMultiset().elementSet().size());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemove_occurrences_unsupported_absent() {
        // notice: we don't care whether it succeeds, or fails with UOE
        try {
          assertEquals(
              "multiset.remove(absent, 2) didn't return 0 or throw an exception",
              0,
              getMultiset().remove(e3(), 2));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      }
    
      public void testCheckElementIndex_badSize() {
        try {
          Preconditions.checkElementIndex(1, -1);
          fail();
        } catch (IllegalArgumentException expected) {
          // don't care what the message text is, as this is an invalid usage of
          // the Preconditions class, unlike all the other exceptions it throws
        }
      }
    
      public void testCheckElementIndex_negative() {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Feb 09 15:49:48 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top