Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 187 of 187 for AssertionError (0.05 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

            case WILL_CLOSE:
            case CLOSING:
            case CLOSED:
              throw new IllegalStateException("Cannot call finishToFuture() twice");
    
            case OPEN:
              throw new AssertionError();
          }
        }
        return future;
      }
    
      /**
       * Marks this step as the last step in the {@code ClosingFuture} pipeline. When this step is done,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 97.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public Set<Entry<K, V>> entries() {
          return map.entrySet();
        }
    
        @Override
        Collection<Entry<K, V>> createEntries() {
          throw new AssertionError("unreachable");
        }
    
        @Override
        Multiset<K> createKeys() {
          return new Multimaps.Keys<K, V>(this);
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multimaps.java

        }
    
        @Override
        public Set<Entry<K, V>> entries() {
          return map.entrySet();
        }
    
        @Override
        Collection<Entry<K, V>> createEntries() {
          throw new AssertionError("unreachable");
        }
    
        @Override
        Multiset<K> createKeys() {
          return new Multimaps.Keys<K, V>(this);
        }
    
        @Override
        Iterator<Entry<K, V>> entryIterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ClosingFuture.java

            case WILL_CLOSE:
            case CLOSING:
            case CLOSED:
              throw new IllegalStateException("Cannot call finishToFuture() twice");
    
            case OPEN:
              throw new AssertionError();
          }
        }
        return future;
      }
    
      /**
       * Marks this step as the last step in the {@code ClosingFuture} pipeline. When this step is done,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 23 15:26:56 UTC 2025
    - 98.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        // Confirm the interceptor isn't exercised.
        client =
          client
            .newBuilder()
            .addNetworkInterceptor(Interceptor { chain: Interceptor.Chain? -> throw AssertionError() })
            .build()
        assertThat(get(url).body.string()).isEqualTo("A")
      }
    
      @Test
      fun iterateCache() {
        // Put some responses in the cache.
        server.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

            responses.offer(response!!.body.string())
            try {
              latch.await()
            } catch (e: InterruptedException) {
              throw AssertionError()
            }
            response.request
          }
        val blockingAuthClient =
          client
            .newBuilder()
            .authenticator(authenticator)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

                }
    
                override fun connectFailed(
                  uri: URI,
                  address: SocketAddress,
                  failure: IOException,
                ): Unit = throw AssertionError()
              },
            ).build()
        server2.enqueue(
          MockResponse(body = "This is the 2nd server!"),
        )
        server.enqueue(
          MockResponse(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top