- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 385 for displayName (0.04 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
} @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Should create response with default values") void testConstructor() { SrvCopyChunkCopyResponse copyResponse = new SrvCopyChunkCopyResponse(); assertNotNull(copyResponse); } @Test @DisplayName("Should initialize chunksWritten to zero")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (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")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
// Set up index field for derive operations mockDeferredBuffer.index = 0; } @Nested @DisplayName("Protocol Information Tests") class ProtocolInfoTests { @Test @DisplayName("Should return correct syntax string") void testGetSyntax() { // When/Then: Verify the protocol syntax identifierRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (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")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (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() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (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
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java
} @Test @DisplayName("Test constructor initialization with config only") void testConstructorWithConfigOnly() { TestSmbComTransactionResponse resp = new TestSmbComTransactionResponse(mockConfig); assertNotNull(resp); assertEquals(0, resp.getSubCommand()); } @Test @DisplayName("Test constructor initialization with command and subcommand")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.4K bytes - Viewed (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 { @MockRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
} @Test @DisplayName("Test initProtocolVersions with strings") void testInitProtocolVersionsWithStrings() { config.initProtocolVersions("SMB202", "SMB311"); assertEquals(DialectVersion.SMB202, config.getMinimumVersion()); assertEquals(DialectVersion.SMB311, config.getMaximumVersion()); } @Test @DisplayName("Test initProtocolVersions with null/empty strings")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (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();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0)