Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for parameterize (0.1 sec)

  1. tests/test_request_params/test_header/test_optional_list.py

            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
        "path",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. tests/test_request_params/test_query/test_list.py

        p: list[str]
    
    
    @app.get("/model-required-list-str")
    def read_model_required_list_str(p: Annotated[QueryModelRequiredListStr, Query()]):
        return {"p": p.p}
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-str", "/model-required-list-str"],
    )
    def test_required_list_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/beans/ConstructorDesc.java

         *
         * @param index
         *            The index of the parameter
         * @return The key type if the parameter type is a parameterized {@link Map}, otherwise {@literal null}
         */
        Class<?> getKeyClassOfMap(int index);
    
        /**
         * Returns the value type if the parameter type of the method is a parameterized {@link Map}.
         *
         * @param index
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/beans/FieldDesc.java

         * Returns the element type if this field is a parameterized {@link Collection}.
         *
         * @return the element type if this field is a parameterized {@link Collection}, otherwise {@literal null}
         */
        Class<?> getElementClassOfCollection();
    
        /**
         * Returns the key type if this field is a parameterized {@link Map}.
         *
         * @return the key type if this field is a parameterized {@link Map}, otherwise {@literal null}
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/MethodUtil.java

        }
    
        /**
         * Returns the element type of the parameterized collection declared as the method's argument type.
         *
         * @param method
         *            The method. Cannot be {@literal null}
         * @param position
         *            The position of the parameterized collection in the method's argument list
         * @return The element type of the parameterized collection
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/FieldUtil.java

            assertArgumentNotNull("field", field);
    
            return Modifier.isFinal(field.getModifiers());
        }
    
        /**
         * Returns the element type of a parameterized collection field.
         *
         * @param field a field of a parameterized collection type (must not be {@literal null})
         * @return the element type of the collection
         */
        public static Class<?> getElementTypeOfCollection(final Field field) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class StandardImmutableUndirectedGraphTest
        extends AbstractStandardUndirectedGraphTest {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    import org.jspecify.annotations.NullUnmarked;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class GraphEquivalenceTest {
      private static final Integer N1 = 1;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java

    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class StandardImmutableDirectedGraphTest extends AbstractStandardDirectedGraphTest {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

    import java.util.Collection;
    import org.jspecify.annotations.NullUnmarked;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    @NullUnmarked
    public final class StandardImmutableUndirectedGraphTest
        extends AbstractStandardUndirectedGraphTest {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top