Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 721 for correcte (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
        }
    
        @Nested
        @DisplayName("Command Constants Tests")
        class CommandConstantsTests {
    
            @Test
            @DisplayName("Should have correct command constants")
            void testCommandConstants() {
                assertEquals(0x00, ServerMessageBlock2.SMB2_NEGOTIATE);
                assertEquals(0x01, ServerMessageBlock2.SMB2_SESSION_SETUP);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  2. 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)
  3. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
            @CsvSource({ "'', 4", "'a', 6", "'\\\\', 8", "'\\\\server', 20", "'\\\\server\\share', 32", "'\\\\server\\share\\path', 42",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. tests/embedded_struct_test.go

    		t.Errorf("No error should happen when find embedded pointer type, but got %v", err)
    	}
    
    	if hnPost.Title != "embedded_pointer_type" {
    		t.Errorf("Should find correct value for embedded pointer type")
    	}
    
    	if hnPost.Author != nil {
    		t.Errorf("Expected to get back a nil Author but got: %v", hnPost.Author)
    	}
    
    	now := time.Now().Round(time.Second)
    	NewPost := HNPost{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed May 08 04:07:58 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                request.writeBytesWireFormat(buffer, startIndex);
    
                // Verify data is at correct position
                for (int i = 0; i < data.length; i++) {
                    assertEquals((byte) 0xAB, buffer[startIndex + 48 + i]);
                }
            }
    
            @Test
            @DisplayName("Should handle partial data buffer correctly")
            void testPartialDataBuffer() {
                byte[] fullData = new byte[200];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertTrue(result.contains("informationLevel=0x101"), "String should contain the correct information level.");
            assertTrue(result.contains("filename=test.txt"), "String should contain the correct filename.");
            assertTrue(result.endsWith("]"), "String should end with a closing bracket.");
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * Test class for FsctlPipeWaitRequest
     */
    class FsctlPipeWaitRequestTest {
    
        @Test
        @DisplayName("Test constructor with name only sets correct fields")
        void testConstructorWithNameOnly() {
            // Test with simple pipe name
            String pipeName = "TestPipe";
            FsctlPipeWaitRequest request = new FsctlPipeWaitRequest(pipeName);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/DosErrorTest.java

            Optional<Integer> noMatch = findNtStatus(0xdeadbeef);
            assertFalse(noMatch.isPresent(), "Mapping for unknown code should be absent");
        }
    
        @Test
        @DisplayName("Mocked consumer receives correct NTSTATUS value")
        void testConsumerInteraction() {
            final int dosErr = 0x00010001;
            final int expectedNt = 0xc0000002;
    
            interface NtStatusConsumer {
                void consume(int ntStatus);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/AllocInfoTest.java

            }
    
            @Test
            @DisplayName("Should define getCapacity method")
            void shouldDefineGetCapacityMethod() throws NoSuchMethodException {
                // Verify method exists with correct signature
                assertNotNull(AllocInfo.class.getMethod("getCapacity"));
                assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType());
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. 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)
Back to top