Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 574 for correctos (0.05 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                        "Should return correct message for error 1");
                assertEquals("DCERPC_BIND_ERR_PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED", getResultMessageMethod.invoke(null, 2),
                        "Should return correct message for error 2");
                assertEquals("DCERPC_BIND_ERR_LOCAL_LIMIT_EXCEEDED", getResultMessageMethod.invoke(null, 3),
                        "Should return correct message for error 3");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        } finally {
          executor.shutdownNow();
        }
    
        assertTrue(future.isDone());
        assertFalse(future.isCancelled());
      }
    
      /** Tests that the {@link Future#get(long, TimeUnit)} method times out correctly. */
      public void testTimeoutOnGetWorksCorrectly() throws InterruptedException, ExecutionException {
    
        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/ntlmssp/NtlmMessageTest.java

        @Test
        @DisplayName("readULong correctly interprets little endian")
        void testReadULong() {
            byte[] a = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0x04 };
            int result = NtlmMessage.readULong(a, 0);
            assertEquals(0x04030201, result, "ULong should be little‑endian");
        }
    
        @Test
        @DisplayName("readUShort correctly interprets little endian")
        void testReadUShort() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

                return 0;
            }
        }
    
        @Nested
        @DisplayName("Interface Contract Tests")
        class InterfaceContractTests {
    
            @Test
            @DisplayName("Interface should be correctly implemented by mock")
            void testInterfaceImplementation() {
                CreateContextResponse response = mock(CreateContextResponse.class);
                assertNotNull(response);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/MsrpcQueryInformationPolicyTest.java

            // Verify that the super constructor was called with the correct arguments
            // Note: Mockito cannot directly verify super constructor calls.
            // We assume if the object is created, the super constructor was called.
            // We can verify the state of the object after construction.
    
            // Verify ptype and flags are set correctly
            assertEquals(0, policy.getPtype(), "ptype should be 0");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

        @Mock
        private SamrAliasHandle mockAliasHandle;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Should correctly initialize MsrpcSamrOpenAlias with provided parameters")
        void testConstructorInitialization() {
            // Given
            int access = 0x01; // Example access value
            int rid = 123; // Example RID value
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            assertNotNull(response);
            assertTrue(response instanceof SmbComTransactionResponse);
            assertEquals(0, response.getAvailable());
        }
    
        @Test
        @DisplayName("Should verify status constants are correctly defined")
        void testStatusConstants() {
            // Assert
            assertEquals(1, TransPeekNamedPipeResponse.STATUS_DISCONNECTED);
            assertEquals(2, TransPeekNamedPipeResponse.STATUS_LISTENING);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            assertEquals(SmbOperationException.ErrorCategory.NETWORK, exception.getErrorCategory());
            assertTrue(exception.isRetryable());
        }
    
        @Test
        @DisplayName("Should handle retry policy correctly")
        void testRetryPolicy() {
            // Given
            SmbOperationException.RetryPolicy policy = new SmbOperationException.RetryPolicy(3, 1000, 10000, 2.0, true);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NbtExceptionTest.java

    import jcifs.CIFSException;
    
    class NbtExceptionTest {
    
        /**
         * Test the constructor of NbtException.
         * It should correctly set errorClass and errorCode, and the message should be derived from getErrorString.
         */
        @Test
        @DisplayName("NbtException constructor should correctly set error class, error code, and message")
        void testConstructor() {
            int errorClass = NbtException.ERR_NAM_SRVC;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/sub-applications.md

    You will see the automatic API docs for the sub-application, including only its own _path operations_, all under the correct sub-path prefix `/subapi`:
    
    <img src="/img/tutorial/sub-applications/image02.png">
    
    If you try interacting with any of the two user interfaces, they will work correctly, because the browser will be able to talk to each specific app or sub-app.
    
    ### Technical Details: `root_path` { #technical-details-root-path }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top