Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for type_value (0.04 sec)

  1. tests/test_openapi_schema_type.py

    
    @pytest.mark.parametrize(
        "type_value",
        [
            "array",
            ["string", "null"],
            None,
        ],
    )
    def test_allowed_schema_type(
        type_value: Optional[Union[SchemaType, list[SchemaType]]],
    ) -> None:
        """Test that Schema accepts SchemaType, List[SchemaType] and None for type field."""
        schema = Schema(type=type_value)
        assert schema.type == type_value
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 730 bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype");
            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(request);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0.");
    
            Field flagsField = DcerpcMessage.class.getDeclaredField("flags");
            flagsField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then - Use reflection to verify protected field
            Field ptypeField = DcerpcMessage.class.getDeclaredField("ptype");
            ptypeField.setAccessible(true);
            int ptypeValue = (int) ptypeField.get(msrpcSamrConnect2);
            assertEquals(0, ptypeValue, "The 'ptype' field should be initialized to 0");
        }
    
        @Test
        @DisplayName("Should set flags to DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
Back to top