Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 793 for correcta (0.11 seconds)

  1. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. 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 }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Then
            assertNotNull(resp);
            assertTrue(resp instanceof ServerMessageBlock2Response);
            assertTrue(resp instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should return correct OVERHEAD constant value")
        void testOverheadConstant() {
            // Then
            assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 16, Smb2ReadResponse.OVERHEAD);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  4. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. 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() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  6. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 44.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            assertNotNull("Indices list should not be null", indices);
            assertEquals("Should find exactly one index", 1, indices.size());
            assertEquals("Should return correct index name", indexName, indices.get(0));
    
            // Cleanup
            client.admin().indices().prepareDelete(indexName).execute().actionGet();
            suggester.shutdown();
        }
    
        /**
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

            }
        }
    
        @Nested
        @DisplayName("Target Information Generation Tests")
        class TargetInformationTests {
    
            @Test
            @DisplayName("makeTargetInfo should generate correct structure with domain and host")
            void testMakeTargetInfo_DomainAndHost() throws IOException {
                // Given
                CIFSContext mockContext = createMockContext();
    
                // When/Then
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/SmbPipeResourceTest.java

    class SmbPipeResourceTest {
    
        /**
         * Test if the PIPE_TYPE_RDONLY constant has the correct value.
         */
        @Test
        void testPipeTypeRdonly() {
            assertEquals(SmbConstants.O_RDONLY, SmbPipeResource.PIPE_TYPE_RDONLY, "PIPE_TYPE_RDONLY should match SmbConstants.O_RDONLY");
        }
    
        /**
         * Test if the PIPE_TYPE_WRONLY constant has the correct value.
         */
        @Test
        void testPipeTypeWronly() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  10. 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");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top