Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2241 - 2250 of 3,919 for Rtest (0.02 seconds)

  1. tests/test_annotated.py

    def test_nested_router():
        app = FastAPI()
    
        router = APIRouter(prefix="/nested")
    
        @router.get("/test")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        app.include_router(router)
    
        client = TestClient(app)
    
        response = client.get("/nested/test")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

                return testFileTree.get().matching(filter);
            }
            return null;
        }
    
        /**
         * @param project The project to look for test Java resources.
         * @return An Optional that contains the Java test SourceSet if it exists.
         */
        public static Optional<SourceSet> getJavaTestSourceSet(Project project) {
            return project.getExtensions().findByName("java") == null
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/RouteFailureTest.kt

          "ConnectStart",
          "ConnectEnd",
          "ConnectionAcquired",
          "ConnectionReleased",
        )
      }
    
      @Test
      fun proxyMoveTest(cleanClose: Boolean = true) {
        // Define a single Proxy at myproxy:8008 that will artificially move during the test
        val proxySelector = RecordingProxySelector()
        val socketAddress = InetSocketAddress.createUnresolved("myproxy", 8008)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Jan 10 15:25:06 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. docs/uk/docs/how-to/custom-docs-ui-assets.md

    ///
    
    ### Створіть операцію шляху для перевірки { #create-a-path-operation-to-test-it }
    
    Тепер, щоб перевірити, що все працює, створіть *операцію шляху*:
    
    {* ../../docs_src/custom_docs_ui/tutorial001_py310.py hl[36:38] *}
    
    ### Перевірте { #test-it }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/UserTests.java

     */
    package org.codelibs.fess.it.admin;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.codelibs.fess.it.CrudTestBase;
    import org.junit.jupiter.api.Tag;
    import org.junit.jupiter.api.Test;
    
    @Tag("it")
    public class UserTests extends CrudTestBase {
    
        private static final String NAME_PREFIX = "userTest_";
        private static final String API_PATH = "/api/admin/user";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

    import com.fasterxml.jackson.module.kotlin.registerKotlinModule
    import java.io.File
    
    val ignoredSubprojects =
        listOf(
            "soak", // soak test
            "distributions-integ-tests", // build distribution testing
            "architecture-test", // sanity check
        )
    
    interface GradleSubprojectProvider {
        val subprojects: List<GradleSubproject>
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. .github/workflows/build-reusable.yml

            required: true
            type: string
          tfci:
            description: 'TFCI environment variable'
            required: true
            type: string
    
    permissions:
      contents: read
    
    jobs:
      build-and-test:
        runs-on: ${{ inputs.runner }}
        env:
          PIP_NO_CACHE_DIR: 1
        defaults:
          run:
            shell: bash
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        before.assertRun();
        after.assertRun();
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullListener() {
        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testNullExecutor() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
        testProp.load(new StringReader(props));
    
        result = Maps.fromProperties(testProp);
        assertEquals(4, result.size());
        assertThat(result.get("first")).isEqualTo("true");
        assertThat(result.get("test")).isEqualTo("");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 63.2K bytes
    - Click Count (0)
  10. internal/bucket/lifecycle/lifecycle_test.go

    		t.Run(fmt.Sprintf("Test %d", i+1), func(t *testing.T) {
    			lc, err := ParseLifecycleConfig(bytes.NewReader([]byte(tc.inputConfig)))
    			if err != tc.expectedParsingErr {
    				t.Fatalf("%d: Expected %v during parsing but got %v", i+1, tc.expectedParsingErr, err)
    			}
    			if tc.expectedParsingErr != nil {
    				// We already expect a parsing error,
    				// no need to continue this test.
    				return
    			}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 55.5K bytes
    - Click Count (0)
Back to Top