Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Bass (0.32 sec)

  1. android/guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/escape/testing/EscaperAsserts.java

        // Assert that escapers throw null pointer exceptions.
        try {
          escaper.escape((String) null);
          Assert.fail("exception not thrown when escaping a null string");
        } catch (NullPointerException e) {
          // pass
        }
      }
    
      /**
       * Asserts that an escaper escapes the given character into the expected string.
       *
       * @param escaper the non-null escaper to test
       * @param expected the expected output string
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * verify() method, which is called after each sequence and is guaranteed to be called
     * using the latest values obtained from {@link IteratorTester#newTargetIterator()}.
     *
     * <p>The value you pass to the parameter {@code steps} should be greater than the length of your
     * iterator, so that this class can check that your iterator behaves correctly when it is exhausted.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        Map<K, V> delegateMap = Maps.newHashMapWithExpectedSize(n);
        // If duplicates are allowed, this map will track the last value for each duplicated key.
        // A second pass will retain only the first entry for that key, but with this last value. The
        // value will then be replaced by null, signaling that later entries with the same key should
        // be deleted.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/net/PercentEscaperTest.java

      public void testBadArguments_null() {
        try {
          new PercentEscaper(null, false);
          fail("Expected null pointer exception for null parameter");
        } catch (NullPointerException expected) {
          // pass
        }
      }
    
      /**
       * Tests that specifying any alphanumeric characters as 'safe' causes an {@link
       * IllegalArgumentException}.
       */
      public void testBadArguments_badchars() {
        String msg =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       * interrupting thread to complete the protocol.
       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

       * interrupting thread to complete the protocol.
       */
      /*
       * This test hangs (or maybe is just *very* slow) under Android.
       *
       * TODO(b/218700094): Ideally, get this to pass under Android. Failing that, convince ourselves
       * that the test isn't exposing a real problem with InterruptibleTask, one that could matter in
       * prod.
       */
      @AndroidIncompatible
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

        synchronized (collection) { // to allow Collections.synchronized* tests to pass
          Helpers.assertEqualIgnoringOrder(
              getSampleElements(), Arrays.asList(collection.stream().toArray()));
        }
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testStreamToArrayKnownOrder() {
        synchronized (collection) { // to allow Collections.synchronized* tests to pass
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 09 20:10:38 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheLoader.java

        return new FunctionToCacheLoader<>(function);
      }
    
      /**
       * Returns a cache loader based on an <i>existing</i> supplier instance. Note that there's no need
       * to create a <i>new</i> supplier just to pass it in here; just subclass {@code CacheLoader} and
       * implement {@link #load load} instead.
       *
       * <p>The returned object is serializable if {@code supplier} is serializable.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 19 20:20:14 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /**
       * Wrapper for {@link Map#get(Object)} that forces the caller to pass in a key of the same type as
       * the map. Besides being slightly shorter than code that uses {@link #getMap()}, it also ensures
       * that callers don't pass an {@link Entry} by mistake.
       */
      protected V get(K key) {
        return getMap().get(key);
      }
    
      protected final K k0() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top