- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 147 for parameterize (0.1 sec)
-
src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java
/** Constructor */ protected final Constructor<?> constructor; /** Array of constructor parameter types */ protected final Class<?>[] parameterTypes; /** Information about parameterized argument types */ protected final ParameterizedClassDesc[] parameterizedClassDescs; /** * Constructs an instance. * * @param beanDescRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
assertTrue(result.isEmpty(), "List should be cleared"); } // Parameterized test to exercise SMB2 with different recursive and filter values @ParameterizedTest(name = "SMB2 param: recursive={0}, filter={1}") @CsvSource({ "true, 0", "false, -1" }) @DisplayName("watch() SMB2 parameterized branches execute without error") void watch_smb2_parameterized(boolean recursive, int filter) throws Exception {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
private static final String SPNEGO_OID_STR = SpnegoConstants.SPNEGO_MECHANISM; // Helper to build a SPNEGO NegTokenInit as per NegTokenInit#toByteArray but parameterized for tests private static byte[] buildInitToken(ASN1ObjectIdentifier[] mechs, Integer flags, byte[] mechToken, byte[] mic, boolean micInTag4,Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); new DosFileFilter("?", SmbFile.ATTR_DIRECTORY); new DosFileFilter("file.txt", SmbFile.ATTR_READONLY | SmbFile.ATTR_HIDDEN); } /** * Parameterized test for the {@link DosFileFilter#accept(SmbFile)} method. * This test covers various combinations of file attributes and filter attributes * to ensure the bitwise logic is correctly implemented. *
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
tests/test_dependency_class.py
async def get_asynchronous_method_gen_dependency( value: str = Depends(methods_dependency.asynchronous_gen), ): return value client = TestClient(app) @pytest.mark.parametrize( "route,value", [ ("/callable-dependency", "callable-dependency"), ("/callable-gen-dependency", "callable-gen-dependency"), ("/async-callable-dependency", "async-callable-dependency"),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py
def get_client(request: pytest.FixtureRequest) -> TestClient: mod = importlib.import_module( f"docs_src.path_params_numeric_validations.{request.param}" ) return TestClient(mod.app) @pytest.mark.parametrize( "path,expected_response", [ ("/items/1?q=", {"item_id": 1}), ("/items/1000?q=somequery", {"item_id": 1000, "q": "somequery"}), ], )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java
buf.reset(); NdrHyper decoded = new NdrHyper(0); decoded.decode(buf); assertEquals(original, decoded.value, "Decoded value should match encoded value"); } /** * Parameterised test for a selection of edge and typical values. */ @ParameterizedTest(name = "Encode and decode {0}") @ValueSource(longs = { 0L, 1L, -1L, Long.MAX_VALUE, Long.MIN_VALUE })
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
tests/test_security_oauth2_optional.py
"type": "missing", "loc": ["body", "grant_type"], "msg": "Field required", "input": None, } ] } @pytest.mark.parametrize( argnames=["grant_type"], argvalues=[ pytest.param("incorrect", id="incorrect value"), pytest.param("passwordblah", id="password with suffix"),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 8.9K bytes - Viewed (0) -
tests/test_annotated.py
"loc": ["query", "foo"], "msg": "String should have at least 1 character", "type": "string_too_short", "input": "", } ] } @pytest.mark.parametrize( "path,expected_status,expected_response", [ ("/default", 200, {"foo": "foo"}), ("/default?foo=bar", 200, {"foo": "bar"}), ("/required?foo=bar", 200, {"foo": "bar"}),
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/FieldDescImpl.java
protected final Field field; /** The field name */ protected final String fieldName; /** The type of the field */ protected final Class<?> fieldType; /** Information about the parameterized type */ protected final ParameterizedClassDesc parameterizedClassDesc; /** * Constructs an instance. * * @param beanDescRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0)