Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 204 for interactiva (0.16 sec)

  1. src/test/java/jcifs/smb/WinErrorTest.java

        }
    
        // Simple collaborator to demonstrate interaction verification with Mockito
        interface Handler {
            void handle(int code, String message);
        }
    
        @Mock
        Handler handler;
    
        @Test
        @DisplayName("Interaction: handler called with each code/message pair")
        void interaction_with_mock_handler_is_as_expected() {
            // Interaction test: simulate passing each code/message to a collaborator
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image01.png">
    
    /// check | Verifique
    Novamente, apenas com a mesma declaração de tipo do Python, o **FastAPI** fornece documentação automática e interativa (integrando o Swagger UI).
    
    Observe que o parâmetro de path está declarado como um inteiro.
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/first-steps.md

    ```console
    $ fastapi dev main.py
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    ## Check it { #check-it }
    
    Go to the interactive docs at: <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    You will see something like this:
    
    <img src="/img/tutorial/security/image01.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbConstantsTest.java

            assertEquals(0x80, SmbConstants.FLAGS_RESPONSE);
        }
    
        /**
         * Test interaction with SmbTransport using Mockito.
         * This demonstrates mocking capabilities for testing.
         */
        @Test
        @DisplayName("Mock interaction example with SmbTransport")
        void mockTransportInteraction() {
            // Create a mock of SmbTransport from jcifs package
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeInternalTest.java

    import jcifs.internal.Request;
    
    /**
     * Tests for SmbTreeInternal interface behavior via mocks.
     * Since this is an interface, we validate its public API contract
     * through interaction testing and generic type usage.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbTreeInternalTest {
    
        @Mock
        private SmbTreeInternal tree;
    
        @Mock
        private CIFSContext context;
    
        @Mock
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-operation-configuration.md

    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    Ela será usada nas documentações interativas:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    ## Descrição da resposta { #response-description }
    
    Você pode especificar a descrição da resposta com o parâmetro `response_description`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnup/package-info.java

     *
     * <p>Key features include:</p>
     * <ul>
     *   <li>Project upgrade capabilities</li>
     *   <li>Dependency version management</li>
     *   <li>Configuration migration</li>
     *   <li>Interactive upgrade workflows</li>
     * </ul>
     *
     * @see org.apache.maven.api.cli.Tools#MVNUP_CMD
     * @see org.apache.maven.api.cli.Tools#MVNUP_NAME
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/FileEntryTest.java

    /**
     * Unit tests for {@link FileEntry}. The interface itself has no
     * implementation, so the tests exercise the contract via Mockito mocks.
     * Each method is exercised for normal inputs, extreme or edge cases, and
     * interaction verification.
     */
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.times;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            Supplier<String> supplier = mock(Supplier.class);
            when(supplier.get()).thenThrow(new RuntimeException(new SmbUnsupportedOperationException("boom")));
    
            // Act & Assert: the exception is propagated and interaction recorded once
            RuntimeException thrown = assertThrows(RuntimeException.class, supplier::get);
            assertInstanceOf(SmbUnsupportedOperationException.class, thrown.getCause());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                    result.projectSettingsPath = shellContext.projectSettingsPath;
                    result.userSettingsPath = shellContext.userSettingsPath;
                    result.interactive = shellContext.interactive;
                    result.localRepositoryPath = shellContext.localRepositoryPath;
                    result.effectiveSettings = shellContext.effectiveSettings;
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top