Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 423 for corretto (0.06 sec)

  1. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        List<String> expectedEvents = new ArrayList<>();
        expectedEvents.add(EVENT);
        expectedEvents.add(EVENT);
    
        assertEquals("Two correct events should be delivered.", expectedEvents, catcher1.getEvents());
    
        assertEquals(
            "One correct event should be delivered.", Lists.newArrayList(EVENT), catcher2.getEvents());
    
        bus.unregister(catcher1);
        bus.post(EVENT);
    
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. docs/es/docs/advanced/response-cookies.md

    /// tip | Consejo
    
    Ten en cuenta que si devuelves un response directamente en lugar de usar el parámetro `Response`, FastAPI lo devolverá directamente.
    
    Así que tendrás que asegurarte de que tus datos son del tipo correcto. Por ejemplo, que sea compatible con JSON, si estás devolviendo un `JSONResponse`.
    
    Y también que no estés enviando ningún dato que debería haber sido filtrado por un `response_model`.
    
    ///
    
    ### Más información
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            assertEquals(32, derived1.length, "Derived key should have correct length");
            assertEquals(32, derived2.length, "Derived key should have correct length");
            assertEquals(32, derived3.length, "Derived key should have correct length");
    
            assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            long expectedValue = 123456789012345L;
            NdrHyper ndrHyper = new NdrHyper(expectedValue);
            assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value.");
        }
    
        @Test
        void testEncode() throws NdrException {
            // Test the encode method
            long testValue = 987654321098765L;
            NdrHyper ndrHyper = new NdrHyper(testValue);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/AddressTest.java

    class AddressTest extends BaseTest {
    
        @Mock
        private CIFSContext mockContext;
    
        @Mock
        private Address mockAddress;
    
        @Test
        @DisplayName("Address interface should define correct method signatures")
        void testInterfaceContract() {
            // Given
            Address address = mockAddress;
    
            // When & Then - verify interface methods exist and can be called
            assertDoesNotThrow(() -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbConnectionTest.java

     * Tests the batch limit configuration for various SMB commands.
     */
    public class SmbConnectionTest {
    
        /**
         * Test that getBatchLimit returns correct values for different commands
         */
        @Test
        @DisplayName("getBatchLimit returns correct values for different SMB commands")
        public void testBatchLimitForDifferentCommands() throws CIFSException {
            Properties props = new Properties();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial007.py hl[5:6] *}
    
    /// tip | Consejo
    
    Puedes usar funciones `async` o regulares.
    
    **FastAPI** hará lo correcto con cada una, igual que con dependencias normales.
    
    ///
    
    ## Una dependencia con `yield` y `try`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

        class InterfaceConstantsTests {
    
            @Test
            @DisplayName("Should have correct SMB_INFO_ALLOCATION constant value")
            void testSmbInfoAllocationConstant() {
                assertEquals((byte) -1, FileSystemInformation.SMB_INFO_ALLOCATION);
            }
    
            @Test
            @DisplayName("Should have correct FS_SIZE_INFO constant value")
            void testFsSizeInfoConstant() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/ResponseTest.java

            verify(mockResponse, times(1)).getErrorCode();
        }
    
        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
            long mid = 54321L;
            when(mockResponse.getMid()).thenReturn(mid);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top