Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 966 for Fail (0.02 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial002_an.py

                pytest.fail(
                    "did not raise WebSocketDisconnect on __enter__"
                )  # pragma: no cover
    
    
    def test_websocket_invalid_data():
        client = TestClient(app)
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/items/foo/ws?q=bar&token=some-token"):
                pytest.fail(
                    "did not raise WebSocketDisconnect on __enter__"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. docs/iam/policies/pbac-tests.sh

    	exit 1
    fi
    
    mc cp /etc/issue myminio1/multi-key-poc | grep -q "Insufficient permissions to access this path"
    ret=$?
    if [ $ret -eq 0 ]; then
    	echo "BUG: PutObject to bucket: multi-key-poc without sse-kms should fail. Succedded"
    	exit 1
    fi
    
    mc cp /etc/hosts myminio1/multi-key-poc/hosts --enc-kms "myminio1/multi-key-poc/hosts=minio-default-key"
    ret=$?
    if [ $ret -ne 0 ]; then
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

       * message passed to a later invocation of {@code fail()}, like "setCount should throw
       * UnsupportedOperationException."
       */
      abstract void setCountNoCheckReturnValue(E element, int count);
    
      private void assertSetCountIncreasingFailure(E element, int count) {
        try {
          setCountNoCheckReturnValue(element, count);
          fail("a call to multiset.setCount() to increase an element's count should throw");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/SmbComNTCreateAndX.java

         * Creates a new file or supersedes the existing one
         */
    
        static final int FILE_SUPERSEDE = 0x0;
    
        /*
         * Open the file or fail if it does not exist
         * aka OPEN_EXISTING
         */
    
        static final int FILE_OPEN = 0x1;
    
        /*
         * Create the file or fail if it does not exist
         * aka CREATE_NEW
         */
    
        static final int FILE_CREATE = 0x2;
    
        /*
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            };
        waiter.start();
        awaitTimedWaiting(waiter);
        service.shutdown();
        Uninterruptibles.joinUninterruptibly(waiter, 10, SECONDS);
        if (waiter.isAlive()) {
          waiter.interrupt();
          fail("awaitTermination failed to trigger after shutdown()");
        }
      }
    
      /** Wait for the given thread to reach the {@link State#TIMED_WAITING} thread state. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

    import org.junit.Test;
    import org.junit.runner.RunWith;
    import javax.net.ssl.SSLHandshakeException;
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    /**
     * Let's Encrypt expiring root test.
     *
     * Read https://community.letsencrypt.org/t/mobile-client-workarounds-for-isrg-issue/137807
     * for background.
     */
    @RunWith(AndroidJUnit4.class)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Nov 17 07:40:31 UTC 2020
    - 6.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractorTest.java

                zipExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            zipExtractor.setMaxContentSize(-1);
        }
    
        public void test_getText_null() {
            try {
                zipExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import okhttp3.testing.PlatformRule.Companion.LOOM_PROPERTY
    import okhttp3.testing.PlatformRule.Companion.getPlatformSystemProperty
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.extension.AfterEachCallback
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/smb/SmbClientTest.java

                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("smb://localhost/test.txt");
                fail();
            } catch (CrawlingAccessException e) {
                assertTrue(e.getCause() instanceof InterruptedException);
            }
        }
    
        public void test_doHead_accessTimeoutTarget() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/HostSpecifierTest.java

      }
    
      private void assertBad(String spec) {
        try {
          HostSpecifier.fromValid(spec);
          fail("Should have thrown IllegalArgumentException: " + spec);
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          HostSpecifier.from(spec);
          fail("Should have thrown ParseException: " + spec);
        } catch (ParseException expected) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Feb 18 15:33:20 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top