Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for focus (0.06 sec)

  1. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *}
    
    It declares an optional query parameter `q` as a `str`, and then it just returns it.
    
    This is quite simple (not very useful), but will help us focus on how the sub-dependencies work.
    
    ## Second dependency, "dependable" and "dependant" { #second-dependency-dependable-and-dependant }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for the {@link AllocInfo} interface.
     * Since {@code AllocInfo} only declares getters, the tests focus on
     * verifying that implementations honour the contract.
     */
    @ExtendWith(MockitoExtension.class)
    public class AllocInfoTest {
    
        @Mock
        AllocInfo mockAllocInfo;
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    ## First Steps { #first-steps }
    
    Let's see a very simple example. It will be so simple that it is not very useful, for now.
    
    But this way we can focus on how the **Dependency Injection** system works.
    
    ### Create a dependency, or "dependable" { #create-a-dependency-or-dependable }
    
    Let's first focus on the dependency.
    
    It is just a function that can take all the same parameters that a *path operation function* can take:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java

        void close_doesNothing() throws Exception {
            // Arrange
            SmbPipeOutputStream out = newStream();
            // constructor already calls handle.getPipe(); clear interactions to focus on close()
            clearInvocations(handle);
    
            // Act
            out.close();
    
            // Assert
            verifyNoInteractions(handle);
        }
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/WinErrorTest.java

    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    import org.mockito.Mockito;
    
    /**
     * Tests for {@link WinError} interface constants and static arrays.
     * The interface has no instance methods, so the tests focus on
     * value correctness and array integrity.  A tiny Mockito example
     * demonstrates that the interface can be mocked if another class
     * depends on it.
     */
    public class WinErrorTest {
    
        @Nested
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // For 100% coverage, we'd need to ensure the superclass constructor is indeed called with these values.
            // However, given the current structure, testing the fields set by MsrpcEnumerateAliasesInDomain itself is the primary focus.
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/interval/impl/AbstractIntervalController.java

     * Provides a common structure for handling delays at different stages of the crawling process.
     * It encapsulates the delay logic and exception handling, allowing subclasses to focus on
     * defining the specific delay behavior for each stage.
     *
     * <p>
     * This class defines the contract for delaying the crawling process at various points, such as:
     * </p>
     * <ul>
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

    import org.junit.jupiter.api.DisplayName;
    import org.junit.jupiter.api.Nested;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for {@link SmbFileFilter}. The filter interface is small; the
     * tests focus on the contract that implementations should honour and the
     * interaction with {@link SmbFile} instances. The tests make heavy use of
     * Mockito to guarantee that implementation classes do not inadvertently
     * bypass the filter logic.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

    import org.mockito.Mock;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    import jcifs.Configuration;
    
    /**
     * Tests for {@link SmbComSetInformationResponse}.
     *
     * Tests focus on the wire format methods which all return 0,
     * and the toString method implementation.
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("SmbComSetInformationResponse tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java

            }
        }
    
        // Note: This test is simplified because complex Tomcat Context mocking
        // is difficult to maintain due to frequent API changes.
        // The focus is on testing the class structure and basic functionality
        // that can be verified without full integration testing.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top