Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 550 for correctos (0.04 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            assertEquals(2, entries.length, "The number of entries should be correct.");
    
            // The getEntries method returns FileEntry objects. We can check their names.
            assertEquals("\\domain\share1", entries[0].getName(), "The name of the first share should be correct.");
            assertEquals("\\domain\share2", entries[1].getName(), "The name of the second share should be correct.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcEnumerateAliasesInDomainTest.java

            // Although we cannot directly verify the super constructor call with Mockito for a real class,
            // we can infer its correct behavior if the object is successfully constructed and its own fields are correct.
            // The super constructor is called with (domainHandle, 0, acct_flags, null, 0)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2NegotiateResponse);
        }
    
        @Test
        @DisplayName("Should calculate size correctly without contexts")
        void testSizeWithoutContexts() {
            // Given
            when(mockConfig.getMaximumVersion()).thenReturn(DialectVersion.SMB302);
            request = new Smb2NegotiateRequest(mockConfig, 0);
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. docs/en/docs/deployment/versions.md

    ## Pin your `fastapi` version { #pin-your-fastapi-version }
    
    The first thing you should do is to "pin" the version of **FastAPI** you are using to the specific latest version that you know works correctly for your application.
    
    For example, let's say you are using version `0.112.0` in your app.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

                return size;
            }
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
            @DisplayName("Interface should be correctly implemented by mock")
            void testInterfaceImplementation() {
                CreateContextRequest request = mock(CreateContextRequest.class);
                assertNotNull(request);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        @Test
        @DisplayName("Should create correct response")
        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
     * <p>This test must be outside the c.g.c.eventbus package to test correctly.
     *
     * @author Louis Wasserman
     */
    abstract class AbstractEventBusTest<H> extends TestCase {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

        @Test
        @DisplayName("happy: constructor sets command correctly")
        void testConstructorSetsCommand() {
            SmbComClose close = new SmbComClose(1, 12345L);
            assertEquals(SMB_COM_CLOSE, close.command, "command should be SMB_COM_CLOSE after construction");
        }
    
        /**
         * Verify that writeParameterWordsWireFormat writes the file id and the
         * unsigned time correctly.  The last write time is zero which should be
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

            @Test
            @DisplayName("Should calculate size correctly with no data")
            void testSizeWithNoData() {
                request.setData(new byte[0], 0, 0);
                int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 7) / 8) * 8;
                assertEquals(expectedSize, request.size());
            }
    
            @Test
            @DisplayName("Should calculate size correctly with data")
            void testSizeWithData() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            int newFlags = 0x12345678;
    
            leaseContext.setLeaseFlags(newFlags);
            assertEquals(newFlags, leaseContext.getLeaseFlags());
        }
    
        @Test
        @DisplayName("Should encode context correctly")
        void testEncode() {
            byte[] buffer = new byte[leaseContext.size()];
            int encoded = leaseContext.encode(buffer, 0);
    
            assertEquals(leaseContext.size(), encoded);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top