- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 368 for DisplayName (0.05 sec)
-
src/test/java/jcifs/smb1/util/HexdumpTest.java
import java.io.PrintStream; 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 jcifs.BaseTest; /** * Test class for jcifs.smb1.util.Hexdump utility functionality */ @DisplayName("SMB1 Hexdump Utility Tests") class HexdumpTest extends BaseTest { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K 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/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/smb/SmbTreeConnectionTraceTest.java
} @Test @DisplayName("getTreeId(): no tree returns -1") void getTreeId_noTree_returnsMinusOne() { // Arrange CIFSContext ctx = mock(CIFSContext.class); SmbTreeConnectionTrace trace = new SmbTreeConnectionTrace(ctx); // Act & Assert assertEquals(-1L, trace.getTreeId()); } @Test @DisplayName("getConfig(): delegates to context")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
} @Nested @DisplayName("Header Constants") class HeaderConstants { @Test @DisplayName("SMB2 header length should be 64 bytes") void testSmb2HeaderLength() { assertEquals(64, Smb2Constants.SMB2_HEADER_LENGTH, "SMB2 header must be exactly 64 bytes"); } } @Nested @DisplayName("Negotiation Constants") class NegotiationConstants {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java
return buffer; } } @Nested @DisplayName("Response Tests") class ResponseTests { @Test @DisplayName("Should return null response by default") void testGetResponse() { assertNull(testMessage.getResponse()); } @Test @DisplayName("Should accept response setting") void testSetResponse() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 39.5K 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/internal/smb2/io/Smb2FlushResponseTest.java
} @Test @DisplayName("Constructor should initialize with Configuration") void testConstructor() { // Given & When Smb2FlushResponse flushResponse = new Smb2FlushResponse(mockConfig); // Then assertNotNull(flushResponse); // Cannot test getConfig() as it's protected } @Nested @DisplayName("writeBytesWireFormat tests")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
@BeforeEach void setUp() { bind = new DcerpcBind(); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @Test @DisplayName("Default constructor should create instance with default values") void testDefaultConstructor() { // When DcerpcBind defaultBind = new DcerpcBind(); // ThenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
} @Test @DisplayName("Test getName method") void testGetName() { // Default constructor assertNull(shareInfo.getName()); // With name set SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); assertEquals(TEST_NET_NAME, info.getName()); } @Test @DisplayName("Test getFileIndex always returns 0")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)