Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 718 for correcta (0.06 sec)

  1. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

                    "Should throw exception for ACE count > 4096");
        }
    
        @Test
        @DisplayName("Test getType returns correct value")
        void testGetType() throws SMBProtocolDecodingException {
            // Prepare buffer with specific type value
            testBuffer[0] = 0x01; // revision
            testBuffer[1] = 0x00; // padding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

        public void test_constructor() {
            // Test constructor initializes fields correctly
            LdapUser user = new LdapUser(testEnv, "username");
            assertEquals("username", user.getName());
            assertSame(testEnv, user.getEnvironment());
            assertNull(user.permissions);
        }
    
        public void test_getName() {
            // Test getName returns the correct name
            assertEquals("testuser", ldapUser.getName());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        }
    
        @Test
        @DisplayName("Should return correct cipher ID")
        void testGetCipherId() {
            // When
            int cipherId = encryptionContext.getCipherId();
    
            // Then
            assertEquals(1, cipherId, "Should return the cipher ID set in constructor");
        }
    
        @Test
        @DisplayName("Should return correct dialect version")
        void testGetDialect() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    And open the docs at <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a>.
    
    You will see the automatic API docs, including the paths from all the submodules, using the correct paths (and prefixes) and the correct tags:
    
    <img src="/img/tutorial/bigger-applications/image01.png">
    
    ## Include the same router multiple times with different `prefix` { #include-the-same-router-multiple-times-with-different-prefix }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            Throwable[] suppressed = mainException.getSuppressed();
            assertEquals(1, suppressed.length);
            assertEquals(suppressedException, suppressed[0]);
        }
    
        @Test
        @DisplayName("Should provide correct cause for constructor with cause only")
        void testCauseOnlyConstructorMessage() {
            // Given
            RuntimeException cause = new RuntimeException("Specific cause message");
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            assertArrayEquals(newFileId, actualFileId);
    
            assertEquals(104, bytesWritten); // 40 bytes header + 64 bytes input buffer
        }
    
        @Test
        @DisplayName("Test setFileInfoClass sets correct info type")
        void testSetFileInfoClassSetsCorrectInfoType() {
            request = new Smb2QueryInfoRequest(mockConfig);
    
            // Initially set a different info type
            request.setInfoType((byte) 0x05);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            try {
                int read = sis.read(buffer, 0, 10);
    
                // Should read all 5 available bytes
                assertEquals(5, read);
    
                // Verify correct data
                for (int i = 0; i < 5; i++) {
                    assertEquals(i + 1, buffer[i]);
                }
    
                // Next read will try to read header and should fail
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ACETest.java

    @DisplayName("ACE Interface Comprehensive Tests")
    class ACETest {
    
        @Nested
        @DisplayName("File Access Constants Tests")
        class FileAccessConstantsTests {
    
            @Test
            @DisplayName("Should have correct values for file access constants")
            void shouldHaveCorrectFileAccessConstants() {
                // Basic file operations (bits 0-8)
                assertEquals(0x00000001, ACE.FILE_READ_DATA, "FILE_READ_DATA should be 0x00000001");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            // Call the method to test
            int bytesRead = response.readParameterWordsWireFormat(paramWords, 0);
    
            // Assert that the correct number of bytes were read
            assertEquals(34, bytesRead);
    
            // Assert that the serverData fields are populated correctly
            assertEquals(0, response.dialectIndex);
            assertEquals(0x0F, serverData.securityMode);
            assertEquals(0x01, serverData.security);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcConstantsTest.java

                assertEquals(expectedUuid, actualUuid, "DCERPC_UUID_SYNTAX_NDR should have the correct UUID value");
            }
        }
    
        @Nested
        @DisplayName("Fragment Flag Constants Tests")
        class FragmentFlagTests {
    
            @Test
            @DisplayName("DCERPC_FIRST_FRAG should have correct value")
            void testDcerpcFirstFrag() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top