Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 89 for test_get (0.17 sec)

  1. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              assertFalse(expectRejection);
            } catch (IllegalArgumentException e) {
              assertTrue(expectRejection);
            }
          }
        }
      }
    
      public void testGet() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.indexOf(null), is(0));
            assertThat(map.indexOf("test3"), is(-1));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGet() throws Exception {
            assertThat(map.get("1"), is("test"));
            assertThat(map.get(null), is(nullValue()));
            assertThat(map.get("test3"), is(nullValue()));
            assertThat(map.getAt(0), is(nullValue()));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

              assertFalse(expectRejection);
            } catch (IllegalArgumentException e) {
              assertTrue(expectRejection);
            }
          }
        }
      }
    
      public void testGet() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            if (!range1.isConnected(range2) || range1.intersection(range2).isEmpty()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/es/config/exentity/WebConfigTest.java

            final SetOnce<Map<String, Object>> initParamMapSet = new SetOnce<>();
            WebConfig webConfig = new WebConfig();
            final String userAgent = "TestAgent";
            webConfig.setUserAgent(userAgent);
            webConfig.setConfigParameter("""
                    client.robotsTxtEnabled=false
                    """);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 09:48:04 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

                    .singleton("httpClient", HcHttpClient.class);
            httpClient = container.getComponent("httpClient");
            urlFilter = container.getComponent("urlFilter");
        }
    
        public void test_doGet() {
            final CrawlerWebServer server = new CrawlerWebServer(7070);
            server.start();
    
            final String url = "http://localhost:7070/";
            try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:28:25 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class ListSetTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      @CollectionSize.Require(absent = ZERO)
      public void testSet() {
        doTestSet(e3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/templates.md

    Und da Sie `StaticFiles` verwenden, wird diese CSS-Datei automatisch von Ihrer **FastAPI**-Anwendung unter der URL `/static/styles.css` bereitgestellt.
    
    ## Mehr Details
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/FaultTolerantClientTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * @author shinsuke
     *
     */
    public class FaultTolerantClientTest extends PlainTestCase {
    
        public void test_doGet() {
            final FaultTolerantClient client = new FaultTolerantClient();
            final TestClient testClient = new TestClient();
            final TestListener testListener = new TestListener();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_bigger_applications/test_main.py

        response = client.put("/items/foo", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_put(client: TestClient):
        response = client.put(
            "/items/plumbus?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/storage/StorageClientTest.java

        }
    
        @Override
        protected void tearDown() throws Exception {
            minioServer.stop();
            super.tearDown();
        }
    
        public void test_doGet() throws Exception {
            try (final ResponseData responseData = storageClient.doGet("storage://fess/file1.txt")) {
                assertEquals("storage://fess/file1.txt", responseData.getUrl());
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top