Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 271 for ensures (0.07 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

     * Preconditions}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public final class Preconditions {
      private Preconditions() {}
    
      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 10 22:11:00 UTC 2025
    - 53K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    import org.junit.jupiter.api.Test;
    
    class NdrExceptionTest {
    
        /**
         * Test the constructor with a message.
         * Ensures that the exception is created with the correct message.
         */
        @Test
        void testConstructorWithMessage() {
            String testMessage = "This is a test message for NdrException.";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ResolverTypeTest.java

        @Test
        void testNumberOfEnumConstants() {
            // Ensure there are exactly 4 resolver types
            assertEquals(4, ResolverType.values().length, "There should be exactly 4 resolver types.");
        }
    
        /**
         * Tests the names of the enum constants.
         */
        @Test
        void testEnumNames() {
            // Verify the names of the enum constants to ensure they are not accidentally changed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        }
    
        @Test
        @DisplayName("Constructor acquires tree connection; getConfig/isConnected delegate")
        void constructorAndSimpleDelegations() {
            // Ensures constructor acquires tree connection and simple delegate methods forward correctly
            // Verify constructor invoked acquire once
            verify(treeConnection, times(1)).acquire();
    
            // getConfig delegates
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/cloud.md

    ## Cloud Providers - Sponsors { #cloud-providers-sponsors }
    
    Some cloud providers ✨ [**sponsor FastAPI**](../help-fastapi.md#sponsor-the-author){.internal-link target=_blank} ✨, this ensures the continued and healthy **development** of FastAPI and its **ecosystem**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 15:19:49 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

        SmbPipeOutputStream getOutput() throws CIFSException;
    
        /**
         * Ensures that the tree connection is established and returns it.
         *
         * @return tree connection
         * @throws CIFSException if an error occurs connecting to the tree
         */
        SmbTreeHandleInternal ensureTreeConnected() throws CIFSException;
    
        /**
         * Ensures that the file handle is open and returns it.
         *
         * @return file handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Act
            String actual = blob.toString();
    
            // Assert
            assertEquals(expected, actual, "Hex string should match expected format");
        }
    
        // Ensures a default-constructed blob starts empty and stable across APIs
        @Test
        @DisplayName("Default constructor yields empty state")
        void defaultConstructor_initialState() {
            // Arrange & Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/HandlerTest.java

        }
    
        @Test
        void testOpenConnection_HttpProtocol_ReturnsNtlmHttpURLConnection() throws Exception {
            // This test ensures that for a standard HTTP URL, openConnection wraps the connection
            // in an NtlmHttpURLConnection, using mock handlers to avoid dependency on system handlers.
            setupMockProtocolHandlers();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java

            assertNull(ex.getRootCause(), "Root cause should be null by default");
            assertTrue(ex instanceof SmbException, "Should be an SmbException subtype");
        }
    
        /**
         * Ensures the exception is thrown and captured via assertThrows with the right message.
         */
        @Test
        void assertThrowsCapturesExceptionAndMessage() {
            // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

     * @author mbechler
     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * Releases this tree handle back to the pool for reuse
         */
        void release();
    
        /**
         * Ensures that DFS referrals have been resolved for this tree
         * @throws SmbException if an SMB-specific error occurs
         * @throws CIFSException if a general CIFS error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top