Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setScope (0.31 sec)

  1. src/test/java/jcifs/NetbiosNameTest.java

        }
    
        @Test
        @DisplayName("Should handle getScope() method")
        void testGetScope() {
            // Given
            String testScope = "WORKGROUP";
            when(mockNetbiosName.getScope()).thenReturn(testScope);
    
            // When
            String scope = mockNetbiosName.getScope();
    
            // Then
            assertEquals(testScope, scope);
            verify(mockNetbiosName).getScope();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/NetbiosName.java

         * Returns the NetBIOS name.
         *
         * @return the name
         */
        String getName();
    
        /**
         * Returns the NetBIOS scope identifier.
         *
         * @return the scope id
         */
        String getScope();
    
        /**
         * Returns the NetBIOS name type.
         *
         * @return the name type
         */
        int getNameType();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Name.java

        /**
         * @return the name
         */
        @Override
        public String getName() {
            return this.name;
        }
    
        /**
         * @return scope id
         */
        @Override
        public String getScope() {
            return this.scope;
        }
    
        /**
         *
         * @return the name type
         */
        @Override
        public int getNameType() {
            return this.hexCode;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/lease/DirectoryCacheEntryTest.java

        @Test
        public void testConstructor() {
            assertEquals(directoryPath, entry.getDirectoryPath());
            assertEquals(leaseKey, entry.getLeaseKey());
            assertEquals(DirectoryCacheScope.IMMEDIATE_CHILDREN, entry.getScope());
            assertFalse(entry.isComplete());
            assertFalse(entry.hasChanges());
            assertTrue(entry.getChildren().isEmpty());
        }
    
        @Test
        public void testUpdateChild() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top