- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for setScope (1.87 sec)
-
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(); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
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) -
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) -
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)