Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHandleGuidGeneration (0.32 sec)

  1. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.internal.smb2.persistent.HandleGuid;
    
    /**
     * Test class for HandleGuid functionality
     */
    public class HandleGuidTest {
    
        @Test
        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
    
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. docs/smb3-features/02-persistent-handles-design.md

    ### 8.1 Unit Tests
    ```java
    package jcifs.tests.smb3;
    
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class PersistentHandleTest {
        
        @Test
        public void testHandleGuidGeneration() {
            HandleGuid guid1 = new HandleGuid();
            HandleGuid guid2 = new HandleGuid();
            
            assertNotEquals(guid1, guid2);
            assertEquals(16, guid1.toBytes().length);
            
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 31.6K bytes
    - Viewed (0)
Back to top