- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 292 for display_name (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java
} @Test @DisplayName("getResponse before initResponse returns null") void getResponseInitiallyNull() { SmbComNTCreateAndX req = createRequest(0, 0); assertNull(req.getResponse(), "Before init, response is null"); } @Test @DisplayName("toString representation contains expected fields") void toStringContainsKeyData() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/ConfigurationTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for Configuration interface functionality */ @DisplayName("Configuration Interface Tests") class ConfigurationTest extends BaseTest { @Mock private Configuration mockConfig; @Test @DisplayName("Should define all configuration methods")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/util/MimeMapTest.java
} } @Nested @DisplayName("Constructor and initialization") class ConstructorTests { @Test @DisplayName("Should create MimeMap instance successfully") void testConstructor() { assertDoesNotThrow(() -> new MimeMap()); } @Test @DisplayName("Should load mime.map resource properly")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Test class for SecurityInfo interface constants */ class SecurityInfoTest { @Test @DisplayName("Test OWNER_SECURITY_INFO constant value") void testOwnerSecurityInfo() { assertEquals(0x1, SecurityInfo.OWNER_SECURITY_INFO); } @Test @DisplayName("Test GROUP_SECURITY_INFO constant value")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/CIFSContextTest.java
import java.net.URLStreamHandler; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock; /** * Test class for CIFSContext interface functionality */ @DisplayName("CIFSContext Tests") class CIFSContextTest extends BaseTest { @Mock private CIFSContext mockContext; @Test @DisplayName("Should define interface methods") void testCIFSContextInterface() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
when(mockData.getDomain()).thenReturn("DOMAIN"); return (DfsReferralDataImpl) base.combine(mockData); } @Nested @DisplayName("Interface Method Contract Tests") class InterfaceMethodTests { @Test @DisplayName("Should fixup host with FQDN") void testFixupHost() { String fqdn = "server.example.com"; // Test with mock
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/test/java/jcifs/NetbiosNameTest.java
import static org.mockito.Mockito.when; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; /** * Test class for NetbiosName interface functionality */ @DisplayName("NetbiosName Tests") class NetbiosNameTest extends BaseTest { @MockCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/util/transport/TransportTest.java
} } @BeforeEach void setUp() { transport = new TestableTransport(); } @Nested @DisplayName("Static utility method tests") class StaticMethodTests { @Test @DisplayName("readn should read specified number of bytes") void shouldReadSpecifiedBytes() throws IOException { byte[] data = "Hello World Test".getBytes();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
}); } @Test @DisplayName("getPipeType and getPipe delegate to SmbNamedPipe") void pipeType_and_getPipe() { when(pipe.getPipeType()).thenReturn(12345); SmbPipeHandleImpl handle = new SmbPipeHandleImpl(pipe); assertEquals(12345, handle.getPipeType()); assertSame(pipe, handle.getPipe()); } @Test @DisplayName("isOpen/isStale reflect handle validity and lifecycle")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeTest.java
} @Test @DisplayName("Constructor with null pipe name should handle gracefully") void testConstructorWithNullPipeName() { // Act transWaitNamedPipe = new TransWaitNamedPipe(mockConfig, null); // Assert assertNotNull(transWaitNamedPipe); assertNull(transWaitNamedPipe.name); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.8K bytes - Click Count (0)