Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 507 for correta (0.34 sec)

  1. src/test/java/jcifs/http/NtlmHttpServletRequestTest.java

        }
    
        /**
         * Test method for {@link NtlmHttpServletRequest#getUserPrincipal()}.
         * Verifies that the method returns the correct principal object.
         */
        @Test
        void testGetUserPrincipal() {
            // Act: Call the method under test
            Principal actualPrincipal = ntlmRequest.getUserPrincipal();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java

            }
    
            @Test
            @DisplayName("Should return correct pathConsumed value")
            void testGetPathConsumed() {
                assertEquals(50, buffer.getPathConsumed()); // 100 / 2
            }
    
            @Test
            @DisplayName("Should return correct numReferrals value")
            void testGetNumReferrals() {
                assertEquals(3, buffer.getNumReferrals());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/SmbNegotiationTest.java

            assertSame(testRequestBuffer, requestBuffer);
    
            // Verify multiple calls return the same instance
            assertSame(requestBuffer, negotiation.getRequestRaw());
    
            // Verify content is correct
            assertArrayEquals(new byte[] { 0x01, 0x02, 0x03, 0x04 }, requestBuffer);
        }
    
        @Test
        @DisplayName("getResponseRaw should return the same response buffer")
        void testGetResponseRaw() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. 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`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            result = response.readParametersWireFormat(smallBuffer, 0, -1);
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test command type is correct")
        void testCommandType() {
            // Verify that the command is not set in constructor (defaults to 0)
            assertEquals(0, response.getCommand());
    
            // Verify we can change the subcommand
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/curl/CurlTest.java

        }
    
        @Test
        public void test_AllHttpMethodFactories() {
            // ## Test that all factory methods create requests with correct methods ##
    
            // ## Act & Assert ##
            assertEquals(Method.GET, Curl.get("http://test.com").method());
            assertEquals(Method.POST, Curl.post("http://test.com").method());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertNull(context.getCiphers());
            }
        }
    
        @Nested
        @DisplayName("Context Type Tests")
        class ContextTypeTests {
    
            @Test
            @DisplayName("Should return correct context type")
            void testGetContextType() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            recordNameField.setAccessible(true);
            assertNotNull(recordNameField.get(response));
    
            // Verify macAddress is initialized with correct size
            Field macAddressField = NodeStatusResponse.class.getDeclaredField("macAddress");
            macAddressField.setAccessible(true);
            byte[] macAddress = (byte[]) macAddressField.get(response);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            NdrLong ndrLong = new NdrLong(testValue);
    
            // Call the encode method
            ndrLong.encode(mockNdrBuffer);
    
            // Verify that enc_ndr_long was called exactly once with the correct value
            verify(mockNdrBuffer, times(1)).enc_ndr_long(testValue);
            // Verify that no other interactions occurred with the mock buffer
            verifyNoMoreInteractions(mockNdrBuffer);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. .github/ISSUE_TEMPLATE/bug_report.yaml

        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Example
          description: >
            Please provide a [Short, Self Contained, Correct (Compilable), Example](http://sscce.org/)
            demonstrating the bug.
          render: java
        validations:
          required: true
    
      - type: textarea
        attributes:
          label: Expected Behavior
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 16 20:08:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top