Search Options

Results per page
Sort
Preferred Languages
Advance

Results 981 - 990 of 1,232 for cannot (0.12 sec)

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

    import java.util.Map;
    import java.util.Map.Entry;
    import junit.framework.AssertionFailedError;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@link Map#computeIfPresent}. Can't be invoked directly; please
     * see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/AndroidIncompatible.java

     *       The generated suite for {@code FooTest} ends up containing {@code FooTest} itself plus some
     *       other tests. We want to exclude the other tests (which Android can't handle) while
     *       continuing to run {@code FooTest} itself. This is exactly what happens with {@code
     *       AndroidIncompatible}. But I'm not sure what would happen if we annotated the {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 07 15:40:13 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        val call = client.newCall(request1)
        assertFailsWith<IllegalStateException> {
          call.execute()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("Timeouts can't be adjusted in a network interceptor")
        }
      }
    
      @Test
      fun networkInterceptorCannotChangeWriteTimeout() {
        addInterceptor(true) { chain: Interceptor.Chain ->
          chain.withWriteTimeout(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    	}
    }
    
    func TestGetRevisionFromPodAnnotation(t *testing.T) {
    	cases := []struct {
    		anno klabels.Set
    
    		expected string
    	}{
    		{
    			anno: klabels.Set{
    				apiannotation.SidecarStatus.Name: "",
    			},
    			expected: "",
    		},
    		{
    			anno:     klabels.Set{},
    			expected: "",
    		},
    		{
    			anno: klabels.Set{
    				apiannotation.SidecarStatus.Name: `
    				{
    					"initContainers": [
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
            } else {
              throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
            }
          }
        }
    
        public static MaxCodePoint valueOf(String userFriendly) {
          return new MaxCodePoint(userFriendly);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/hash/HashStringBenchmark.java

              // Mostly 4-byte UTF-8 sequences - "rare exotic" text
              return Character.MAX_CODE_POINT;
            } else {
              throw new IllegalArgumentException("Can't decode codepoint " + userFriendly);
            }
          }
        }
    
        public static MaxCodePoint valueOf(String userFriendly) {
          return new MaxCodePoint(userFriendly);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code containsValue()} operations on a map. Can't be invoked
     * directly; please see {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
     *
     * @author George van den Driessche
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a set. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.SetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

    import java.util.List;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests creation (typically through a constructor or static factory
     * method) of a set. Can't be invoked directly; please see {@link
     * com.google.common.collect.testing.SetTestSuiteBuilder}.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              public void run() {
                do {
                  // We can't have a GOLDEN_NOT_PRESENT_KEY because false positives are
                  // possible! It's false negatives that can't happen.
                  assertThat(bloomFilter.mightContain(GOLDEN_PRESENT_KEY)).isTrue();
    
                  int key = getNonGoldenRandomKey();
                  // We can't check that the key is mightContain() == false before the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top