Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for sequentially (3.63 sec)

  1. src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java

                assertEquals(24, encoded);
                assertEquals(flags, SMBUtil.readInt4(buffer, 16));
            }
    
            @Test
            @DisplayName("Should encode multiple locks sequentially")
            void testSequentialEncoding() {
                Smb2Lock lock1 = new Smb2Lock(100L, 200L, 1);
                Smb2Lock lock2 = new Smb2Lock(300L, 400L, 2);
                Smb2Lock lock3 = new Smb2Lock(500L, 600L, 4);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            // Read another byte
            assertEquals(2, sis.read());
    
            // 2 bytes should remain
            assertEquals(2, sis.available());
        }
    
        @Test
        @DisplayName("Multiple messages are read sequentially")
        void multipleMessagesAreReadSequentially() throws IOException {
            // Create two messages
            byte[] data1 = new byte[] { 1, 2 };
            byte[] data2 = new byte[] { 3, 4, 5 };
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/FileNotifyInformationTest.java

            void testFileActionRemovedByDelete() {
                assertEquals(0x00000009, FileNotifyInformation.FILE_ACTION_REMOVED_BY_DELETE);
            }
    
            @Test
            @DisplayName("Verify action constants are sequential and unique")
            void testActionConstantsAreUnique() {
                int[] actions = { FileNotifyInformation.FILE_ACTION_ADDED, FileNotifyInformation.FILE_ACTION_REMOVED,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            void testInfoQuota() {
                assertEquals(4, Smb2Constants.SMB2_0_INFO_QUOTA, "Quota info level must be 4");
            }
    
            @Test
            @DisplayName("All info levels should be sequential")
            void testInfoLevelsSequential() {
                assertEquals(Smb2Constants.SMB2_0_INFO_FILE + 1, Smb2Constants.SMB2_0_INFO_FILESYSTEM, "Filesystem should be File + 1");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

            byte[] readFileId = new byte[16];
            System.arraycopy(buffer, 8, readFileId, 0, 16);
            assertArrayEquals(nullFileId, readFileId);
        }
    
        @Test
        @DisplayName("Should handle sequential operations")
        void testSequentialOperations() {
            // Given
            request.setNotifyFlags(0);
            request.setCompletionFilter(0);
    
            // When - first write
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, newResponse.getSubCommand());
        }
    
        @Test
        @DisplayName("Test multiple sequential calls to read/write methods")
        void testMultipleSequentialCalls() {
            byte[] buffer = new byte[200];
    
            // Multiple calls should each return 0
            for (int i = 0; i < 10; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlTest.java

            assertEquals("CONNECT", Method.CONNECT.name());
        }
    
        @Test
        public void test_MethodEnumOrdinal() {
            // ## Test that Method enum ordinal values are sequential ##
    
            // ## Act & Assert ##
            assertEquals(0, Method.GET.ordinal());
            assertEquals(1, Method.POST.ordinal());
            assertEquals(2, Method.PUT.ordinal());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 16.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkTest.java

                // Verify reserved section is zero
                assertEquals(0, SMBUtil.readInt4(buffer, 20));
            }
    
            @Test
            @DisplayName("Should handle multiple sequential encodings")
            void testMultipleSequentialEncodings() {
                // Given
                SrvCopychunk chunk1 = new SrvCopychunk(100, 200, 300);
                SrvCopychunk chunk2 = new SrvCopychunk(400, 500, 600);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/EmptyIteratorTest.java

        }
    
        @Test
        @DisplayName("EmptyIterator should behave consistently across multiple calls")
        void testConsistentBehavior() {
            // When & Then - test multiple sequential calls
            for (int i = 0; i < 10; i++) {
                assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false");
                assertNull(emptyIterator.next(), "next should consistently return null");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

                assertEquals((byte) (i % 256), buffer[i], "Buffer after written data should be unchanged");
            }
        }
    
        @Test
        @DisplayName("Test multiple sequential writes")
        void testMultipleSequentialWrites() {
            trans2QueryFSInfo = new Trans2QueryFSInformation(config, FileSystemInformation.FS_SIZE_INFO);
    
            byte[] buffer = new byte[512];
            int offset = 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top