Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for newFileName (2.14 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

            assertTrue(result.contains("newFileName=" + newFileName));
        }
    
        /**
         * Test with null configuration
         */
        @Test
        @DisplayName("Test constructor with null configuration throws NullPointerException")
        public void testConstructorWithNullConfig() {
            // Given
            String oldFileName = "old.txt";
            String newFileName = "new.txt";
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

            trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE);
    
            int newResumeKey = 0x5678;
            String newFilename = "newfile.txt";
    
            trans2FindNext2.reset(newResumeKey, newFilename);
    
            // Verify by writing parameters and checking the buffer
            byte[] buffer = new byte[256];
            int written = trans2FindNext2.writeParametersWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top