Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,194 for fail (0.06 sec)

  1. tests/test_tutorial/test_websockets/test_tutorial002.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: Sun Nov 13 14:26:09 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/curl/CurlTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.curl;
    
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.util.logging.Level;
    import java.util.logging.Logger;
    
    import org.junit.Test;
    
    public class CurlTest {
        private static final Logger logger = Logger.getLogger(CurlTest.class.getName());
    
    Registered: Thu Oct 31 02:32:13 UTC 2024
    - Last Modified: Mon Nov 14 21:05:19 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

                sitemapsHelper.parse(in);
                fail();
            } catch (final CrawlingAccessException e) {
                // NOP
            }
        }
    
        public void test_parseXmlSitemaps_invalid2() {
            final byte[] bytes = "test".getBytes();
            final InputStream in = new ByteArrayInputStream(bytes);
    
            try {
                sitemapsHelper.parse(in);
                fail();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/BackupTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. 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)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            : !iterable.iterator().hasNext();
      }
    
      public static void assertEmpty(Iterable<?> iterable) {
        if (!isEmpty(iterable)) {
          fail("Not true that " + iterable + " is empty");
        }
      }
    
      public static void assertEmpty(Map<?, ?> map) {
        if (!map.isEmpty()) {
          fail("Not true that " + map + " is empty");
        }
      }
    
      public static void assertEqualInOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

        }
    
        public void test_preprocessUri_null() {
            try {
                fsClient.preprocessUri(null);
                fail();
            } catch (final CrawlerSystemException e) {}
            try {
                fsClient.preprocessUri("");
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_doHead_file() throws Exception {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/it/admin/SuggestTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            return ITEM_ENDPOINT_SUFFIX;
        }
    
        @Override
        protected Map<String, Object> createTestParam(int id) {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            fail(); // Unreachable
            return null;
        }
    
        @Override
        protected void testRead() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

        try {
          pseudoTimedGetUninterruptibly(future, 10, MILLISECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
          throw new AssertionError(e);
        }
      }
    
      static void verifyTimedGetOnPendingFuture(Future<?> future) {
        try {
          getUninterruptibly(future, 0, SECONDS);
          fail();
        } catch (TimeoutException expected) {
        } catch (ExecutionException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top