Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,147 for example2 (0.04 sec)

  1. tests/test_response_model_data_filter.py

        response = client.post(
            "/users", json={"email": "johndoe@example.com", "password": "secret"}
        )
        assert response.json() == {"email": "johndoe@example.com"}
    
    
    def test_filter_second_level_model():
        response = client.get("/pets/1")
        assert response.json() == {
            "name": "Nibbler",
            "owner": {"email": "johndoe@example.com"},
        }
    
    
    def test_list_of_models():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImplTest.java

            result1.setUrl("https://example.com/page1");
            result1.setMethod("GET");
            result1.setParentUrl("https://example.com");
            result1.setLastModified(123456789L);
            accessResultMap.put("https://example.com/page1", result1);
    
            AccessResultImpl<Long> result2 = new AccessResultImpl<>();
            result2.setUrl("https://example.com/page2");
            result2.setMethod("POST");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/builder/RequestDataBuilderTest.java

            RequestData data1 = RequestDataBuilder.newRequestData().get().url("https://example.com/get").weight(1.0f).build();
    
            assertEquals(Method.GET, data1.getMethod());
            assertEquals("https://example.com/get", data1.getUrl());
    
            RequestData data2 = RequestDataBuilder.newRequestData().post().url("https://example.com/post").weight(2.0f).build();
    
            assertEquals(Method.POST, data2.getMethod());
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                        <modelVersion>4.0.0</modelVersion>
                        <parent>
                            <groupId>com.example</groupId>
                            <artifactId>parent-project</artifactId>
                            <version>1.0.0</version>
                        </parent>
                        <groupId>com.example.child</groupId>
                        <artifactId>child-project</artifactId>
                        <version>2.0.0</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

      @Test
      fun curlGet() {
        val request =
          Request
            .Builder()
            .url("https://example.com")
            .header("Authorization", "Bearer abc123")
            .build()
    
        val curl = request.toCurl()
        assertThat(curl)
          .isEqualTo(
            """
            |curl 'https://example.com/' \
            |  -H 'Authorization: Bearer abc123'
            """.trimMargin(),
          )
      }
    
      @Test
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

            assertNotNull(Curl.get("https://secure.example.com/path?param=value"));
            assertNotNull(Curl.post("http://api.example.com/v1/resource"));
            assertNotNull(Curl.put("ftp://files.example.com/upload"));
            assertNotNull(Curl.delete("http://localhost:8080/delete"));
            assertNotNull(Curl.head("https://cdn.example.com/assets/file.js"));
            assertNotNull(Curl.options("http://cors.example.com/api"));
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. fess-crawler/src/test/resources/sitemaps/sitemap1.xml

       <url>
          <loc>http://www.example.com/</loc>
          <lastmod>2005-01-01</lastmod>
          <changefreq>monthly</changefreq>
          <priority>0.8</priority>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii</loc>
          <changefreq>weekly</changefreq>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=73&amp;desc=vacation_new_zealand</loc>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 915 bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals("http://example.com:8080/path/file", HcHttpClient.constructRedirectLocation("http://example.com:8080/path/", "file"));
            assertEquals("http://example.com/%E3%83%86%E3%82%B9%E3%83%88",
                    HcHttpClient.constructRedirectLocation("http://example.com/", "ใƒ†ใ‚นใƒˆ"));
            assertEquals("http://example.com/hello%20world", HcHttpClient.constructRedirectLocation("http://example.com/", "hello world"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java

            method.invoke(crawlerThread, "http://example.com/child", "http://example.com/", 1.0f, 2);
    
            verify(urlQueueService, times(1)).offerAll(anyString(), any());
        }
    
        /**
         * Test storeChildUrl with depth exceeding maxDepth.
         */
        public void test_storeChildUrl_exceedsMaxDepth() throws Exception {
            when(urlFilter.match("http://example.com/child")).thenReturn(true);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                        .parent("com.example", "parent-project", "1.0.0")
                        .artifactId("module-a")
                        .build();
    
                String moduleBPomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
                    <project xmlns="http://maven.apache.org/POM/4.1.0">
                        <parent>
                            <groupId>com.example</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top