Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 691 for nfail (0.02 sec)

  1. guava-tests/test/com/google/common/io/FlushablesTest.java

          throws IOException {
        try {
          Flushables.flush(flushable, swallowException);
          if (expectThrown) {
            fail("Didn't throw exception.");
          }
        } catch (IOException e) {
          if (!expectThrown) {
            fail("Threw exception");
          }
        }
        verify(flushable).flush();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

        SettableFuture<String> future = SettableFuture.create();
        Thread.currentThread().interrupt();
        try {
          getChecked(future, TwoArgConstructorException.class);
          fail();
        } catch (TwoArgConstructorException expected) {
          assertThat(expected).hasCauseThat().isInstanceOf(InterruptedException.class);
          assertTrue(Thread.currentThread().isInterrupted());
        } finally {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. helm/minio/templates/_helper_create_user.txt

    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
      ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
      set +e ; # The connections to minio are allowed to fail.
      echo "Connecting to MinIO server: $SCHEME://$MINIO_ENDPOINT:$MINIO_PORT" ;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

    import static com.google.common.base.Preconditions.checkNotNull;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.NANOSECONDS;
    import static junit.framework.Assert.fail;
    
    import com.google.common.testing.TearDown;
    import com.google.common.testing.TearDownAccepter;
    import java.util.concurrent.TimeUnit;
    import java.util.logging.Logger;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

              assertGoodTesterAnnotation(asAnnotation(containedClass));
            } else {
              fail(
                  rootLocaleFormat(
                      "Feature enum %s contains a class named "
                          + "'Require' but it is not an annotation.",
                      featureEnumClass));
            }
            return;
          }
        }
        fail(
            rootLocaleFormat(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_websockets/test_tutorial002_an_py39.py

                pytest.fail(
                    "did not raise WebSocketDisconnect on __enter__"
                )  # pragma: no cover
    
    
    @needs_py39
    def test_websocket_invalid_data(app: FastAPI):
        client = TestClient(app)
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"):
                pytest.fail(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertDone(future);
        assertThat(future.isCancelled()).isFalse();
    
        try {
          getDone(future);
          fail();
        } catch (ExecutionException e) {
          assertThat(e.getCause()).isSameInstanceAs(expectedException);
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException e) {
          assertThat(e).hasCauseThat().isSameInstanceAs(expectedException);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              val description = StringDescription()
              versionMatcher.describeTo(description)
              description.appendText(" expected to fail with exception that ")
              failureMatcher.describeTo(description)
    
              fail<Any>(description.toString())
            }
          }
        }
    
        fun isConscrypt() = getPlatformSystemProperty() == CONSCRYPT_PROPERTY
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

     * point before or during the second request. It may be closed after client has started sending the
     * request body. If a request body is not retryable then the client may fail the request, making
     * client behavior non-deterministic. Add delays in the client to improve the chances that the
     * server has closed the socket before follow up requests are made.
     */
    @ExperimentalOkHttpApi
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top