Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 407 for interaction (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. CODE_OF_CONDUCT.md

    **Community Impact**: A serious violation of community standards, including
    sustained inappropriate behavior.
    
    **Consequence**: A temporary ban from any interaction or public
    communication with the community for a specified period. No public or
    private interaction with the people involved, including unsolicited interaction
    with those enforcing the Code of Conduct, is allowed during this period.
    Violating these terms may lead to a permanent ban.
    
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 17 06:18:13 GMT 2024
    - 5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            // Act: invoke renew()
            CredentialsInternal result = renewable.renew();
    
            // Assert: verify interaction and returned value
            verify(renewable, times(1)).renew();
            assertSame(returned, result, "renew() should return the stubbed value");
    
            // Negative interaction check: no further interactions with the mock
            verifyNoMoreInteractions(renewable);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

         * verifying interaction.
         */
        private class RecordingFilter implements SmbFileFilter {
            private SmbFile lastFile;
            private String lastPath;
    
            @Override
            public boolean accept(SmbFile file) throws SmbException {
                lastFile = file;
                // Actually interact with the file to verify the mock interaction
                if (file != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/RequestParamTest.java

                assertSame(rp, Enum.valueOf(RequestParam.class, rp.name()));
            }
        }
    
        // Interaction: Demonstrate no external interactions occur (no collaborators to call)
        // We use Mockito in a minimal, meaningful way: pass the enum to a mocked consumer and verify interaction.
        interface EnumConsumer {
            void accept(RequestParam rp);
        }
    
        @Mock
        EnumConsumer consumer;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  7. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  8. 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());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

            String out = locator.handleDFSReferral(referral, reqPath);
            assertEquals(resolved, out);
    
            // Verify exact argument interaction
            verify(locator, times(1)).handleDFSReferral(referral, reqPath);
            verifyNoMoreInteractions(locator);
        }
    
        // Edge / invalid: null referral or empty/blank path
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  10. architecture/standards/0005-introduce-core-ui-architecture-module.md

    A downside of this structure is that it is difficult to do focused work on the Gradle UI.
    
    ## Decision
    
    Introduce a "UI" architecture module to the core platform, and move the user interaction services to this new module.
    
    This includes:
    
    - Logging and progress services.
    - Problem generation services (aka the "problems API").
    - User prompting services.
    - Build options infrastructure.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 1.3K bytes
    - Click Count (0)
Back to Top